File tree 2 files changed +13
-3
lines changed
2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -5377,7 +5377,10 @@ if test "$ac_cv_search_shl_load" != no; then
5377
5377
5378
5378
fi
5379
5379
5380
- echo "$as_me:$LINENO: checking for library containing ldopen" >&5
5380
+ # We only use libld in port/dynloader/aix.c
5381
+ case $host_os in
5382
+ aix*)
5383
+ echo "$as_me:$LINENO: checking for library containing ldopen" >&5
5381
5384
echo $ECHO_N "checking for library containing ldopen... $ECHO_C" >&6
5382
5385
if test "${ac_cv_search_ldopen+set}" = set; then
5383
5386
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -5503,6 +5506,8 @@ if test "$ac_cv_search_ldopen" != no; then
5503
5506
5504
5507
fi
5505
5508
5509
+ ;;
5510
+ esac
5506
5511
echo "$as_me:$LINENO: checking for library containing getopt_long" >&5
5507
5512
echo $ECHO_N "checking for library containing getopt_long... $ECHO_C" >&6
5508
5513
if test "${ac_cv_search_getopt_long+set}" = set; then
Original file line number Diff line number Diff line change 1
1
dnl Process this file with autoconf to produce a configure script.
2
- dnl $PostgreSQL: pgsql/configure.in,v 1.448 2006/02/10 11:35:47 petere Exp $
2
+ dnl $PostgreSQL: pgsql/configure.in,v 1.449 2006/02/15 17:23:10 tgl Exp $
3
3
dnl
4
4
dnl Developers, please strive to achieve this order:
5
5
dnl
@@ -595,7 +595,12 @@ AC_SEARCH_LIBS(pow, m)
595
595
AC_SEARCH_LIBS(dlopen, dl)
596
596
AC_SEARCH_LIBS(socket, [socket wsock32])
597
597
AC_SEARCH_LIBS(shl_load, dld)
598
- AC_SEARCH_LIBS(ldopen, ld)
598
+ # We only use libld in port/dynloader/aix.c
599
+ case $host_os in
600
+ aix*)
601
+ AC_SEARCH_LIBS(ldopen, ld)
602
+ ;;
603
+ esac
599
604
AC_SEARCH_LIBS(getopt_long, [getopt gnugetopt])
600
605
AC_SEARCH_LIBS(crypt, crypt)
601
606
# Solaris:
You can’t perform that action at this time.
0 commit comments