]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Rewrite so that the "$@" problem does not come up.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 19 Apr 2002 18:59:17 +0000 (18:59 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 19 Apr 2002 18:59:17 +0000 (18:59 +0000)
bin/autoconf.as

index 0f738467e68e13dbea8876fc5a0174c16d283481..2dea89d7140adfbde2edea2abb7829704165222c 100644 (file)
@@ -182,10 +182,7 @@ esac
 # Unless specified, the output is stdout.
 test -z "$outfile" && outfile=-
 
-# Running autom4te.
-run_autom4te="$AUTOM4TE --language=autoconf --output=$outfile"
-# Autom4te expansion.
-eval set dummy "$traces"
-shift
-$verbose "$me: running $run_autom4te "${1+"$@"}" $infile" >&2
-exec $run_autom4te ${1+"$@"} $infile
+# Run autom4te with expansion.
+eval set \$AUTOM4TE --language=autoconf --output=\$outfile "$traces" \$infile
+$verbose "$me: running $*" >&2
+exec "$@"