summaryrefslogtreecommitdiff
path: root/ext/reflection/config.m4
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-08-23 09:47:07 +0000
committerAntony Dovgal <tony2001@php.net>2006-08-23 09:47:07 +0000
commit7d019e4053677f8c8dbcb146e6deb2fc57831612 (patch)
tree6c7903cff3330f85fbd79afa04c18b30cfe6b109 /ext/reflection/config.m4
parentf5e44be71c319faa96eb56cfeab55c44279b0303 (diff)
downloadphp-git-7d019e4053677f8c8dbcb146e6deb2fc57831612.tar.gz
build ext/spl and ext/reflection as static (fixes #38556)
Diffstat (limited to 'ext/reflection/config.m4')
-rwxr-xr-xext/reflection/config.m45
1 files changed, 1 insertions, 4 deletions
diff --git a/ext/reflection/config.m4 b/ext/reflection/config.m4
index 69044d1648..c8a8d3d715 100755
--- a/ext/reflection/config.m4
+++ b/ext/reflection/config.m4
@@ -5,9 +5,6 @@ PHP_ARG_ENABLE(reflection, whether to enable reflection support,
[ --disable-reflection Disable reflection support], yes, no)
if test "$PHP_REFLECTION" != "no"; then
- if test "$ext_shared" = "yes"; then
- AC_MSG_ERROR(Cannot build reflection as a shared module)
- fi
AC_DEFINE(HAVE_REFLECTION, 1, [Whether Reflection is enabled])
- PHP_NEW_EXTENSION(reflection, php_reflection.c)
+ PHP_NEW_EXTENSION(reflection, php_reflection.c, no)
fi