]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* lib/autotest/general.m4 (AT_INIT): Do not extract the
authorStepan Kasal <kasal@ucw.cz>
Fri, 23 Nov 2007 23:35:16 +0000 (00:35 +0100)
committerStepan Kasal <kasal@ucw.cz>
Fri, 23 Nov 2007 23:35:16 +0000 (00:35 +0100)
`#AT_STOP_...' line at the end of each test.

ChangeLog
lib/autotest/general.m4

index d6d42ea887f6f3536a5e6cdbc4457558b0617804..60a292d3c6cd7991ce274758a757eca9fa0234fe 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-11-24  Stepan Kasal  <kasal@ucw.cz>
+
+       * lib/autotest/general.m4 (AT_INIT): Do not extract the
+       `#AT_STOP_...' line at the end of each test.
+
 2007-11-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * lib/autotest/general.m4 (AT_INIT): For awk line number
index 6fa3f2e4cf380d2df529525c8f542df7e41834eb..022c56d216fb439e4e0c63b30b436eccc9b6719b 100644 (file)
@@ -884,7 +884,7 @@ BEGIN { FS="\a" }
 }
 /^@%:@AT_STOP_/ {
   test = substr ($ 0, 10)
-  print "at_sed" test "=\"1," start "d;" NR "q\""
+  print "at_sed" test "=\"1," start "d;" (NR-1) "q\""
   if (test == "'"$at_group"'") exit
 }' "$at_myself" > "$at_test_source"
 . "$at_test_source"