aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2003-08-03 20:23:14 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2003-08-03 20:23:14 +0000
commit850489ab7e8ef38dea2ae5e6d39951dbff6f134e (patch)
treec0ed423f051fceaabdb16a528fee68bb7e6b0b61
parentd6d96532a8c81f9dea852f470bb6444430ac0489 (diff)
downloadpostgresql-850489ab7e8ef38dea2ae5e6d39951dbff6f134e.tar.gz
postgresql-850489ab7e8ef38dea2ae5e6d39951dbff6f134e.zip
Don't pull in libbind except on BeOS, per pgsql-bugs discussion around
12 Jun 2003.
-rwxr-xr-xconfigure3
-rw-r--r--configure.in7
2 files changed, 8 insertions, 2 deletions
diff --git a/configure b/configure
index 7f242d49504..7d54d0e2e62 100755
--- a/configure
+++ b/configure
@@ -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
diff --git a/configure.in b/configure.in
index fa40b037f3e..8c13414f203 100644
--- a/configure.in
+++ b/configure.in
@@ -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: