From: Paolo Bonzini Date: Thu, 4 Oct 2007 15:15:21 +0000 (+0200) Subject: Fix previous commit. X-Git-Tag: v2.62~231 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6cf284ade719afc243e39a867a3f0477c190dff;p=thirdparty%2Fautoconf.git Fix previous commit. * lib/autotest/general.m4 (AT_LINE): Fix regex. Signed-off-by: Paolo Bonzini --- diff --git a/ChangeLog b/ChangeLog index b98cf3e5..a2669a8b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-10-04 Paolo Bonzini + + Fix previous commit. + * lib/autotest/general.m4 (AT_LINE): Fix regex. + 2007-10-04 Eric Blake Speed up building testsuites. diff --git a/lib/autotest/general.m4 b/lib/autotest/general.m4 index ac41c14b..dfd098c7 100644 --- a/lib/autotest/general.m4 +++ b/lib/autotest/general.m4 @@ -152,7 +152,7 @@ m4_define([AT_LINE], [m4_if(m4_defn([_AT_LINE_file]), __file__, [], [m4_do([m4_define([_AT_LINE_file], __file__)], [m4_define([_AT_LINE_base], - m4_bpatsubst(/__file__, [/\([^/]*\)$], + m4_bpatsubst(__file__, [^.*/\([^/]*\)$], [[\1]]))])])dnl m4_defn([_AT_LINE_base]):__line__])