autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to use AC_CHECK_LIB without LDFLAGS?


From: Braden McDaniel
Subject: Re: how to use AC_CHECK_LIB without LDFLAGS?
Date: Fri, 05 Nov 2004 09:14:13 -0500
User-agent: Mozilla Thunderbird 0.9 (Windows/20041103)

Harald Dunkel wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Braden McDaniel wrote:
|
| I don't fully understand the problem you're describing; but perhaps you
| want to do something like this:
|
| save_LDFLAGS="$LDFLAGS"
| LDFLAGS="$LDFLAGS -Lwhatever"
| AC_CHECK_LIB(...)
| LDFLAGS="$save_LDFLAGS"
|

No, what I want to do is something like

AC_CHECK_LIB([my], [anysym], ["-static -L/mylibs -L/plibs"], [], [])

but this doesn't seem to be in the interface.

It looks to me like you could accomplish the same thing with the solution I gave you. What's wrong with it?

Braden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]