From 8ea8cd611af5d11ff065838d2d221584941b35d0 Mon Sep 17 00:00:00 2001 From: Lars Strojny Date: Fri, 2 May 2008 13:12:02 +0000 Subject: [PATCH] Hard enabling it for Windows, readding define for UNIX [DOC] --- ext/reflection/config.m4 | 1 + ext/reflection/config.w32 | 9 ++------- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/ext/reflection/config.m4 b/ext/reflection/config.m4 index 7691bbf4965..3e7a85247f4 100755 --- a/ext/reflection/config.m4 +++ b/ext/reflection/config.m4 @@ -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) diff --git a/ext/reflection/config.w32 b/ext/reflection/config.w32 index 66613659e80..343b77d37d5 100755 --- a/ext/reflection/config.w32 +++ b/ext/reflection/config.w32 @@ -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');