On Sun, 1 Dec 2002, Marcus Boerger wrote:

> helly         Sat Nov 30 19:38:31 2002 EDT
> 
>   Modified files:              
>     /php4/ext/overload        config.m4 
>   Log:
>   Skip overload for ZE2
>   Bug #20156

This change breaks the build for me with this error:

ext/overload/config.m4:15: warning: Cannot check for file existence when cross 
compiling

Derick



>   
>   
> Index: php4/ext/overload/config.m4
> diff -u php4/ext/overload/config.m4:1.5 php4/ext/overload/config.m4:1.6
> --- php4/ext/overload/config.m4:1.5   Tue Mar 12 11:27:22 2002
> +++ php4/ext/overload/config.m4       Sat Nov 30 19:38:30 2002
> @@ -1,11 +1,16 @@
>  dnl
> -dnl $Id: config.m4,v 1.5 2002/03/12 16:27:22 sas Exp $
> +dnl $Id: config.m4,v 1.6 2002/12/01 00:38:30 helly 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_DEFINE(HAVE_OVERLOAD, 1, [ ])
> -     PHP_NEW_EXTENSION(overload, overload.c, $ext_shared)
> +     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)
> +     ])
>  fi
> 
> 
> 
> -- 
> PHP CVS Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

-- 

-------------------------------------------------------------------------
 Derick Rethans                                 http://derickrethans.nl/ 
 PHP Magazine - PHP Magazine for Professionals       http://php-mag.net/
-------------------------------------------------------------------------


-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to