]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Bail out if dlopen doesn't work
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Wed, 24 Dec 2014 22:51:26 +0000 (23:51 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 24 Feb 2015 13:42:03 +0000 (14:42 +0100)
configure.ac

index 2bea45374f735386c8ab47b0521aa6e7b4c37239..f31b0746cbd44f2bc277e9327f03d46999a14070 100644 (file)
@@ -118,6 +118,10 @@ PDNS_CHECK_LINKCHECKER
 dnl Checks for library functions.
 AC_CHECK_FUNCS_ONCE([strcasestr localtime_r])
 
+AS_IF([test "x$lt_cv_dlopen" = "xno"],
+  [AC_MSG_ERROR([Your system does not support dlopen])]
+)
+
 AC_SUBST([LIBDL], [$lt_cv_dlopen_libs])
 
 AC_MSG_CHECKING([for RTLD_NOW]);