Re: cvs: php4 /ext/overload config.m4

From: Date: Sun, 01 Dec 2002 19:16:06 +0000
Subject: Re: cvs: php4 /ext/overload config.m4
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-16807@lists.php.net to get a copy of this message
Oh great - you already did it while i was training :-))) thanks marcus At 18:24 01.12.2002, Jani Taskinen wrote:
sniper          Sun Dec  1 12:24:01 2002 EDT
Modified files:
    /php4/ext/overload  config.m4
Log: fix build.. Index: php4/ext/overload/config.m4 diff -u php4/ext/overload/config.m4:1.6 php4/ext/overload/config.m4:1.7
--- php4/ext/overload/config.m4:1.6     Sat Nov 30 19:38:30 2002
+++ php4/ext/overload/config.m4 Sun Dec 1 12:24:00 2002 @@ -1,16 +1,16 @@ dnl -dnl $Id: config.m4,v 1.6 2002/12/01 00:38:30 helly Exp $ +dnl $Id: config.m4,v 1.7 2002/12/01 17:24:00 sniper Exp $ dnl + PHP_ARG_ENABLE(overload,whether to enable user-space object overloading support,
 [  --disable-overload      Disable user-space object overloading support.], yes)
- if test "$PHP_OVERLOAD" != "no"; then
-       AC_CHECK_FILE([Zend/zend_objects.h], [
-               AC_MSG_CHECKING(for overload)
-               AC_MSG_RESULT(not needed with ZendEngine 2)
-       ], [
-               AC_DEFINE(HAVE_OVERLOAD, 1, [ ])
-               PHP_NEW_EXTENSION(overload, overload.c, $ext_shared)
-       ])
+ if test -f $php_abs_top_srcdir/Zend/zend_objects.h; then
+    AC_MSG_CHECKING(for overload)
+    AC_MSG_RESULT(not needed with ZendEngine 2)
+ else
+    AC_DEFINE(HAVE_OVERLOAD, 1, [ ])
+    PHP_NEW_EXTENSION(overload, overload.c, $ext_shared)
+ fi fi -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.cvs (#16807) next »