summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-02-15 17:23:10 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-02-15 17:23:10 +0000
commitbba11cdd97cffc72207265f21eed30fad2813d5d (patch)
tree39917964d02ba28fd89f06031dd335bc55b55f35 /configure.in
parent0ad14ebc8d1e4d1f524519ef4584fd293717832a (diff)
downloadpostgresql-bba11cdd97cffc72207265f21eed30fad2813d5d.tar.gz
Since we only use libld on AIX, don't include it in LIBS on any other
platforms (it does exist on HPUX, for one). We could probably even make this a test for specific AIX versions, but I don't know which ones need it.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in9
1 files changed, 7 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index b867b95efe..9322de8cdd 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.448 2006/02/10 11:35:47 petere Exp $
+dnl $PostgreSQL: pgsql/configure.in,v 1.449 2006/02/15 17:23:10 tgl Exp $
dnl
dnl Developers, please strive to achieve this order:
dnl
@@ -595,7 +595,12 @@ AC_SEARCH_LIBS(pow, m)
AC_SEARCH_LIBS(dlopen, dl)
AC_SEARCH_LIBS(socket, [socket wsock32])
AC_SEARCH_LIBS(shl_load, dld)
-AC_SEARCH_LIBS(ldopen, ld)
+# We only use libld in port/dynloader/aix.c
+case $host_os in
+ aix*)
+ AC_SEARCH_LIBS(ldopen, ld)
+ ;;
+esac
AC_SEARCH_LIBS(getopt_long, [getopt gnugetopt])
AC_SEARCH_LIBS(crypt, crypt)
# Solaris: