diff options
| -rwxr-xr-x | ext/spl/config.m4 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/spl/config.m4 b/ext/spl/config.m4 index 7eab05c8d4..0f5e43181d 100755 --- a/ext/spl/config.m4 +++ b/ext/spl/config.m4 @@ -5,9 +5,9 @@ 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_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, $ext_shared) + if test "$ext_shared" = "yes"; then + AC_MSG_ERROR(Cannot build SPL as a shared module) + fi + 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, $ext_shared) fi |
