logo       

Re: LD_LIBRARY_PATH does not supersede /usr/lib for AC_CHECK_LIB ?: msg#00047

sysutils.autoconf.general

Subject: Re: LD_LIBRARY_PATH does not supersede /usr/lib for AC_CHECK_LIB ?

On Thu, 19 Aug 2004, Stephan A Suerken wrote:

Bob Friesenhahn <bfriesen@xxxxxxxxxxxxxxxxxxx> writes:

You should use the LDFLAGS variable with -L options to tell configure
where to search for libraries. Autoconf should not be using
LD_LIBRARY_PATH at all.

Supposing you mean the Makefile.am variable, then this is not an
option. We use LD_LIBRARY_PATH as a "development tool" to be able use
support libraries directly from checked out cvs working
directories. Using a static path in the Makefile.am's just does not
work here.

No, I am not talking about Automake's LDFLAGS variable although the LDFLAGS used by Autoconf is likely to end up there.

Consult the Autoconf documentation. :-)

Not again! ;)

Basically you would use syntax like:

./configure LDFLAGS='-L/foo -L/bar'

Bob
======================================
Bob Friesenhahn
bfriesen@xxxxxxxxxxxxxxxxxxx
http://www.simplesystems.org/users/bfriesen


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise