From: Ruben Kerkhof Date: Wed, 24 Dec 2014 22:51:26 +0000 (+0100) Subject: Bail out if dlopen doesn't work X-Git-Tag: dnsdist-1.0.0-alpha1~248^2~111^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b6be1d3bfa017348184d931253304daebbd1393c;p=thirdparty%2Fpdns.git Bail out if dlopen doesn't work --- diff --git a/configure.ac b/configure.ac index 2bea45374f..f31b0746cb 100644 --- a/configure.ac +++ b/configure.ac @@ -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]);