On 15 June 2017 at 16:20, Maxim Uvarov <maxim.uva...@linaro.org> wrote:
> On 06/15/17 11:50, Dmitry Eremin-Solenikov wrote:
>> On 15.06.2017 11:47, shally verma wrote:
>>> Does it mean that going further there would be certain limitation on
>>> gcc version to be used? I just tried to compile next branch and
>>> ./configure throws an error
>>>
>>> ./configure: line 22786: syntax error near unexpected token
>>> `-Wimplicit-fallthrough=0,'
>>> ./configure: line 22786: `AX_CHECK_COMPILE_FLAG(-Wimplicit-fallthrough=0,'
>>
>> Install autoconf-archive package and rerun aclocal.
>>
>> Maybe we should reconsider and include ax_check_compile_flag.m4 file?
>>
>
> I think ./configure has to fail with valid error, not just terminate in
> some code.

Try adding m4_pattern_forbid([^_?AX_[A-Z_]+$]) near the top of configure.ac

I did not test it myself, but it might help.


-- 
With best wishes
Dmitry

Reply via email to