diff options
| author | Antony Dovgal <tony2001@php.net> | 2006-08-23 09:47:07 +0000 |
|---|---|---|
| committer | Antony Dovgal <tony2001@php.net> | 2006-08-23 09:47:07 +0000 |
| commit | 7d019e4053677f8c8dbcb146e6deb2fc57831612 (patch) | |
| tree | 6c7903cff3330f85fbd79afa04c18b30cfe6b109 /ext/spl | |
| parent | f5e44be71c319faa96eb56cfeab55c44279b0303 (diff) | |
| download | php-git-7d019e4053677f8c8dbcb146e6deb2fc57831612.tar.gz | |
build ext/spl and ext/reflection as static (fixes #38556)
Diffstat (limited to 'ext/spl')
| -rwxr-xr-x | ext/spl/config.m4 | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ext/spl/config.m4 b/ext/spl/config.m4 index c33dd0a6ff..1fdcbe97bb 100755 --- a/ext/spl/config.m4 +++ b/ext/spl/config.m4 @@ -5,9 +5,6 @@ PHP_ARG_ENABLE(spl, enable SPL suppport, [ --disable-spl Disable Standard PHP Library], yes) if test "$PHP_SPL" != "no"; then - if test "$ext_shared" = "yes"; then - AC_MSG_ERROR(Cannot build SPL as a shared module) - fi AC_MSG_CHECKING(whether zend_object_value is packed) old_CPPFLAGS=$CPPFLAGS CPPFLAGS="$INCLUDES -I$abs_srcdir $CPPFLAGS" @@ -31,5 +28,5 @@ int main(int argc, char **argv) { fi AC_DEFINE_UNQUOTED(HAVE_PACKED_OBJECT_VALUE, $ac_result, [Whether struct _zend_object_value is packed]) AC_DEFINE(HAVE_SPL, 1, [Whether you want SPL (Standard PHP Library) support]) - PHP_NEW_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, $ext_shared) + PHP_NEW_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, no) fi |
