]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- ACX_SSL_CHECKS no longer adds -ldl needlessly.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Wed, 4 Nov 2015 23:16:36 +0000 (23:16 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Wed, 4 Nov 2015 23:16:36 +0000 (23:16 +0000)
git-svn-id: file:///svn/unbound/trunk@3528 be551aaa-1e26-0410-a405-d3ace91eadb9

acx_nlnetlabs.m4
configure
doc/Changelog

index c9ca7558da5c0995dc667fbd86ec7ec4ef0c71de..f398285fcd4cb83949db104c32c6169a42b112e2 100644 (file)
@@ -2,7 +2,8 @@
 # Copyright 2009, Wouter Wijngaards, NLnet Labs.   
 # BSD licensed.
 #
-# Version 28
+# Version 29
+# 2015-11-05 ACX_SSL_CHECKS no longer adds -ldl needlessly.
 # 2015-08-28 ACX_CHECK_PIE and ACX_CHECK_RELRO_NOW added.
 # 2015-03-17 AHX_CONFIG_REALLOCARRAY added
 # 2013-09-19 FLTO help text improved.
@@ -715,12 +716,6 @@ AC_DEFUN([ACX_SSL_CHECKS], [
         fi
         AC_SUBST(HAVE_SSL)
         AC_SUBST(RUNTIME_PATH)
-       # openssl engine functionality needs dlopen().
-       BAKLIBS="$LIBS"
-       AC_SEARCH_LIBS([dlopen], [dl])
-       if test "$LIBS" != "$BAKLIBS"; then
-               LIBSSL_LIBS="$LIBSSL_LIBS -ldl"
-       fi
     fi
 AC_CHECK_HEADERS([openssl/ssl.h],,, [AC_INCLUDES_DEFAULT])
 AC_CHECK_HEADERS([openssl/err.h],,, [AC_INCLUDES_DEFAULT])
index a08112699ea5010839cf0541246a264630db5947..7e23744140bcf79fde6951f53a07e50cfee8ad99 100755 (executable)
--- a/configure
+++ b/configure
@@ -16583,67 +16583,6 @@ rm -f core conftest.err conftest.$ac_objext \
         fi
 
 
-       # openssl engine functionality needs dlopen().
-       BAKLIBS="$LIBS"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
-$as_echo_n "checking for library containing dlopen... " >&6; }
-if ${ac_cv_search_dlopen+:} 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 dlopen ();
-int
-main ()
-{
-return dlopen ();
-  ;
-  return 0;
-}
-_ACEOF
-for ac_lib in '' dl; 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_dlopen=$ac_res
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext
-  if ${ac_cv_search_dlopen+:} false; then :
-  break
-fi
-done
-if ${ac_cv_search_dlopen+:} false; then :
-
-else
-  ac_cv_search_dlopen=no
-fi
-rm conftest.$ac_ext
-LIBS=$ac_func_search_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
-$as_echo "$ac_cv_search_dlopen" >&6; }
-ac_res=$ac_cv_search_dlopen
-if test "$ac_res" != no; then :
-  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
-
-fi
-
-       if test "$LIBS" != "$BAKLIBS"; then
-               LIBSSL_LIBS="$LIBSSL_LIBS -ldl"
-       fi
     fi
 for ac_header in openssl/ssl.h
 do :
index aff0e741d4203848d2ed351484c4e48e4b18bfcd..0b6e10f8b6c2b2061b49d59ce42764d47e68df3b 100644 (file)
@@ -1,3 +1,6 @@
+5 November 2015: Wouter
+       - ACX_SSL_CHECKS no longer adds -ldl needlessly.
+
 3 November 2015: Wouter
        - Fix #718: Fix unbound-control-setup with support for env
          without HEREDOC bash support.