diff options
author | Antony Dovgal <tony2001@php.net> | 2006-10-02 19:17:53 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2006-10-02 19:17:53 +0000 |
commit | 9c1b3c6d881fef417ab4eff0dde9655be9ed18d0 (patch) | |
tree | a44a3d1ef7c768acf16e33b6ad450597730a981f /acinclude.m4 | |
parent | cb312d43bf23e62bd7a5788be9e069c05cbe6cba (diff) | |
download | php-git-9c1b3c6d881fef417ab4eff0dde9655be9ed18d0.tar.gz |
fix the fix for #39004
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 9df69fa67a..f1562795a4 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -2503,16 +2503,16 @@ EOF fi done - echo "'[$]0'" >> $1 + echo "'[$]0' \\" >> $1 for arg in $ac_configure_args; do - if test `expr substr $arg 1 1` != "'"; then - if test `expr substr $arg 1 2` != '--'; then + if test `expr -- $arg : "'.*"` = 0; then + if test `expr -- $arg : "--.*"` = 0; then break; fi echo "'[$]arg' \\" >> $1 CONFIGURE_COMMAND="$CONFIGURE_COMMAND '[$]arg'" else - if test `expr substr $arg 2 2` != '--'; then + if test `expr -- $arg : "'--.*"` = 0; then break; fi echo "[$]arg \\" >> $1 |