summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m45
1 files changed, 5 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index f1562795a4..d941ab7656 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -2504,6 +2504,11 @@ EOF
done
echo "'[$]0' \\" >> $1
+ if test `expr -- [$]0 : "'.*"` = 0; then
+ CONFIGURE_COMMAND="$CONFIGURE_COMMAND '[$]0'"
+ else
+ CONFIGURE_COMMAND="$CONFIGURE_COMMAND [$]0"
+ fi
for arg in $ac_configure_args; do
if test `expr -- $arg : "'.*"` = 0; then
if test `expr -- $arg : "--.*"` = 0; then