"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.....