Re: FreeBSD Packages/Port for 7.3beta1... - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: FreeBSD Packages/Port for 7.3beta1...
Date
Msg-id 200209162050.g8GKoZv14660@candle.pha.pa.us
Whole thread Raw
In response to Re: FreeBSD Packages/Port for 7.3beta1...  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
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)

pgsql-hackers by date:

Previous
From: "scott.marlowe"
Date:
Subject: Re: PGXLOG variable worthwhile?
Next
From: Tom Lane
Date:
Subject: Bug: COPY IN doesn't test domain constraints