diff options
author | Sebastian Bergmann <sebastian@php.net> | 2002-04-18 17:56:53 +0000 |
---|---|---|
committer | Sebastian Bergmann <sebastian@php.net> | 2002-04-18 17:56:53 +0000 |
commit | a312b1f2abf1d2ca31f568cc7ec8ec5c1c9ea0f9 (patch) | |
tree | ec3e974346e3ea154903145eb0a1ab9889ccc59a /main/internal_functions_win32.c | |
parent | c57ab20ac8575fc037480118e56555f9e626b467 (diff) | |
download | php-git-a312b1f2abf1d2ca31f568cc7ec8ec5c1c9ea0f9.tar.gz |
Allow for PCRE to be disabled.
Diffstat (limited to 'main/internal_functions_win32.c')
-rw-r--r-- | main/internal_functions_win32.c | 36 |
1 files changed, 20 insertions, 16 deletions
diff --git a/main/internal_functions_win32.c b/main/internal_functions_win32.c index 7614b85adf..042bf98b34 100644 --- a/main/internal_functions_win32.c +++ b/main/internal_functions_win32.c @@ -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 }; /* }}} */ |