summaryrefslogtreecommitdiff
path: root/ext/reflection/config.m4
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2005-11-17 22:42:00 +0000
committerMarcus Boerger <helly@php.net>2005-11-17 22:42:00 +0000
commit3d6e4e85b3fa6f27664993f1fedbf3da8b271aff (patch)
treef3dd765e58d91b431d07035f65890af11efb49f9 /ext/reflection/config.m4
parentb312256f08a346cb3888a4803a6ada6ed20322c3 (diff)
downloadphp-git-3d6e4e85b3fa6f27664993f1fedbf3da8b271aff.tar.gz
- Make this an extension
Diffstat (limited to 'ext/reflection/config.m4')
-rwxr-xr-xext/reflection/config.m412
1 files changed, 12 insertions, 0 deletions
diff --git a/ext/reflection/config.m4 b/ext/reflection/config.m4
new file mode 100755
index 0000000000..0136e6b351
--- /dev/null
+++ b/ext/reflection/config.m4
@@ -0,0 +1,12 @@
+dnl $Id$
+dnl config.m4 for extension bitset
+
+PHP_ARG_ENABLE(reflection, whether to enable reflection support,
+[ --disable-reflection Disable reflection support])
+
+if test "$PHP_REFLECTION" != "no"; then
+ if test "$ext_shared" = "yes"; then
+ AC_MSG_ERROR(Cannot build reflectino as a shared module)
+ fi
+ PHP_NEW_EXTENSION(reflection, php_reflection.c)
+fi