Commit 0e04982e authored by Peter Eisentraut's avatar Peter Eisentraut

First attempt at removing some AC_CHECK_LIB(foo, main) calls.

parent 8b109ebf
This diff is collapsed.
dnl Process this file with autoconf to produce a configure script. dnl Process this file with autoconf to produce a configure script.
dnl $PostgreSQL: pgsql/configure.in,v 1.444 2006/02/03 13:53:15 momjian Exp $ dnl $PostgreSQL: pgsql/configure.in,v 1.445 2006/02/04 00:42:54 petere Exp $
dnl dnl
dnl Developers, please strive to achieve this order: dnl Developers, please strive to achieve this order:
dnl dnl
...@@ -594,15 +594,15 @@ if test "$PORTNAME" != "aix" -a "$PORTNAME" != "alpha" ...@@ -594,15 +594,15 @@ if test "$PORTNAME" != "aix" -a "$PORTNAME" != "alpha"
then then
AC_CHECK_LIB(bsd, main) AC_CHECK_LIB(bsd, main)
fi fi
AC_CHECK_LIB(util, setproctitle) AC_SEARCH_LIBS(setproctitle, util)
AC_CHECK_LIB(m, main) AC_SEARCH_LIBS(pow, m)
AC_CHECK_LIB(dl, main) AC_SEARCH_LIBS(dlopen, dl)
AC_CHECK_LIB(nsl, main) AC_CHECK_LIB(nsl, main)
AC_CHECK_LIB(socket, main) AC_SEARCH_LIBS(socket, [socket wsock32])
AC_CHECK_LIB(ipc, main) AC_CHECK_LIB(ipc, main)
AC_CHECK_LIB(IPC, main) AC_CHECK_LIB(IPC, main)
AC_CHECK_LIB(lc, main) AC_CHECK_LIB(lc, main)
AC_CHECK_LIB(dld, main) AC_SEARCH_LIBS(shl_load, dld)
AC_CHECK_LIB(ld, main) AC_CHECK_LIB(ld, main)
AC_CHECK_LIB(compat, main) AC_CHECK_LIB(compat, main)
AC_CHECK_LIB(BSD, main) AC_CHECK_LIB(BSD, main)
...@@ -612,16 +612,11 @@ AC_CHECK_LIB(resolv, main) ...@@ -612,16 +612,11 @@ AC_CHECK_LIB(resolv, main)
AC_SEARCH_LIBS(getopt_long, [getopt gnugetopt]) AC_SEARCH_LIBS(getopt_long, [getopt gnugetopt])
# QNX: # QNX:
AC_CHECK_LIB(unix, main) AC_CHECK_LIB(unix, main)
AC_SEARCH_LIBS(crypt, crypt) AC_SEARCH_LIBS(crypt, crypt)
# Solaris: # Solaris:
AC_SEARCH_LIBS(fdatasync, [rt posix4]) AC_SEARCH_LIBS(fdatasync, [rt posix4])
# Cygwin: # Cygwin:
AC_CHECK_LIB(cygipc, shmget) AC_SEARCH_LIBS(shmget, cygipc)
# WIN32:
if test "$PORTNAME" = "win32"
then
AC_CHECK_LIB(wsock32, main)
fi
if test "$with_readline" = yes; then if test "$with_readline" = yes; then
PGAC_CHECK_READLINE PGAC_CHECK_READLINE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment