From: Eric Blake Date: Thu, 3 Jan 2013 23:56:59 +0000 (-0700) Subject: AT_TESTED: fix regression in word splitting X-Git-Tag: v2.69b~169 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93ed0f152487f069b68e772bf2e0c48e3ce0f8d5;p=thirdparty%2Fautoconf.git AT_TESTED: fix regression in word splitting Regression introduced in commit 851ef51. * lib/autotest/general.m4 (AT_TESTED): Rework loop to quote each element, not the entire argument. --- diff --git a/lib/autotest/general.m4 b/lib/autotest/general.m4 index fff6f617..06d7546e 100644 --- a/lib/autotest/general.m4 +++ b/lib/autotest/general.m4 @@ -1794,7 +1794,8 @@ m4_defun([AT_ARG_OPTION_ARG],[_AT_ARG_OPTION([$1],[$2],1,[$3],[$4])]) # must correspond to the version of the package. PATH should be # already preset so the proper executable will be selected. m4_define([AT_TESTED], -[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])