autoconf
[Top][All Lists]
Advanced

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

how to use AC_CHECK_LIB without LDFLAGS?


From: Harald Dunkel
Subject: how to use AC_CHECK_LIB without LDFLAGS?
Date: Thu, 04 Nov 2004 21:48:49 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.3) Gecko/20041007 Debian/1.7.3-5

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi folks,

I am new to autoconf and automake, so please excuse if you
heard this too often.


My question is: How can I use AC_CHECK_LIB without setting
a global LDFLAGS?

Using automake I can specify linker flags per program, e.g.

foo_LDFLAGS = -L/somepath/mylibs1
bar_LDFLAGS = -L/someotherpath/mylibs2

But since AC_CHECK_LIB does not allow me to specify linker
flags for the test program except by setting LDFLAGS (AFAIK),
a broken search path for either foo or bar sneaks into my
generated Makefile :-(.


???


Regards

Harri
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org

iD8DBQFBipWxUTlbRTxpHjcRAqmfAKCAAfwsPiyoiKJoTlwnD8oua5c5dQCeLSV1
XCPZMQZRzbVvKoB0imb3ZAI=
=23Ab
-----END PGP SIGNATURE-----




reply via email to

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