autoconf
[Top][All Lists]
Advanced

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

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


From: Stephan A Suerken
Subject: Re: LD_LIBRARY_PATH does not supersede /usr/lib for AC_CHECK_LIB ?
Date: 19 Aug 2004 17:00:19 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Stephan A Suerken <address@hidden> writes:

> GNU assembler version 2.14.90.0.7 (i386-linux) using BFD version 2.14.90.0.7 
> 20031029 Debian GNU/Linux
>  /usr/lib/gcc-lib/i486-linux/3.3.4/collect2 (...) -L/usr/lib -L/usr/lib 
> -Lmy_local_path/.libs (...)

FWIW, this output origins from reconstructing the macro's test compile
manually. The AC_CHECK_LIB macro called g++ like

g++ -v -o conftest -g -O0 test.c -lx (...)  -L/usr/lib (..) -L/usr/lib (...)

> paths. So, is this a bug in the AC_CHECK_LIB macro, or do I have to

So the question more precisely would be: Why does the check add
-L/usr/lib (twice) to the call? Running the check without that works
just fine.

Still thanks ;),

Stephan

Please CC to me, I am not on the list.
-- 
Stephan A Suerken <suerken|address@hidden>

Schlund + Partner AG, Karlsruhe




reply via email to

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