*** pgsql/configure.in 2004/05/19 21:37:42 1.352 --- pgsql/configure.in 2004/05/19 22:12:30 1.353 *************** *** 1,5 **** dnl Process this file with autoconf to produce a configure script. ! dnl $PostgreSQL: pgsql-server/configure.in,v 1.351 2004/05/18 04:11:29 momjian Exp $ dnl dnl Developers, please strive to achieve this order: dnl --- 1,5 ---- dnl Process this file with autoconf to produce a configure script. ! dnl $PostgreSQL: pgsql-server/configure.in,v 1.352 2004/05/19 21:37:42 momjian Exp $ dnl dnl Developers, please strive to achieve this order: dnl *************** if test "$PORTNAME" != "aix" -a "$PORTNA *** 580,590 **** then AC_CHECK_LIB(bsd, 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) --- 580,599 ---- 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(ipc, main) AC_CHECK_LIB(IPC, main) AC_CHECK_LIB(lc, main) *************** AC_CHECK_LIB(dld, main) *** 592,598 **** 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]) --- 601,606 ----