]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[master] include dso.h when testing DSO_METHOD_dlfcn
authorEvan Hunt <each@isc.org>
Fri, 27 Feb 2015 17:05:03 +0000 (09:05 -0800)
committerEvan Hunt <each@isc.org>
Fri, 27 Feb 2015 17:05:03 +0000 (09:05 -0800)
configure
configure.in

index cbf8edb7505505ae4f9bbb7b2576201c24a29f16..85ac03ca477f4e6588ecabe7827ed479fca76ffc 100755 (executable)
--- a/configure
+++ b/configure
@@ -15724,6 +15724,8 @@ $as_echo_n "checking whether linking with OpenSSL requires -ldl... " >&6; }
 /* end confdefs.h.  */
 
 #include <openssl/err.h>
+#include <openssl/dso.h>
+
 int
 main ()
 {
@@ -15741,6 +15743,7 @@ else
 /* end confdefs.h.  */
 
 #include <openssl/err.h>
+#include <openssl/dso.h>
 
 int
 main ()
index 6a8c47c194220b0e4436913a33596e7ee61edc21..ed0775ab76fd170489ac13c0043495897c761b8c 100644 (file)
@@ -1539,12 +1539,15 @@ shared library configuration (e.g., LD_LIBRARY_PATH).)],
 
                AC_MSG_CHECKING(whether linking with OpenSSL requires -ldl)
                AC_TRY_LINK([
-#include <openssl/err.h>],
+#include <openssl/err.h>
+#include <openssl/dso.h>
+],
 [ DSO_METHOD_dlfcn(); ],
                [AC_MSG_RESULT(no)],
                [LIBS="$LIBS -ldl"
                AC_TRY_LINK([
 #include <openssl/err.h>
+#include <openssl/dso.h>
 ],[ DSO_METHOD_dlfcn(); ],
                [AC_MSG_RESULT(yes)
                DST_OPENSSL_LIBS="$DST_OPENSSL_LIBS -ldl"