From: Stepan Kasal Date: Tue, 17 May 2005 09:49:36 +0000 (+0000) Subject: (m4_text_wrap): Don't m4_quote the second argument to m4_foreach. X-Git-Tag: AUTOCONF-2.59c~385 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae53380796d3dcf53b3a673d69775999daae8a70;p=thirdparty%2Fautoconf.git (m4_text_wrap): Don't m4_quote the second argument to m4_foreach. --- diff --git a/ChangeLog b/ChangeLog index 3d0f0b9c0..cba70d92e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-05-17 Stepan Kasal + + * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second + argument to m4_foreach. I guess it was necessary in the past, + but I think it's a no-op now. + 2005-05-17 Stepan Kasal * lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive diff --git a/lib/m4sugar/m4sugar.m4 b/lib/m4sugar/m4sugar.m4 index 4a84e9f4a..a3d74d034 100644 --- a/lib/m4sugar/m4sugar.m4 +++ b/lib/m4sugar/m4sugar.m4 @@ -1555,7 +1555,7 @@ m4_Prefix1[]dnl m4_if(m4_eval(m4_Cursor > m4_len(m4_Prefix)), 1, [m4_define([m4_Cursor], m4_len(m4_Prefix)) m4_Prefix])[]dnl -m4_foreach([m4_Word], m4_quote(m4_split(m4_normalize([$1]))), +m4_foreach([m4_Word], m4_split(m4_normalize([$1])), [m4_define([m4_Cursor], m4_eval(m4_Cursor + m4_len(m4_defn([m4_Word])) + 1))dnl dnl New line if too long, else insert a space unless it is the first dnl of the words.