summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-10-02 19:17:53 +0000
committerAntony Dovgal <tony2001@php.net>2006-10-02 19:17:53 +0000
commit9c1b3c6d881fef417ab4eff0dde9655be9ed18d0 (patch)
treea44a3d1ef7c768acf16e33b6ad450597730a981f /acinclude.m4
parentcb312d43bf23e62bd7a5788be9e069c05cbe6cba (diff)
downloadphp-git-9c1b3c6d881fef417ab4eff0dde9655be9ed18d0.tar.gz
fix the fix for #39004
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m48
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