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
_______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf