From: Eric Blake Date: Fri, 28 Sep 2007 12:14:11 +0000 (-0600) Subject: Oops - my earlier 'optimization' caused a regression. X-Git-Tag: v2.62~246 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36556808639efb06026da2e8485756d109e53292;p=thirdparty%2Fautoconf.git Oops - my earlier 'optimization' caused a regression. * tests/local.at (AT_CHECK_M4): Fix typo. Signed-off-by: Eric Blake --- diff --git a/ChangeLog b/ChangeLog index 63278cf3..48c6c20a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-09-28 Eric Blake + + Oops - my earlier 'optimization' caused a regression. + * tests/local.at (AT_CHECK_M4): Fix typo. + 2007-09-27 Eric Blake and Ralf Wildenhues diff --git a/tests/local.at b/tests/local.at index 8a6bffde..43ae4a92 100644 --- a/tests/local.at +++ b/tests/local.at @@ -96,8 +96,9 @@ m4_define([AT_CHECK_PERL_SYNTAX], # remove the error code during normalization. # m4_define([AT_CHECK_M4], -[AT_CHECK([$1], [$2], [$3], m4_if([$4], [], [], [ignore], [ignore], [stderr])) -m4_if([$4], [], [], [ignore], [], +[AT_CHECK([$1], [$2], [$3], + m4_case([$4], [], [], [ignore], [ignore], [stderr])) +m4_case([$4], [], [], [ignore], [], [AT_CHECK([[sed 's/^[^:]*m4: *\([^:]*:\) *\([0-9][0-9]*: \)/m4:\1\2/ s/^\([^:]*:\) *\([0-9][0-9]*:\)[^:]*m4: /m4:\1\2 / s/^\(m4:[^:]*:[0-9][0-9]*: \)C\(annot open \)\([^`:]*\):/\1c\2`\3'\'':/