ZE2 dlsym stuff

From: Date: Fri, 15 Nov 2002 12:13:08 +0000
Subject: ZE2 dlsym stuff
Groups: php.dev 
Request: Send a blank email to php-dev+get-91088@lists.php.net to get a copy of this message
Here is a patch that hopefully would merge all the dlsym stuff from ZE1. After this patch i no longer get a warning while configuring ZE2. marcus cvs -z3 -q diff Zend\configure.in Zend\Zend.m4 (in directory S:\php4-HEAD\) Index: Zend/configure.in =================================================================== RCS file: /repository/ZendEngine2/configure.in,v retrieving revision 1.33 diff -u -r1.33 configure.in
--- Zend/configure.in   7 Feb 2002 14:08:43 -0000       1.33
+++ Zend/configure.in 15 Nov 2002 12:07:28 -0000 @@ -17,6 +17,8 @@ sinclude(Zend.m4) LIBZEND_BASIC_CHECKS +LIBZEND_LIBDL_CHECKS +LIBZEND_DLSYM_CHECK AM_PROG_LIBTOOL if test "$enable_debug" != "yes"; then Index: Zend/Zend.m4 =================================================================== RCS file: /repository/ZendEngine2/Zend.m4,v retrieving revision 1.35 diff -u -r1.35 Zend.m4
--- Zend/Zend.m4        23 Aug 2002 22:11:10 -0000      1.35
+++ Zend/Zend.m4        15 Nov 2002 12:07:28 -0000
@@ -57,9 +57,12 @@ AC_TYPE_SIZE_T AC_TYPE_SIGNAL +AC_DEFUN(LIBZEND_LIBDL_CHECKS,[ AC_CHECK_LIB(dl, dlopen, [LIBS="-ldl $LIBS"]) AC_CHECK_FUNC(dlopen,[AC_DEFINE(HAVE_LIBDL, 1,[ ])]) +]) +AC_DEFUN(LIBZEND_DLSYM_CHECK,[ dnl dnl Ugly hack to check if dlsym() requires a leading underscore in symbol name. dnl @@ -72,6 +75,9 @@ ], [ AC_MSG_RESULT(no) ], []) +]) + + dnl This is required for QNX and may be some BSD derived systems AC_CHECK_TYPE( uint, unsigned int )

« previous php.dev (#91088) next »