summaryrefslogtreecommitdiff
path: root/ext/reflection/config.m4
diff options
context:
space:
mode:
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