automake-patches
[Top][All Lists]
Advanced

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

Re: bug#12836: bug#11524: ping on automake bug#11524


From: Stefano Lattarini
Subject: Re: bug#12836: bug#11524: ping on automake bug#11524
Date: Sat, 24 Nov 2012 13:06:00 +0100

On 11/22/2012 10:39 AM, Stefano Lattarini wrote:
>
> 
>> FAIL: t/lex-header
>> lex-header: running flex --version
>> flex version 2.5.4
>>
> OK, this version of flex is ~ 15 years old, and ...
> 
>> /bin/bash ./ylwrap `test -f 'lexer.l' || echo './'`lexer.l \
>>    lex.yy.c foo-lexer.c -- flex --header-file=mylex.h
>> flex: unknown flag '-'.  For usage, try
>>      flex --help
>> *** Error code 1
>> make: Fatal error: Command failed for target `foo-lexer.c'
>>
> ... doesn't support the '--header-file' option.  This issue has been
> reported once already (in automake bug#12836, which I am CC:ing).
> The patch should take care of the issue.
> 
>  -*-*-*-
>
> Subject: [PATCH] tests: fix a spurious failure with older flex versions
> 
> See automake bug#11524 and bug#12836.
> 
> * t/lex-header.sh: Here, we use flex option '--header-file',
> but that option is not supported by some older flex versions.
> Simply skip this test if such an old flex version is detected.
> 
I've now pushed this patch (to maint).

Regards,
  Stefano



reply via email to

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