autoconf-patches
[Top][All Lists]
Advanced

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

Re: [PATCH 2/4] AC_PROG_LEX: Rephrase LEX is set test


From: Bernhard Reutner-Fischer
Subject: Re: [PATCH 2/4] AC_PROG_LEX: Rephrase LEX is set test
Date: Thu, 9 Apr 2015 15:29:36 +0200

On 9 April 2015 at 15:21, Eric Blake <address@hidden> wrote:
> On 04/09/2015 06:43 AM, Bernhard Reutner-Fischer wrote:
>> 2015-04-08  Bernhard Reutner-Fischer  <address@hidden>

>>  [AC_CHECK_PROGS(LEX, flex lex, :)
>> -if test "x$LEX" != "x:"; then
>> +if [[ ${LEX:+y} ]]; then
>
> NACK. This is checking if $LEX is specifically something other than ':',
> not whether it is empty.

oops, managed to miss the ':'.
So scratch that one please.



reply via email to

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