[PATCH] dbd.m4: use LDFLAGS instead of LIBS is required on Solaris

2006-03-30 Thread Henry Jen
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

Re: [PATCH] dbd.m4: use LDFLAGS instead of LIBS is required on Solaris

2006-03-30 Thread William A. Rowe, Jr.
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

Re: [PATCH] dbd.m4: use LDFLAGS instead of LIBS is required on Solaris

2006-03-30 Thread Garrett Rooney
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 :)