com php-src: Fix configure error: NEWS acinclude.m4

From: Date: Thu, 22 Jun 2017 13:01:18 +0000
Subject: com php-src: Fix configure error: NEWS acinclude.m4
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-98168@lists.php.net to get a copy of this message
Commit: 660250f4da18f931f9240c4b52fe549b1fde4a69 Author: Peter Kokot <peterkokot@gmail.com> Thu, 15 Jun 2017 02:30:39 +0200 Committer: Joe Watkins <krakjoe@php.net> Thu, 22 Jun 2017 14:01:18 +0100 Parents: 81c2a4b9ba0816a0bda4f004aeca634ad8b58970 Branches: PHP-7.0 PHP-7..1 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=660250f4da18f931f9240c4b52fe549b1fde4a69 Log: Fix configure error This patch fixes configure error on some systems such as Alpine. ``` line 3472: test: =: unary operator expected ``` One of the fixes has been suggested also here already: https://bugs.php.net/bug.php?id=39835 Thank you for considering merging this. Changed paths: M NEWS M acinclude.m4 Diff: diff --git a/NEWS b/NEWS index 75da806..6b84bde 100644 --- a/NEWS +++ b/NEWS @@ -5,6 +5,7 @@ PHP NEWS - Core: . Fixed bug #74780 (parse_url() borken when query string contains colon). (jhdxr) + . Fixed bug #74761 (Unary operator expected error on some systems). (petk) - SPL: . Fixed bug #73471 (PHP freezes with AppendIterator). (jhdxr) diff --git a/acinclude.m4 b/acinclude.m4 index 36bd1c2..f5e0efa7 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -2687,7 +2687,7 @@ EOF done echo "'[$]0' \\" >> $1 - if test expr -- [$]0 : "'.*" = 0; then + if test expr " [$]0" : " '.*" = 0; then CONFIGURE_COMMAND="$CONFIGURE_COMMAND '[$]0'" else CONFIGURE_COMMAND="$CONFIGURE_COMMAND [$]0"

« previous php.cvs (#98168) next »