Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 850489a

Browse files
committed
Don't pull in libbind except on BeOS, per pgsql-bugs discussion around
12 Jun 2003.
1 parent d6d9653 commit 850489a

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

configure

+3
Original file line numberDiff line numberDiff line change
@@ -5670,6 +5670,8 @@ if test "$ac_cv_search_crypt" != no; then
56705670
fi
56715671

56725672
# BeOS:
5673+
if test "$PORTNAME" = "beos"
5674+
then
56735675

56745676
echo "$as_me:$LINENO: checking for __inet_ntoa in -lbind" >&5
56755677
echo $ECHO_N "checking for __inet_ntoa in -lbind... $ECHO_C" >&6
@@ -5735,6 +5737,7 @@ _ACEOF
57355737

57365738
fi
57375739

5740+
fi
57385741
# Solaris:
57395742
echo "$as_me:$LINENO: checking for library containing fdatasync" >&5
57405743
echo $ECHO_N "checking for library containing fdatasync... $ECHO_C" >&6

configure.in

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

0 commit comments

Comments
 (0)