]> granicus.if.org Git - php/commitdiff
Must be buitin
authorMarcus Boerger <helly@php.net>
Mon, 19 Jan 2004 08:48:30 +0000 (08:48 +0000)
committerMarcus Boerger <helly@php.net>
Mon, 19 Jan 2004 08:48:30 +0000 (08:48 +0000)
ext/spl/config.m4

index 453c5ca450a823927667d81c320aa8043d548431..531c098e4a3eb92530f78526c5fc454ecfe90a87 100755 (executable)
@@ -5,6 +5,9 @@ PHP_ARG_ENABLE(spl, enable SPL suppport,
 [  --disable-spl           Enable 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)
 fi