Don't pull in libbind except on BeOS, per pgsql-bugs discussion around
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 3 Aug 2003 20:23:14 +0000 (20:23 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 3 Aug 2003 20:23:14 +0000 (20:23 +0000)
12 Jun 2003.

configure
configure.in

index 7f242d4950487bada1e37f4e14856481651c75d0..7d54d0e2e6221077dac8c722522f394916dbb53c 100755 (executable)
--- 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
index 7cdfc7b9caf2b7141a2b4e2ebb5aaa6756bcc34f..60450866769576ac7714b4996dbd7995d4e9e4fa 100644 (file)
@@ -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: