[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AM_SUBST_IGNORE = AC_SUBST without Makefile variable definition
From: |
Stepan Kasal |
Subject: |
Re: AM_SUBST_IGNORE = AC_SUBST without Makefile variable definition |
Date: |
Thu, 20 Oct 2005 15:14:51 +0200 |
User-agent: |
Mutt/1.4.1i |
Hello,
sorry that I reply to my own post.
When I mentioned this "sed code"
> > > /@address@hidden/ {
> > > s/\n/\\&/g
> > > s/@address@hidden//
> > > s/\\$/& /
> > > }
I didn't knew that some make implementations swallow empty lines after
a line ending with backslash. This means that if the value of the variable
ends with a newline, we have to add a space, too.
IOW, the sed script should be:
/@address@hidden/ {
s/\n/\\&/g
s/@address@hidden//
s/\\\n*$/& /
}
Have a nice day,
Stepan