summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--acinclude.m42
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index ef29b00f8f..3984a5949a 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 07ae363f65..ff814fb059 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -2676,7 +2676,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"