summaryrefslogtreecommitdiff
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
parentb312256f08a346cb3888a4803a6ada6ed20322c3 (diff)
downloadphp-git-3d6e4e85b3fa6f27664993f1fedbf3da8b271aff.tar.gz
- Make this an extension
-rwxr-xr-xext/reflection/CREDITS2
-rwxr-xr-xext/reflection/config.m412
-rwxr-xr-xext/reflection/config.w329
3 files changed, 23 insertions, 0 deletions
diff --git a/ext/reflection/CREDITS b/ext/reflection/CREDITS
new file mode 100755
index 0000000000..9d5a6891d5
--- /dev/null
+++ b/ext/reflection/CREDITS
@@ -0,0 +1,2 @@
+reflection
+Marcus Boerger, Timm Friebe, George Schlossnagle, Andrei Zmievski
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
diff --git a/ext/reflection/config.w32 b/ext/reflection/config.w32
new file mode 100755
index 0000000000..7e74059cc4
--- /dev/null
+++ b/ext/reflection/config.w32
@@ -0,0 +1,9 @@
+// $Id$
+// vim:ft=javascript
+
+ARG_ENABLE("reflection", "disable reflection support", "yes");
+
+if (PHP_REFLECTION != "no") {
+ EXTENSION("reflectino", "php_reflection.c");
+}
+