Thread: correctly identify libraries for BeOS

correctly identify libraries for BeOS

From
"David Reid"
Date:
This fixes a small problem with identifying -lbind as required for
BeOS.

Index: configure.in
===================================================================
RCS file: /home/projects/pgsql/cvsroot/pgsql/configure.in,v
retrieving revision 1.58
diff -u -u -r1.58 configure.in
--- configure.in        2000/10/10 21:22:20     1.58
+++ configure.in        2000/10/14 16:48:38
@@ -630,7 +630,8 @@
 AC_CHECK_LIB(PW,       main)
 AC_SEARCH_LIBS(crypt,  crypt)
 AC_CHECK_LIB(z,        inflate)
-AC_SEARCH_LIBS(inet_ntoa, bind)
+AC_SEARCH_LIBS(__inet_ntoa, bind)
+

 if test "$with_krb4" = yes ; then
   AC_CHECK_LIB(des, [des_encrypt], [], [AC_MSG_ERROR([library \`des'
is required for Kerberos 4])])

Re: correctly identify libraries for BeOS

From
Peter Eisentraut
Date:
David Reid writes:

> +AC_SEARCH_LIBS(__inet_ntoa, bind)

I don't see the function __inet_ntoa used anywhere.

--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/


Re: correctly identify libraries for BeOS

From
Bruce Momjian
Date:
Applied.

[ Charset ISO-8859-1 unsupported, converting... ]
> This fixes a small problem with identifying -lbind as required for
> BeOS.
>
> Index: configure.in
> ===================================================================
> RCS file: /home/projects/pgsql/cvsroot/pgsql/configure.in,v
> retrieving revision 1.58
> diff -u -u -r1.58 configure.in
> --- configure.in        2000/10/10 21:22:20     1.58
> +++ configure.in        2000/10/14 16:48:38
> @@ -630,7 +630,8 @@
>  AC_CHECK_LIB(PW,       main)
>  AC_SEARCH_LIBS(crypt,  crypt)
>  AC_CHECK_LIB(z,        inflate)
> -AC_SEARCH_LIBS(inet_ntoa, bind)
> +AC_SEARCH_LIBS(__inet_ntoa, bind)
> +
>
>  if test "$with_krb4" = yes ; then
>    AC_CHECK_LIB(des, [des_encrypt], [], [AC_MSG_ERROR([library \`des'
> is required for Kerberos 4])])
>


--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026