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: Paul Eggert
Subject: Re: Spurious datarootdir warnings in Wine configure
Date: Tue, 20 Jun 2006 13:43:04 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

Ralf Wildenhues <address@hidden> writes:

> The difference being that the existing heuristic has been tested
> on about a dozen platforms and is thus less likely to break due
> to, say, some obscure sed limitation on some platform.

OK, but the new test he added (marked '+' below):

   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
+  { ac_out=`sed -n '/^[[       ]]*datarootdir[[        ]]*:*=/p' "$tmp/out"`; 
test -z "$ac_out"; } &&

looks pretty portable to me.  If it breaks, then I'd expect the
existing sed-based test to break too.

(But if you're coming up with something better, never mind.  :-)




reply via email to

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