Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 9d0aa4f

Browse files
committed
Remove unused configure test for ldopen()
unused since f2cc453
1 parent c4c3400 commit 9d0aa4f

File tree

2 files changed

+0
-67
lines changed

2 files changed

+0
-67
lines changed

configure

Lines changed: 0 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -11004,67 +11004,6 @@ if test "$ac_res" != no; then :
1100411004

1100511005
fi
1100611006

11007-
# We only use libld in port/dynloader/aix.c
11008-
case $host_os in
11009-
aix*)
11010-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ldopen" >&5
11011-
$as_echo_n "checking for library containing ldopen... " >&6; }
11012-
if ${ac_cv_search_ldopen+:} false; then :
11013-
$as_echo_n "(cached) " >&6
11014-
else
11015-
ac_func_search_save_LIBS=$LIBS
11016-
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11017-
/* end confdefs.h. */
11018-
11019-
/* Override any GCC internal prototype to avoid an error.
11020-
Use char because int might match the return type of a GCC
11021-
builtin and then its argument prototype would still apply. */
11022-
#ifdef __cplusplus
11023-
extern "C"
11024-
#endif
11025-
char ldopen ();
11026-
int
11027-
main ()
11028-
{
11029-
return ldopen ();
11030-
;
11031-
return 0;
11032-
}
11033-
_ACEOF
11034-
for ac_lib in '' ld; do
11035-
if test -z "$ac_lib"; then
11036-
ac_res="none required"
11037-
else
11038-
ac_res=-l$ac_lib
11039-
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11040-
fi
11041-
if ac_fn_c_try_link "$LINENO"; then :
11042-
ac_cv_search_ldopen=$ac_res
11043-
fi
11044-
rm -f core conftest.err conftest.$ac_objext \
11045-
conftest$ac_exeext
11046-
if ${ac_cv_search_ldopen+:} false; then :
11047-
break
11048-
fi
11049-
done
11050-
if ${ac_cv_search_ldopen+:} false; then :
11051-
11052-
else
11053-
ac_cv_search_ldopen=no
11054-
fi
11055-
rm conftest.$ac_ext
11056-
LIBS=$ac_func_search_save_LIBS
11057-
fi
11058-
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldopen" >&5
11059-
$as_echo "$ac_cv_search_ldopen" >&6; }
11060-
ac_res=$ac_cv_search_ldopen
11061-
if test "$ac_res" != no; then :
11062-
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11063-
11064-
fi
11065-
11066-
;;
11067-
esac
1106811007
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getopt_long" >&5
1106911008
$as_echo_n "checking for library containing getopt_long... " >&6; }
1107011009
if ${ac_cv_search_getopt_long+:} false; then :

configure.in

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1102,12 +1102,6 @@ AC_SEARCH_LIBS(setproctitle, util)
11021102
AC_SEARCH_LIBS(dlopen, dl)
11031103
AC_SEARCH_LIBS(socket, [socket ws2_32])
11041104
AC_SEARCH_LIBS(shl_load, dld)
1105-
# We only use libld in port/dynloader/aix.c
1106-
case $host_os in
1107-
aix*)
1108-
AC_SEARCH_LIBS(ldopen, ld)
1109-
;;
1110-
esac
11111105
AC_SEARCH_LIBS(getopt_long, [getopt gnugetopt])
11121106
AC_SEARCH_LIBS(crypt, crypt)
11131107
AC_SEARCH_LIBS(shm_open, rt)

0 commit comments

Comments
 (0)