2003-05-01 23:28:28 +00:00
|
|
|
dnl $Id$
|
|
|
|
dnl config.m4 for extension SPL
|
|
|
|
|
|
|
|
PHP_ARG_ENABLE(spl, enable SPL suppport,
|
2004-01-19 11:07:19 +00:00
|
|
|
[ --disable-spl Disable Standard PHP Library], yes)
|
2003-05-01 23:28:28 +00:00
|
|
|
|
|
|
|
if test "$PHP_SPL" != "no"; then
|
2004-02-09 18:18:00 +00:00
|
|
|
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])
|
2004-11-01 15:50:25 +00:00
|
|
|
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, $ext_shared)
|
2004-07-18 12:03:51 +00:00
|
|
|
PHP_ADD_EXTENSION_DEP(spl, simplexml)
|
2003-05-01 23:28:28 +00:00
|
|
|
fi
|