]> granicus.if.org Git - php/commitdiff
Prevent shared builds under windows too
authorMarcus Boerger <helly@php.net>
Tue, 20 Jan 2004 19:49:21 +0000 (19:49 +0000)
committerMarcus Boerger <helly@php.net>
Tue, 20 Jan 2004 19:49:21 +0000 (19:49 +0000)
ext/spl/config.w32

index 3066d2ef9f4a7fc81b4c444affa66f06292d1a05..d69471a717e28379bf6b28a956ba423baaa971ee 100644 (file)
@@ -4,6 +4,9 @@
 ARG_ENABLE("spl", "SPL (Standard PHP Library) support", "yes");
 
 if (PHP_SPL != "no") {
+       if (PHP_SPL_SHARED) {
+               ERROR("SPL cannot be compiled as a shared ext");
+       }
        EXTENSION("spl", "php_spl.c spl_functions.c spl_engine.c spl_iterators.c spl_array.c spl_directory.c spl_sxe.c");
        AC_DEFINE('HAVE_SPL', 1);
 }