]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
AT_TESTED: fix regression in word splitting
authorEric Blake <eblake@redhat.com>
Thu, 3 Jan 2013 23:56:59 +0000 (16:56 -0700)
committerEric Blake <eblake@redhat.com>
Wed, 16 Jan 2013 21:53:46 +0000 (14:53 -0700)
Regression introduced in commit 851ef51.

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

lib/autotest/general.m4

index fff6f617afaa899f9699238f2b3f684b0bc77510..06d7546e8309eba57fb593a5af6b78d8326d7786 100644 (file)
@@ -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])