From c9ec9fed7bfaeacd44c03e4c358abd921db0b493 Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Mon, 23 Jun 2008 10:22:42 +0000 Subject: [PATCH] - set PHP_[EXTNAME] to yes for spl, pcre and reflection (always on), this variable is required by ADD_EXTENSION_DEP --- ext/pcre/config.w32 | 9 +++++---- ext/reflection/config.w32 | 1 + ext/spl/config.w32 | 6 +++--- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/ext/pcre/config.w32 b/ext/pcre/config.w32 index 64425cc09e..f0d88862fd 100644 --- a/ext/pcre/config.w32 +++ b/ext/pcre/config.w32 @@ -3,8 +3,9 @@ EXTENSION("pcre", "php_pcre.c", false /* never shared */, "-DNO_RECURSE -Iext/pcre/pcrelib"); - ADD_SOURCES("ext/pcre/pcrelib", "pcre_chartables.c pcre_ucp_searchfuncs.c pcre_compile.c pcre_config.c pcre_exec.c pcre_fullinfo.c pcre_get.c pcre_globals.c pcre_info.c pcre_maketables.c pcre_newline.c pcre_ord2utf8.c pcre_refcount.c pcre_study.c pcre_tables.c pcre_try_flipped.c pcre_valid_utf8.c pcre_version.c pcre_xclass.c", "pcre"); - ADD_DEF_FILE("ext\\pcre\\php_pcre.def"); +ADD_SOURCES("ext/pcre/pcrelib", "pcre_chartables.c pcre_ucp_searchfuncs.c pcre_compile.c pcre_config.c pcre_exec.c pcre_fullinfo.c pcre_get.c pcre_globals.c pcre_info.c pcre_maketables.c pcre_newline.c pcre_ord2utf8.c pcre_refcount.c pcre_study.c pcre_tables.c pcre_try_flipped.c pcre_valid_utf8.c pcre_version.c pcre_xclass.c", "pcre"); +ADD_DEF_FILE("ext\\pcre\\php_pcre.def"); - AC_DEFINE('HAVE_BUNDLED_PCRE', 1, 'Using bundled PCRE library'); - AC_DEFINE('HAVE_PCRE', 1, 'Have PCRE library'); +AC_DEFINE('HAVE_BUNDLED_PCRE', 1, 'Using bundled PCRE library'); +AC_DEFINE('HAVE_PCRE', 1, 'Have PCRE library'); +PHP_PCRE="yes"; \ No newline at end of file diff --git a/ext/reflection/config.w32 b/ext/reflection/config.w32 index 90b076acb1..724bf7bde4 100755 --- a/ext/reflection/config.w32 +++ b/ext/reflection/config.w32 @@ -3,3 +3,4 @@ EXTENSION("reflection", "php_reflection.c", false /* never shared */); AC_DEFINE('HAVE_REFLECTION', 1, 'Reflection support enabled'); +PHP_REFLECTION="yes"; \ No newline at end of file diff --git a/ext/spl/config.w32 b/ext/spl/config.w32 index 08f33da755..eeaec58bf6 100644 --- a/ext/spl/config.w32 +++ b/ext/spl/config.w32 @@ -1,6 +1,6 @@ // $Id$ // vim:ft=javascript - EXTENSION("spl", "php_spl.c spl_functions.c spl_engine.c spl_iterators.c spl_array.c spl_directory.c spl_sxe.c spl_exceptions.c spl_observer.c spl_dllist.c spl_heap.c spl_fixedarray.c", false /*never shared */); - AC_DEFINE('HAVE_SPL', 1); - +EXTENSION("spl", "php_spl.c spl_functions.c spl_engine.c spl_iterators.c spl_array.c spl_directory.c spl_sxe.c spl_exceptions.c spl_observer.c spl_dllist.c spl_heap.c spl_fixedarray.c", false /*never shared */); +AC_DEFINE('HAVE_SPL', 1); +PHP_SPL="yes"; -- 2.40.0