From: Sascha Schumann Date: Sat, 26 Oct 2002 21:28:35 +0000 (+0000) Subject: Define HAVE_LIBDL, if dlopen() was found. X-Git-Tag: php-4.3.0pre2~15 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=65b79b3595ad5c5b982fc34ebb0c1006476c1f82;p=php Define HAVE_LIBDL, if dlopen() was found. It was tempting to do a complete s/HAVE_LIBDL/HAVE_DLOPEN/ over the whole code base. I defer that to a later point in time for now. --- diff --git a/configure.in b/configure.in index b701e20800..005fbdd199 100644 --- a/configure.in +++ b/configure.in @@ -280,6 +280,9 @@ PHP_CHECK_FUNC(gethostbyaddr, nsl) PHP_CHECK_FUNC(yp_get_default_domain, nsl) PHP_CHECK_FUNC(dlopen, dl) +if test "$ac_cv_func_dlopen" = "yes"; then + AC_DEFINE(HAVE_LIBDL, 1, [ ]) +fi AC_CHECK_LIB(m, sin) dnl Check for resolver routines.