From bba11cdd97cffc72207265f21eed30fad2813d5d Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Wed, 15 Feb 2006 17:23:10 +0000 Subject: 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. --- configure | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index 30132dbbf1..1ec47c47d8 100755 --- a/configure +++ b/configure @@ -5377,7 +5377,10 @@ if test "$ac_cv_search_shl_load" != no; then fi -echo "$as_me:$LINENO: checking for library containing ldopen" >&5 +# We only use libld in port/dynloader/aix.c +case $host_os in + aix*) + echo "$as_me:$LINENO: checking for library containing ldopen" >&5 echo $ECHO_N "checking for library containing ldopen... $ECHO_C" >&6 if test "${ac_cv_search_ldopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -5503,6 +5506,8 @@ if test "$ac_cv_search_ldopen" != no; then fi + ;; +esac echo "$as_me:$LINENO: checking for library containing getopt_long" >&5 echo $ECHO_N "checking for library containing getopt_long... $ECHO_C" >&6 if test "${ac_cv_search_getopt_long+set}" = set; then -- cgit v1.2.1