]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Work around AT&T 3b1 bug
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 16 May 2022 05:14:57 +0000 (22:14 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 16 May 2022 05:16:00 +0000 (22:16 -0700)
* lib/m4sugar/m4sh.m4: Work around bug in ancient sed.
Problem reported by Alain Knaff [sr#110654] for AT&T 3b1.
The Autoconf manual says this sed bug also occurs for
RISC/OS and IRIX 5.3.

lib/m4sugar/m4sh.m4

index e6067ecf4d9ecd9c8c9a651774553f9230d5ef62..8323eb1dc9d9ebbc6fc405a6928362033c400a60 100644 (file)
@@ -1221,6 +1221,8 @@ dnl Eggert wrote the scripts with optimization help from Paolo Bonzini).
     /[$]LINENO/=
   ' <$as_myself |
     sed '
+      t clear
+      :clear
       s/[$]LINENO.*/&-/
       t lineno
       b