+2004-12-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ * config/general.m4sh (func_quote_for_eval): Only fork if the
+ substitution matches.
+
2004-12-03 Gary V. Vaughan <gary@gnu.org>
* TODO: Paste Peter's summary of the TODO thread starting at
# which are still active within double quotes backslashified.
func_quote_for_eval ()
{
- func_quote_for_eval_unquoted_result=`$ECHO "X$1" | $Xsed -e "$sed_quote_subst"`
+ case $1 in
+ *[[\`\"\\\$]]*)
+ func_quote_for_eval_unquoted_result=`$ECHO "X$1" | $Xsed -e "$sed_quote_subst"` ;;
+ *)
+ func_quote_for_eval_unquoted_result="$1" ;;
+ esac
case $func_quote_for_eval_unquoted_result in
# Double-quote args containing shell metacharacters to delay