From 3d6e4e85b3fa6f27664993f1fedbf3da8b271aff Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Thu, 17 Nov 2005 22:42:00 +0000 Subject: [PATCH] - Make this an extension --- ext/reflection/CREDITS | 2 ++ ext/reflection/config.m4 | 12 ++++++++++++ ext/reflection/config.w32 | 9 +++++++++ 3 files changed, 23 insertions(+) create mode 100755 ext/reflection/CREDITS create mode 100755 ext/reflection/config.m4 create mode 100755 ext/reflection/config.w32 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"); +} + -- 2.50.1