- Make this an extension

This commit is contained in:
Marcus Boerger 2005-11-17 22:42:00 +00:00
parent b312256f08
commit 3d6e4e85b3
3 changed files with 23 additions and 0 deletions

2
ext/reflection/CREDITS Executable file
View File

@ -0,0 +1,2 @@
reflection
Marcus Boerger, Timm Friebe, George Schlossnagle, Andrei Zmievski

12
ext/reflection/config.m4 Executable file
View File

@ -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

9
ext/reflection/config.w32 Executable file
View File

@ -0,0 +1,9 @@
// $Id$
// vim:ft=javascript
ARG_ENABLE("reflection", "disable reflection support", "yes");
if (PHP_REFLECTION != "no") {
EXTENSION("reflectino", "php_reflection.c");
}