mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-17 19:30:00 +08:00
parent
c4c3400885
commit
9d0aa4f4d2
61
configure
vendored
61
configure
vendored
@ -11004,67 +11004,6 @@ if test "$ac_res" != no; then :
|
||||
|
||||
fi
|
||||
|
||||
# We only use libld in port/dynloader/aix.c
|
||||
case $host_os in
|
||||
aix*)
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ldopen" >&5
|
||||
$as_echo_n "checking for library containing ldopen... " >&6; }
|
||||
if ${ac_cv_search_ldopen+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
ac_func_search_save_LIBS=$LIBS
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
|
||||
/* Override any GCC internal prototype to avoid an error.
|
||||
Use char because int might match the return type of a GCC
|
||||
builtin and then its argument prototype would still apply. */
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
#endif
|
||||
char ldopen ();
|
||||
int
|
||||
main ()
|
||||
{
|
||||
return ldopen ();
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
_ACEOF
|
||||
for ac_lib in '' ld; do
|
||||
if test -z "$ac_lib"; then
|
||||
ac_res="none required"
|
||||
else
|
||||
ac_res=-l$ac_lib
|
||||
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
||||
fi
|
||||
if ac_fn_c_try_link "$LINENO"; then :
|
||||
ac_cv_search_ldopen=$ac_res
|
||||
fi
|
||||
rm -f core conftest.err conftest.$ac_objext \
|
||||
conftest$ac_exeext
|
||||
if ${ac_cv_search_ldopen+:} false; then :
|
||||
break
|
||||
fi
|
||||
done
|
||||
if ${ac_cv_search_ldopen+:} false; then :
|
||||
|
||||
else
|
||||
ac_cv_search_ldopen=no
|
||||
fi
|
||||
rm conftest.$ac_ext
|
||||
LIBS=$ac_func_search_save_LIBS
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldopen" >&5
|
||||
$as_echo "$ac_cv_search_ldopen" >&6; }
|
||||
ac_res=$ac_cv_search_ldopen
|
||||
if test "$ac_res" != no; then :
|
||||
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
||||
|
||||
fi
|
||||
|
||||
;;
|
||||
esac
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getopt_long" >&5
|
||||
$as_echo_n "checking for library containing getopt_long... " >&6; }
|
||||
if ${ac_cv_search_getopt_long+:} false; then :
|
||||
|
@ -1102,12 +1102,6 @@ AC_SEARCH_LIBS(setproctitle, util)
|
||||
AC_SEARCH_LIBS(dlopen, dl)
|
||||
AC_SEARCH_LIBS(socket, [socket ws2_32])
|
||||
AC_SEARCH_LIBS(shl_load, dld)
|
||||
# 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)
|
||||
AC_SEARCH_LIBS(shm_open, rt)
|
||||
|
Loading…
Reference in New Issue
Block a user