cvs: php-src / acinclude.m4

From: Date: Mon, 21 Jul 2008 10:29:59 +0000
Subject: cvs: php-src / acinclude.m4
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-51308@lists.php.net to get a copy of this message
jani Mon Jul 21 10:29:59 2008 UTC Modified files: /php-src acinclude.m4 Log: - Sync to PHP_5_3 http://cvs.php.net/viewvc.cgi/php-src/acinclude.m4?r1=1.387&r2=1.388&diff_format=u Index: php-src/acinclude.m4 diff -u php-src/acinclude.m4:1.387 php-src/acinclude.m4:1.388 --- php-src/acinclude.m4:1.387 Wed Mar 26 14:46:16 2008 +++ php-src/acinclude.m4 Mon Jul 21 10:29:59 2008 @@ -1,5 +1,5 @@ dnl -dnl $Id: acinclude.m4,v 1.387 2008/03/26 14:46:16 scottmac Exp $ +dnl $Id: acinclude.m4,v 1.388 2008/07/21 10:29:59 jani Exp $ dnl dnl This file contains local autoconf functions. dnl @@ -931,8 +931,9 @@ dnl a dynamically loadable library. Optional parameter "sapi_class" can dnl be set to "cli" to mark extension build only with CLI or CGI sapi's. dnl "extra-cflags" are passed to the compiler, with -dnl "cxx" can be used to indicate that a C++ shared module is desired. dnl @ext_srcdir@ and @ext_builddir@ being substituted. +dnl "cxx" can be used to indicate that a C++ shared module is desired. +dnl "zend_ext" indicates a zend extension. AC_DEFUN([PHP_NEW_EXTENSION],[ ext_builddir=[]PHP_EXT_BUILDDIR($1) ext_srcdir=[]PHP_EXT_SRCDIR($1) @@ -2154,11 +2155,11 @@ AC_CHECK_PROG(RE2C, re2c, re2c) if test -n "$RE2C"; then AC_CACHE_CHECK([for re2c version], php_cv_re2c_version, [ - re2c_vernum=re2c --vernum 2>/dev/null + re2c_vernum=$RE2C --vernum 2>/dev/null if test -z "$re2c_vernum" || test "$re2c_vernum" -lt "1304"; then php_cv_re2c_version=invalid else - php_cv_re2c_version="re2c --version | cut -d ' ' -f 2 2>/dev/null (ok)" + php_cv_re2c_version="$RE2C --version | cut -d ' ' -f 2 2>/dev/null (ok)" fi ]) fi @@ -2716,6 +2717,7 @@ enable-zend-multibyte[)] continue;; esac fi + is_arg_set=php_[]echo [$]arg_name | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ-' 'abcdefghijklmnopqrstuvwxyz_' if eval test "x\$$is_arg_set" = "x"; then PHP_UNKNOWN_CONFIGURE_OPTIONS="$PHP_UNKNOWN_CONFIGURE_OPTIONS

« previous php.cvs (#51308) next »