[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] AT_TESTED: fix regression in word splitting

From: Eric Blake
Subject: [PATCH] AT_TESTED: fix regression in word splitting
Date: Thu, 3 Jan 2013 17:01:51 -0700

Regression introduced in commit 851ef51.

* lib/autotest/general.m4 (AT_TESTED): Rework loop to quote each
element, not the entire argument.

This appears to fix the problem (when given AT_TESTED([autoconf automake]),
we were adding "autoconf automake" instead of "autoconf" "automake" to
the list of unique programs), but I'd appreciate an ACK from Paolo to make
sure I didn't break the $EXEEXT handling in the process.

 lib/autotest/general.m4 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/autotest/general.m4 b/lib/autotest/general.m4
index fff6f61..06d7546 100644
--- a/lib/autotest/general.m4
+++ b/lib/autotest/general.m4
@@ -1794,7 +1794,8 @@ 
 # must correspond to the version of the package.  PATH should be
 # already preset so the proper executable will be selected.
-[m4_append_uniq_w([AT_tested], ["$1"])])
+[m4_foreach_w([AT_test], [$1],
+  [m4_append_uniq([AT_tested], "m4_defn([AT_test])", [ ])])])

 # AT_COPYRIGHT(TEXT, [FILTER = m4_newline])

reply via email to

[Prev in Thread] Current Thread [Next in Thread]