Peter Eisentraut wrote:
> LDFLAGS+= -L${LOCALBASE}/lib -lgnugetopt
> CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
>
> is redundant. You already put LOCALBASE/lib into --with-libs. Also, if
> you wish, we can automatically check for -lgnugetopt in configure. We
> already do that for other spellings of the same library.
I have applied the following patch to search for gnugetopt to CVS.
Autoconf updated.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
Index: configure.in
===================================================================
RCS file: /cvsroot/pgsql-server/configure.in,v
retrieving revision 1.208
diff -c -c -r1.208 configure.in
*** configure.in 11 Sep 2002 04:27:48 -0000 1.208
--- configure.in 16 Sep 2002 20:08:56 -0000
***************
*** 607,613 ****
AC_CHECK_LIB(gen, main)
AC_CHECK_LIB(PW, main)
AC_CHECK_LIB(resolv, main)
! AC_SEARCH_LIBS(getopt_long, [getopt])
# QNX:
AC_CHECK_LIB([[unix]], main)
AC_SEARCH_LIBS(crypt, crypt)
--- 607,613 ----
AC_CHECK_LIB(gen, main)
AC_CHECK_LIB(PW, main)
AC_CHECK_LIB(resolv, main)
! AC_SEARCH_LIBS(getopt_long, [getopt gnugetopt])
# QNX:
AC_CHECK_LIB([[unix]], main)
AC_SEARCH_LIBS(crypt, crypt)