Don't pull in libbind except on BeOS, per pgsql-bugs discussion around

12 Jun 2003.
This commit is contained in:
Tom Lane 2003-08-03 20:23:14 +00:00
parent d6d96532a8
commit 850489ab7e
2 changed files with 8 additions and 2 deletions

3
configure vendored
View File

@ -5670,6 +5670,8 @@ if test "$ac_cv_search_crypt" != no; then
fi
# BeOS:
if test "$PORTNAME" = "beos"
then
echo "$as_me:$LINENO: checking for __inet_ntoa in -lbind" >&5
echo $ECHO_N "checking for __inet_ntoa in -lbind... $ECHO_C" >&6
@ -5735,6 +5737,7 @@ _ACEOF
fi
fi
# Solaris:
echo "$as_me:$LINENO: checking for library containing fdatasync" >&5
echo $ECHO_N "checking for library containing fdatasync... $ECHO_C" >&6

View File

@ -1,5 +1,5 @@
dnl Process this file with autoconf to produce a configure script.
dnl $Header: /cvsroot/pgsql/configure.in,v 1.272 2003/08/01 19:12:52 tgl Exp $
dnl $Header: /cvsroot/pgsql/configure.in,v 1.273 2003/08/03 20:23:14 tgl Exp $
dnl
dnl Developers, please strive to achieve this order:
dnl
@ -647,7 +647,10 @@ AC_SEARCH_LIBS(getopt_long, [getopt gnugetopt])
AC_CHECK_LIB(unix, main)
AC_SEARCH_LIBS(crypt, crypt)
# BeOS:
AC_CHECK_LIB(bind, __inet_ntoa)
if test "$PORTNAME" = "beos"
then
AC_CHECK_LIB(bind, __inet_ntoa)
fi
# Solaris:
AC_SEARCH_LIBS(fdatasync, [rt posix4])
# Cygwin: