Hello,
On Wed, Jun 21, 2006 at 09:14:49PM +0200, Ralf Wildenhues wrote:
> > > >> { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n
> > > >> "$ac_out"; } &&
> > > >> + { ac_out=`sed -n '/^[[ ]]*datarootdir[[ ]]*:*=/p'
> > > >> "$tmp/out"`; test -z "$ac_out"; } &&
> So I see that Alexandre's change is good. So, how about applying both
> his and my patch? ;-)
yes, that sounds good. If we are having a temporary heuristic code
there, we can as well adapt it to more situations.
We can replace the two sed calls by one:
{ ac_out=`sed -n '
/^[[ ]]*datarootdir[[ ]]*:*=/q
/\${datarootdir}/h
${
g
/./p
}' "$tmp/out"`; test -n "$ac_out"; } &&
Have a nice day,
Stepan