]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Fix previous commit.
authorPaolo Bonzini <bonzini@gnu.org>
Thu, 4 Oct 2007 15:15:21 +0000 (17:15 +0200)
committerPaolo Bonzini <bonzini@gnu.org>
Thu, 4 Oct 2007 15:15:21 +0000 (17:15 +0200)
* lib/autotest/general.m4 (AT_LINE): Fix regex.

Signed-off-by: Paolo Bonzini <bonzini@gnu.org>
ChangeLog
lib/autotest/general.m4

index b98cf3e527348bfed7ee4ebb43a43e1fcd33c065..a2669a8b1347f6165bbf76f704dee81a986e8b78 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-10-04  Paolo Bonzini  <bonzini@gnu.org>
+
+       Fix previous commit.
+       * lib/autotest/general.m4 (AT_LINE): Fix regex.
+
 2007-10-04  Eric Blake  <ebb9@byu.net>
 
        Speed up building testsuites.
index ac41c14b232d4fbb9736423cab8bd938e9a7d4f9..dfd098c75ad78c2bcacf34b834c6935a43e525b0 100644 (file)
@@ -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__])