On Thu, Aug 31, 2000 at 02:34:41PM -0700, Bruce Korb wrote:
> "Gary V. Vaughan" wrote:
> > According to the excellent `Autoconf, Automake and Libtool' [New Riders
> > Publishing; ISBN: 1578701902 =)O| =)O| ]:
> >
> > # This is necessary so that .o files in LIBOBJS are also built via
> > # the ANSI2KNR-filtering rules.
> > Xsed='sed -e "s/^X//"'
> > LIBOBJS=`echo X"$LIBOBJS"|\
> > $Xsed 's/\.[^.]* /.\$U& /g;s/\.[^.]*$/.\$U&/'`
> >
> > # LTLIBOBJS requires objects with .lo suffixes.
> > LTLIBOBJS=echo X"$LIBOBJS" | \
> > $Xsed 's/\.[^.]* /.lo /g;s/\.[^.]*$/.lo/'
> > AC_SUBST(LTLIBOBJS)
>
> I *do* hope this example is not in the book :-( :-(.
> Your Xsed macro needs to be written:
>
> Xsed='sed -e "s/^X//" -e '
>
> or your usage of it needs to be changed.....
Mistranscribed. The $Xsed's are indeed followed by a `-e'.
Cheers,
Gary.
--
___ _ ___ __ _ mailto: [EMAIL PROTECTED]
/ __|__ _ _ ___ _| | / / | / /_ _ _ _ __ _| |_ __ _ ___ [EMAIL PROTECTED]
| (_ / _` | '_|// / |/ /| |/ / _` | || / _` | ' \/ _` | _ \
\___\__,_|_|\_, /|___(_)___/\__,_|\_,_\__, |_||_\__,_|//_/
home page: /___/ /___/ gpg public key:
http://www.oranda.demon.co.uk http://www.oranda.demon.co.uk/key.asc