2003-05-02 07:28:28 +08:00
|
|
|
dnl $Id$
|
|
|
|
dnl config.m4 for extension SPL
|
|
|
|
|
|
|
|
PHP_ARG_ENABLE(spl, enable SPL suppport,
|
2003-07-09 07:11:36 +08:00
|
|
|
[ --disable-spl Enable Standard PHP Library], yes)
|
2003-05-02 07:28:28 +08:00
|
|
|
|
|
|
|
if test "$PHP_SPL" != "no"; then
|
2004-01-19 16:48:30 +08:00
|
|
|
if test "$ext_shared" = "yes"; then
|
|
|
|
AC_MSG_ERROR(Cannot build SPL as a shared module)
|
|
|
|
fi
|
2004-01-19 16:32:26 +08:00
|
|
|
AC_DEFINE(HAVE_SPL, 1, [Whether you want SPL (Standard PHP Library) support])
|
2004-01-18 23:33:38 +08: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, $ext_shared)
|
2003-05-02 07:28:28 +08:00
|
|
|
fi
|