]> granicus.if.org Git - php/commitdiff
Disable ZEND_EXTENSIONS_SUPPORT, if RTLD_NOW is not defined.
authorSascha Schumann <sas@php.net>
Wed, 13 Oct 1999 00:17:01 +0000 (00:17 +0000)
committerSascha Schumann <sas@php.net>
Wed, 13 Oct 1999 00:17:01 +0000 (00:17 +0000)
Note that this part could be made platform independent by using
libltdl (for Solaris, Linux, *BSD, HP-UX, Win16/32, BeOS).

Zend/acconfig.h

index e27c6d3adf56cef7384246a8574eee0fa37a9e05..ae8de50c84d8883cad3f4d877a8aa242f6089821 100644 (file)
 /* Define if you have stdiostream.h */
 #undef HAVE_STDIOSTREAM_H
 
-#ifdef HAVE_LIBDL
-# ifdef HAVE_DLFCN_H
-#  include <dlfcn.h>
-# endif
-# if !defined(RTLD_NOW) && defined(DL_NOW)
-#  define RTLD_NOW DL_NOW
-# endif
-# if !defined(RTLD_NOW) && defined(DL_LAZY)
-#  define RTLD_NOW DL_LAZY
-# endif
+#ifdef HAVE_DLFCN_H
+# include <dlfcn.h>
+#endif
+
+#if defined(HAVE_LIBDL) && defined(RTLD_NOW)
 # define DL_LOAD(libname)      dlopen(libname, RTLD_NOW)
 # define DL_UNLOAD             dlclose
 # define DL_FETCH_SYMBOL       dlsym