mirror of
https://github.com/postgres/postgres.git
synced 2025-04-27 22:56:53 +03:00
Remove unused configure test for ldopen()
unused since f2cc453dd7e87e800a62a173dea0353bf106668d
This commit is contained in:
parent
c4c3400885
commit
9d0aa4f4d2
61
configure
vendored
61
configure
vendored
@ -11004,67 +11004,6 @@ if test "$ac_res" != no; then :
|
|||||||
|
|
||||||
fi
|
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 "$as_me:${as_lineno-$LINENO}: checking for library containing getopt_long" >&5
|
||||||
$as_echo_n "checking for library containing getopt_long... " >&6; }
|
$as_echo_n "checking for library containing getopt_long... " >&6; }
|
||||||
if ${ac_cv_search_getopt_long+:} false; then :
|
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(dlopen, dl)
|
||||||
AC_SEARCH_LIBS(socket, [socket ws2_32])
|
AC_SEARCH_LIBS(socket, [socket ws2_32])
|
||||||
AC_SEARCH_LIBS(shl_load, dld)
|
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(getopt_long, [getopt gnugetopt])
|
||||||
AC_SEARCH_LIBS(crypt, crypt)
|
AC_SEARCH_LIBS(crypt, crypt)
|
||||||
AC_SEARCH_LIBS(shm_open, rt)
|
AC_SEARCH_LIBS(shm_open, rt)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user