Work around AT&T 3b1 bug

* 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.
This commit is contained in:
Paul Eggert 2022-05-15 22:14:57 -07:00
parent dc28f7c20b
commit 4860658148

View File

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