Re: how to use AC_CHECK_LIB without LDFLAGS?

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

 



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


_______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux