cvs: php4 /main internal_functions_win32.c
| From: | Sebastian Bergmann | Date: | Thu, 18 Apr 2002 17:56:54 +0000 |
| Subject: | cvs: php4 /main internal_functions_win32.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-11202@lists.php.net to get a copy of this message | ||
sebastian Thu Apr 18 13:56:54 2002 EDT
Modified files:
/php4/main internal_functions_win32.c
Log:
Allow for PCRE to be disabled.
Index: php4/main/internal_functions_win32.c
diff -u php4/main/internal_functions_win32.c:1.62 php4/main/internal_functions_win32.c:1.63
--- php4/main/internal_functions_win32.c:1.62 Thu Apr 18 12:39:30 2002
+++ php4/main/internal_functions_win32.c Thu Apr 18 13:56:53 2002
@@ -16,7 +16,7 @@
| Zeev Suraski <zeev@zend.com> |
+----------------------------------------------------------------------+
- $Id: internal_functions_win32.c,v 1.62 2002/04/18 16:39:30 sebastian Exp $
+ $Id: internal_functions_win32.c,v 1.63 2002/04/18 17:56:53 sebastian Exp $
*/
/* {{{ includes
@@ -58,7 +58,9 @@
#include "ext/ftp/php_ftp.h"
#endif
#include "ext/standard/reg.h"
+#if HAVE_PCRE || HAVE_BUNDLED_PCRE
#include "ext/pcre/php_pcre.h"
+#endif
#if HAVE_UODBC
#include "ext/odbc/php_odbc.h"
#endif
@@ -88,43 +90,45 @@
/* {{{ php_builtin_extensions[]
*/
zend_module_entry *php_builtin_extensions[] = {
- phpext_standard_ptr,
- phpext_pcre_ptr,
+ phpext_standard_ptr
#if WITH_BCMATH
- phpext_bcmath_ptr,
+ ,phpext_bcmath_ptr
#endif
#if HAVE_CALENDAR
- phpext_calendar_ptr,
+ ,phpext_calendar_ptr
#endif
#if HAVE_COM
- phpext_com_ptr,
+ ,phpext_com_ptr
#endif
#if HAVE_FTP
- phpext_ftp_ptr,
+ ,phpext_ftp_ptr
#endif
#if defined(MBSTR_ENC_TRANS)
- phpext_mbstring_ptr,
+ ,phpext_mbstring_ptr
#endif
#if HAVE_MYSQL
- phpext_mysql_ptr,
+ ,phpext_mysql_ptr
#endif
#if HAVE_UODBC
- phpext_odbc_ptr,
+ ,phpext_odbc_ptr
#endif
#if HAVE_OVERLOAD
- phpext_overload_ptr,
+ ,phpext_overload_ptr
+#endif
+#if HAVE_PCRE || HAVE_BUNDLED_PCRE
+ ,phpext_pcre_ptr
+#endif
+#if HAVE_SESSION
+ ,phpext_session_ptr
#endif
#if HAVE_TOKENIZER
- phpext_tokenizer_ptr,
+ ,phpext_tokenizer_ptr
#endif
#if HAVE_LIBEXPAT
- phpext_xml_ptr,
+ ,phpext_xml_ptr
#endif
#if HAVE_LIBEXPAT && HAVE_WDDX
- phpext_wddx_ptr,
-#endif
-#if HAVE_SESSION
- phpext_session_ptr
+ ,phpext_wddx_ptr
#endif
};
/* }}} */