bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Spurious datarootdir warnings in Wine configure


From: Stepan Kasal
Subject: Re: Spurious datarootdir warnings in Wine configure
Date: Thu, 22 Jun 2006 17:26:59 +0200
User-agent: Mutt/1.4.2.1i

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]