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

Bernhard Reutner-Fischer <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.patches
Message-ID <CAC1BbcSzdai38mpRoG++aPg363QvEFRBcW82FA2u5mi5g2Guzw@mail.gmail.com>
On 9 April 2015 at 15:21, Eric Blake <[email protected]> wrote:
> On 04/09/2015 06:43 AM, Bernhard Reutner-Fischer wrote:
>> 2015-04-08  Bernhard Reutner-Fischer  <[email protected]>

>>  [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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.