com php-src: phpdbg config.m4: make it detectable by old shells: sapi/phpdbg/config.m4

From: Date: Fri, 29 Jan 2016 16:01:04 +0000
Subject: com php-src: phpdbg config.m4: make it detectable by old shells: sapi/phpdbg/config.m4
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-90813@lists.php.net to get a copy of this message
Commit: 10b2172f01eec22fddb8c3a10e8256c7c13db486 Author: Guillaume Outters <guillaume-github@outters.eu> Thu, 28 Jan 2016 21:36:14 +0100 Committer: Nikita Popov <nikic@php.net> Fri, 29 Jan 2016 17:01:04 +0100 Parents: d964ccba4008ca090c1c5b443aff196fc3ef947d Branches: PHP-7.0 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=10b2172f01eec22fddb8c3a10e8256c7c13db486 Log: phpdbg config.m4: make it detectable by old shells --enable-phpdbg is not detected on old systems (e.g.: stock FreeBSD 8), due to a PHPism in config.m4 (use of == operator). Replacing == with the historic = makes it pass. Changed paths: M sapi/phpdbg/config.m4 Diff: diff --git a/sapi/phpdbg/config.m4 b/sapi/phpdbg/config.m4 index aa5b0ef..9fb4e62 100644 --- a/sapi/phpdbg/config.m4 +++ b/sapi/phpdbg/config.m4 @@ -11,7 +11,7 @@ PHP_ARG_ENABLE(phpdbg-webhelper, for phpdbg web SAPI support, PHP_ARG_ENABLE(phpdbg-debug, for phpdbg debug build, [ --enable-phpdbg-debug Build phpdbg in debug mode], no, no) -if test "$BUILD_PHPDBG" == "" && test "$PHP_PHPDBG" != "no"; then +if test "$BUILD_PHPDBG" = "" && test "$PHP_PHPDBG" != "no"; then AC_HEADER_TIOCGWINSZ AC_DEFINE(HAVE_PHPDBG, 1, [ ])

« previous php.cvs (#90813) next »