Skip to content

Commit adee0df

Browse files
committed
Remove configure probe for shl_load library.
This was needed only by HP-UX 10, so it became redundant with commit 9db300c. Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://postgr.es/m/CA%2BhUKG%2BL_3brvh%3D8e0BW_VfX9h7MtwgN%3DnFHP5o7X2oZucY9dg%40mail.gmail.com
1 parent 36b3d52 commit adee0df

File tree

2 files changed

+0
-57
lines changed

2 files changed

+0
-57
lines changed

configure

Lines changed: 0 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -12034,62 +12034,6 @@ if test "$ac_res" != no; then :
1203412034

1203512035
fi
1203612036

12037-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing shl_load" >&5
12038-
$as_echo_n "checking for library containing shl_load... " >&6; }
12039-
if ${ac_cv_search_shl_load+:} false; then :
12040-
$as_echo_n "(cached) " >&6
12041-
else
12042-
ac_func_search_save_LIBS=$LIBS
12043-
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12044-
/* end confdefs.h. */
12045-
12046-
/* Override any GCC internal prototype to avoid an error.
12047-
Use char because int might match the return type of a GCC
12048-
builtin and then its argument prototype would still apply. */
12049-
#ifdef __cplusplus
12050-
extern "C"
12051-
#endif
12052-
char shl_load ();
12053-
int
12054-
main ()
12055-
{
12056-
return shl_load ();
12057-
;
12058-
return 0;
12059-
}
12060-
_ACEOF
12061-
for ac_lib in '' dld; do
12062-
if test -z "$ac_lib"; then
12063-
ac_res="none required"
12064-
else
12065-
ac_res=-l$ac_lib
12066-
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12067-
fi
12068-
if ac_fn_c_try_link "$LINENO"; then :
12069-
ac_cv_search_shl_load=$ac_res
12070-
fi
12071-
rm -f core conftest.err conftest.$ac_objext \
12072-
conftest$ac_exeext
12073-
if ${ac_cv_search_shl_load+:} false; then :
12074-
break
12075-
fi
12076-
done
12077-
if ${ac_cv_search_shl_load+:} false; then :
12078-
12079-
else
12080-
ac_cv_search_shl_load=no
12081-
fi
12082-
rm conftest.$ac_ext
12083-
LIBS=$ac_func_search_save_LIBS
12084-
fi
12085-
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_shl_load" >&5
12086-
$as_echo "$ac_cv_search_shl_load" >&6; }
12087-
ac_res=$ac_cv_search_shl_load
12088-
if test "$ac_res" != no; then :
12089-
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12090-
12091-
fi
12092-
1209312037
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getopt_long" >&5
1209412038
$as_echo_n "checking for library containing getopt_long... " >&6; }
1209512039
if ${ac_cv_search_getopt_long+:} false; then :

configure.ac

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1248,7 +1248,6 @@ AC_SEARCH_LIBS(setproctitle, util)
12481248
# required. Just checking for dlsym() ought to suffice.
12491249
AC_SEARCH_LIBS(dlsym, dl)
12501250
AC_SEARCH_LIBS(socket, [socket ws2_32])
1251-
AC_SEARCH_LIBS(shl_load, dld)
12521251
AC_SEARCH_LIBS(getopt_long, [getopt gnugetopt])
12531252
AC_SEARCH_LIBS(shm_open, rt)
12541253
AC_SEARCH_LIBS(shm_unlink, rt)

0 commit comments

Comments
 (0)