m4sh: protect LINENO against stray macro
commit55f532e539427ff5829790fd71b6f8c6342b141a
authorEric Blake <eblake@redhat.com>
Fri, 27 Aug 2010 16:59:40 +0000 (27 10:59 -0600)
committerEric Blake <eblake@redhat.com>
Fri, 27 Aug 2010 16:59:40 +0000 (27 10:59 -0600)
tree9098f7d352ad88b8b5276147fc9c23bf803846ec
parentd1bea5123b8ecb406fbeabbe70552271f60de8e7
m4sh: protect LINENO against stray macro

* lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Double quote entire
sed script, to avoid issue uncovered by automake testsuite where
'b' was an m4 macro that broke execution on dash.
Reported by Stefano Lattarini.

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
lib/m4sugar/m4sh.m4