From 65b79b3595ad5c5b982fc34ebb0c1006476c1f82 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Sat, 26 Oct 2002 21:28:35 +0000 Subject: [PATCH] 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. --- configure.in | 3 +++ 1 file changed, 3 insertions(+) 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. -- 2.50.1