summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorBruce Momjian2004-05-19 22:36:36 +0000
committerBruce Momjian2004-05-19 22:36:36 +0000
commit4da36853cedaca8a8cdda385d2abcec0e2a4e59d (patch)
tree14f1774e60d48be06e4edc2b1470c6cb260f7473 /configure.in
parent5c1cfb5fc1a4460c22d77366922c81d537173754 (diff)
Revert irix change to suppress configure warnings.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in22
1 files changed, 5 insertions, 17 deletions
diff --git a/configure.in b/configure.in
index 795d76f5366..9d08091dc40 100644
--- a/configure.in
+++ b/configure.in
@@ -1,5 +1,5 @@
dnl Process this file with autoconf to produce a configure script.
-dnl $PostgreSQL: pgsql/configure.in,v 1.353 2004/05/19 22:12:30 momjian Exp $
+dnl $PostgreSQL: pgsql/configure.in,v 1.354 2004/05/19 22:36:36 momjian Exp $
dnl
dnl Developers, please strive to achieve this order:
dnl
@@ -580,20 +580,11 @@ if test "$PORTNAME" != "aix" -a "$PORTNAME" != "alpha"
then
AC_CHECK_LIB(bsd, main)
fi
-# Irix has nsl, socket, gen, and sun in its libc, but also
-# keeps separate libs around for backwords compatibility.
-# Using them creates warnings in config.log. This test quiets that.
-# See also: http://freeware.sgi.com/howto.html
-if test "$PORTNAME" != "irix"
-then
-AC_CHECK_LIB(nsl, main)
-AC_CHECK_LIB(socket, main)
-AC_CHECK_LIB(gen, main)
-fi
-
AC_CHECK_LIB(util, setproctitle)
AC_CHECK_LIB(m, main)
AC_CHECK_LIB(dl, main)
+AC_CHECK_LIB(nsl, main)
+AC_CHECK_LIB(socket, main)
AC_CHECK_LIB(ipc, main)
AC_CHECK_LIB(IPC, main)
AC_CHECK_LIB(lc, main)
@@ -601,6 +592,7 @@ AC_CHECK_LIB(dld, main)
AC_CHECK_LIB(ld, main)
AC_CHECK_LIB(compat, main)
AC_CHECK_LIB(BSD, main)
+AC_CHECK_LIB(gen, main)
AC_CHECK_LIB(PW, main)
AC_CHECK_LIB(resolv, main)
AC_SEARCH_LIBS(getopt_long, [getopt gnugetopt])
@@ -900,11 +892,7 @@ case $host_os in mingw*)
AC_LIBOBJ(copydir)
AC_LIBOBJ(gettimeofday)
AC_LIBOBJ(open)
-AC_LIBOBJ(rand)
-AC_DEFINE(USE_PGTZ, 1,
- [Define to 1 to use our own timezone library])
-USE_PGTZ=yes
-AC_SUBST(USE_PGTZ) ;;
+AC_LIBOBJ(rand) ;;
esac
# Win32 can't to rename or unlink on an open file