From: Scott MacVicar Date: Wed, 28 Jan 2009 15:53:29 +0000 (+0000) Subject: Disable Phar on big endian systems for beta 1. X-Git-Tag: php-5.3.0beta1~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fd91a50b71b5a9ba8284573abd6e986250ee8572;p=php Disable Phar on big endian systems for beta 1. --- diff --git a/NEWS b/NEWS index c92d330713..b3d75edeb8 100644 --- a/NEWS +++ b/NEWS @@ -6,6 +6,8 @@ PHP NEWS - Deprecated session_register(), session_unregister() and session_is_registered(). (Hannes) +- Disabled Phar for big endian systems due to various crash bugs. (Scott) + - Improved DNS API . Added Windows support for dns_check_record(), dns_get_mx(), checkdnsrr() and getmxrr(). (Pierre) diff --git a/ext/phar/config.m4 b/ext/phar/config.m4 index 2ac7f3dd81..902a055827 100644 --- a/ext/phar/config.m4 +++ b/ext/phar/config.m4 @@ -5,6 +5,10 @@ PHP_ARG_ENABLE(phar, for phar archive support, [ --disable-phar Disable phar support], yes) if test "$PHP_PHAR" != "no"; then + PHP_C_BIGENDIAN + if test $ac_cv_c_bigendian_php = yes; then + AC_MSG_WARN([Disabling Phar due to crash bugs on big endian systems]) + else PHP_NEW_EXTENSION(phar, util.c tar.c zip.c stream.c func_interceptors.c dirstream.c phar.c phar_object.c phar_path_check.c, $ext_shared) AC_MSG_CHECKING([for phar openssl support]) if test "$PHP_HASH_SHARED" != "yes"; then @@ -27,4 +31,5 @@ if test "$PHP_PHAR" != "no"; then PHP_ADD_EXTENSION_DEP(phar, hash, true) PHP_ADD_EXTENSION_DEP(phar, spl, true) PHP_ADD_MAKEFILE_FRAGMENT + fi fi