EXT_LIBS="$EXT_LIBS $1/$_extlib"
EXT_STATIC="$EXT_STATIC $1"
else
- AC_DEFINE_UNQUOTED("COMPILE_DL_`echo $1|tr a-z A-Z`", 1, Whether to build $1 as dynamic module)
+ AC_DEFINE_UNQUOTED(COMPILE_DL_`echo $1|tr a-z A-Z`, 1, Whether to build $1 as dynamic module)
EXT_SHARED="$EXT_SHARED $1"
fi
PHP_OUTPUT(ext/$1/Makefile)
"gd", gd_functions, PHP_MINIT(gd), PHP_MSHUTDOWN(gd), NULL, NULL, PHP_MINFO(gd), STANDARD_MODULE_PROPERTIES
};
-#if COMPILE_DL
+#ifdef COMPILE_DL_GD
# include "dl/phpdl.h"
DLEXPORT php3_module_entry *get_module(void) { return &gd_module_entry; }
#endif
* ? Safe mode implementation
*/
-#ifdef COMPILE_DL
-# include "dl/phpdl.h"
-#endif
-
#include "php.h"
#include "php_globals.h"
#include "ext/standard/php3_standard.h"
PHP_MYSQL_API php_mysql_globals mysql_globals;
#endif
-#ifdef COMPILE_DL
+#ifdef COMPILE_DL_MYSQL
+# include "dl/phpdl.h"
DLEXPORT zend_module_entry *get_module(void) { return &mysql_module_entry; }
#endif
/* $Id$ */
#define IS_EXT_MODULE
-#if COMPILE_DL
-# include "dl/phpdl.h"
-#endif
#include "php.h"
#include "php3_xml.h"
#include "zend_variables.h"
/* {{{ dynamically loadable module stuff */
-# if COMPILE_DL
+#ifdef COMPILE_DL_XML
+# include "dl/phpdl.h"
DLEXPORT zend_module_entry *get_module(void) { return &xml_module_entry; }
-# endif /* COMPILE_DL */
+#endif /* COMPILE_DL_XML */
/* }}} */
/* {{{ function prototypes */