]> granicus.if.org Git - php/commitdiff
- Make this an extension
authorMarcus Boerger <helly@php.net>
Thu, 17 Nov 2005 22:42:00 +0000 (22:42 +0000)
committerMarcus Boerger <helly@php.net>
Thu, 17 Nov 2005 22:42:00 +0000 (22:42 +0000)
ext/reflection/CREDITS [new file with mode: 0755]
ext/reflection/config.m4 [new file with mode: 0755]
ext/reflection/config.w32 [new file with mode: 0755]

diff --git a/ext/reflection/CREDITS b/ext/reflection/CREDITS
new file mode 100755 (executable)
index 0000000..9d5a689
--- /dev/null
@@ -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 (executable)
index 0000000..0136e6b
--- /dev/null
@@ -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 (executable)
index 0000000..7e74059
--- /dev/null
@@ -0,0 +1,9 @@
+// $Id$
+// vim:ft=javascript
+
+ARG_ENABLE("reflection", "disable reflection support", "yes");
+
+if (PHP_REFLECTION != "no") {
+       EXTENSION("reflectino", "php_reflection.c");
+}
+