From dbbb80cb48b67db8aff7d53179d9e7dc716a53b9 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Thu, 15 Jun 2017 02:30:39 +0200 Subject: [PATCH] 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. --- acinclude.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acinclude.m4 b/acinclude.m4 index 36bd1c22e5817..f5e0efa72944b 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"