0006-Remove-configure-probe-for-shl_load-library.patch
application/octet-stream
Filename: 0006-Remove-configure-probe-for-shl_load-library.patch
Type: application/octet-stream
Part: 5
Patch
Format: format-patch
Series: patch 0006
Subject: Remove configure probe for shl_load library.
| File | + | − |
|---|---|---|
| configure | 0 | 56 |
| configure.ac | 0 | 1 |
From 67580cde73d33d6cff5185db1d732308f9d20961 Mon Sep 17 00:00:00 2001
From: Thomas Munro <thomas.munro@gmail.com>
Date: Thu, 11 Aug 2022 20:20:45 +1200
Subject: [PATCH 6/7] Remove configure probe for shl_load library.
This was needed only by HP-UX 10, so became redundant with commit
9db300ce.
---
configure | 56 ----------------------------------------------------
configure.ac | 1 -
2 files changed, 57 deletions(-)
diff --git a/configure b/configure
index 3306741cfc..c6300a9a54 100755
--- a/configure
+++ b/configure
@@ -12034,62 +12034,6 @@ if test "$ac_res" != no; then :
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing shl_load" >&5
-$as_echo_n "checking for library containing shl_load... " >&6; }
-if ${ac_cv_search_shl_load+:} 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 shl_load ();
-int
-main ()
-{
-return shl_load ();
- ;
- return 0;
-}
-_ACEOF
-for ac_lib in '' dld; 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_shl_load=$ac_res
-fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext
- if ${ac_cv_search_shl_load+:} false; then :
- break
-fi
-done
-if ${ac_cv_search_shl_load+:} false; then :
-
-else
- ac_cv_search_shl_load=no
-fi
-rm conftest.$ac_ext
-LIBS=$ac_func_search_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_shl_load" >&5
-$as_echo "$ac_cv_search_shl_load" >&6; }
-ac_res=$ac_cv_search_shl_load
-if test "$ac_res" != no; then :
- test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
-
-fi
-
{ $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 :
diff --git a/configure.ac b/configure.ac
index 19fe78339c..010c8e6a25 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1248,7 +1248,6 @@ AC_SEARCH_LIBS(setproctitle, util)
# required. Just checking for dlsym() ought to suffice.
AC_SEARCH_LIBS(dlsym, dl)
AC_SEARCH_LIBS(socket, [socket ws2_32])
-AC_SEARCH_LIBS(shl_load, dld)
AC_SEARCH_LIBS(getopt_long, [getopt gnugetopt])
AC_SEARCH_LIBS(shm_open, rt)
AC_SEARCH_LIBS(shm_unlink, rt)
--
2.32.1 (Apple Git-133)