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.
This commit is contained in:
parent
0ad14ebc8d
commit
bba11cdd97
7
configure
vendored
7
configure
vendored
@ -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
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user