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

Commit 55c235b

Browse files
committed
Disable -lbsd on alpha.
1 parent ee85fda commit 55c235b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/configure

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1909,7 +1909,7 @@ else
19091909
echo "$ac_t""no" 1>&6
19101910
fi
19111911

1912-
if test "$PORTNAME" != "aix"
1912+
if test "$PORTNAME" != "aix" -a "$PORTNAME" != "alpha"
19131913
then
19141914
echo $ac_n "checking for main in -lbsd""... $ac_c" 1>&6
19151915
echo "configure:1916: checking for main in -lbsd" >&5
@@ -3316,7 +3316,7 @@ else
33163316
fi
33173317
rm -f conftest*
33183318

3319-
if test x$ac_cv_prog_gcc = xyes; then
3319+
if test $ac_cv_prog_gcc = yes; then
33203320
echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
33213321
echo "configure:3322: checking whether ${CC-cc} needs -traditional" >&5
33223322
if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then

src/configure.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
dnl Process this file with autoconf to produce a configure script.
1+
dnl Process this file with autoconf to produce a configure script.
22
AC_INIT(backend/access/common/heaptuple.c)
33
AC_PREFIX_DEFAULT(/usr/local/pgsql)
44

@@ -405,7 +405,7 @@ AC_CHECK_LIB(termcap, main)
405405
AC_CHECK_LIB(history, main)
406406
AC_CHECK_LIB(readline, main)
407407
AC_CHECK_LIB(readline, write_history, AC_DEFINE(HAVE_HISTORY))
408-
if test "$PORTNAME" != "aix"
408+
if test "$PORTNAME" != "aix" -a "$PORTNAME" != "alpha"
409409
then
410410
AC_CHECK_LIB(bsd, main)
411411
fi

0 commit comments

Comments
 (0)