]> granicus.if.org Git - php/commitdiff
Hard enabling it for Windows, readding define for UNIX [DOC]
authorLars Strojny <lstrojny@php.net>
Fri, 2 May 2008 13:12:02 +0000 (13:12 +0000)
committerLars Strojny <lstrojny@php.net>
Fri, 2 May 2008 13:12:02 +0000 (13:12 +0000)
ext/reflection/config.m4
ext/reflection/config.w32

index 7691bbf49650b06ecc1df37cf132101b2941a69c..3e7a85247f46b350d2ceb7ea97e54dcbeea8e5ad 100755 (executable)
@@ -2,3 +2,4 @@ dnl $Id$
 dnl config.m4 for extension reflection
 
 PHP_NEW_EXTENSION(reflection, php_reflection.c, no)
+AC_DEFINE(HAVE_REFLECTION, 1)
index 66613659e804d62b5b356f9ac92f08c6afbe23a5..343b77d37d5eafa8b9b87058bae097ef8e9c49e4 100755 (executable)
@@ -1,10 +1,5 @@
 // $Id$
 // vim:ft=javascript
 
-ARG_ENABLE("reflection", "disable reflection support", "yes");
-
-if (PHP_REFLECTION != "no") {
-       EXTENSION("reflection", "php_reflection.c");
-       AC_DEFINE('HAVE_REFLECTION', 1, 'Reflection support enabled');
-}
-
+EXTENSION("reflection", "php_reflection.c");
+AC_DEFINE('HAVE_REFLECTION', 1, 'Reflection support enabled');