diff options
| author | Marcus Boerger <helly@php.net> | 2004-01-19 08:48:30 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2004-01-19 08:48:30 +0000 |
| commit | 6b8f137905328b14301016e32c0e0d885a70ff99 (patch) | |
| tree | c2ee0406ea17f09be2900d42168682cc1d155cac | |
| parent | 10d48448a46a2c39bf21aa0b214865cf098fb68e (diff) | |
| download | php-git-6b8f137905328b14301016e32c0e0d885a70ff99.tar.gz | |
Must be buitin
| -rwxr-xr-x | ext/spl/config.m4 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/spl/config.m4 b/ext/spl/config.m4 index 453c5ca450..531c098e4a 100755 --- a/ext/spl/config.m4 +++ b/ext/spl/config.m4 @@ -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 |
