From: Bruce Momjian Date: Fri, 20 Mar 1998 18:47:15 +0000 (+0000) Subject: Disable -lbsd on alpha. X-Git-Tag: REL6_3_2~118 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=55c235b266de1dd37e5091f21a752490d758634a;p=postgresql Disable -lbsd on alpha. --- diff --git a/src/configure b/src/configure index 56d4bf5b19..cb2a5b4871 100755 --- a/src/configure +++ b/src/configure @@ -1909,7 +1909,7 @@ else echo "$ac_t""no" 1>&6 fi -if test "$PORTNAME" != "aix" +if test "$PORTNAME" != "aix" -a "$PORTNAME" != "alpha" then echo $ac_n "checking for main in -lbsd""... $ac_c" 1>&6 echo "configure:1916: checking for main in -lbsd" >&5 @@ -3316,7 +3316,7 @@ else fi rm -f conftest* -if test x$ac_cv_prog_gcc = xyes; then +if test $ac_cv_prog_gcc = yes; then echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 echo "configure:3322: checking whether ${CC-cc} needs -traditional" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then diff --git a/src/configure.in b/src/configure.in index b5233efebb..0804b3a010 100644 --- a/src/configure.in +++ b/src/configure.in @@ -1,4 +1,4 @@ -dnl Process this file with autoconf to produce a configure script. + dnl Process this file with autoconf to produce a configure script. AC_INIT(backend/access/common/heaptuple.c) AC_PREFIX_DEFAULT(/usr/local/pgsql) @@ -405,7 +405,7 @@ AC_CHECK_LIB(termcap, main) AC_CHECK_LIB(history, main) AC_CHECK_LIB(readline, main) AC_CHECK_LIB(readline, write_history, AC_DEFINE(HAVE_HISTORY)) -if test "$PORTNAME" != "aix" +if test "$PORTNAME" != "aix" -a "$PORTNAME" != "alpha" then AC_CHECK_LIB(bsd, main) fi