Radically improve autogen.sh
Neil Williams
linux at codehelp.co.uk
Sun Nov 6 07:38:02 EST 2005
On Sunday 06 November 2005 12:15 pm, Neil Williams wrote:
> > I just tried autogen.sh on Mac OS X
> > 10.4 with fink's autotools and it worked fine.
> >
> > I immediately ran into trouble though :-p
> > cat -s tip_of_the_day.list.tmp | sed -e 's/^ *\"\(.*\)\" *$/\1/m' >
> > tip_of_the_day.list
> > sed: 1: "s/^ *\"\(.*\)\" *$/\1/m
> > ": bad flag in substitute command: 'm'
configure already tests for sed and identifies the gnu version if it can find
it. All we should need to do is use ${SED} instead of 'sed' when we need the
GNU version.
I'm testing with
AC_SUBST(SED)
and using ${SED} in the doc/Makefile.am.
It might be an idea to use ${SED} wherever possible in new code - not just in
the case of a known error.
--
Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20051106/49bc8984/attachment.bin
More information about the gnucash-devel
mailing list