Hi,
AC_CHECK_LIB is performed as $CC $CFLAGS $LDFLAGS -llib $LIBS conftest.c
With Sun Studio, -L needs to be in front of -l flag, which makes sense
when you need control on which lib to be linked with.
In dbd.m4, using LIBS to define the -L flag, which should really be
LDFLAGS, the attached
Henry Jen wrote:
@@ -40,7 +40,7 @@
apu_have_pgsql=0
else
CPPFLAGS=-I$withval/include
- LIBS=-L$withval/lib
+ LDFLAGS=-L$withval/lib
+1 - this was LIBS abuse - your solution is correct :)
Bill
On 3/30/06, William A. Rowe, Jr. [EMAIL PROTECTED] wrote:
Henry Jen wrote:
@@ -40,7 +40,7 @@
apu_have_pgsql=0
else
CPPFLAGS=-I$withval/include
- LIBS=-L$withval/lib
+ LDFLAGS=-L$withval/lib
+1 - this was LIBS abuse - your solution is correct :)