Fix fixinclude's configure{,.ac}

Tristan Gingold gingold@adacore.com
Tue May 22 09:39:00 GMT 2012


On May 22, 2012, at 11:20 AM, Tobias Burnus wrote:

> Dear all,
> 
> an --enable-maintainers-build fails here with:
> 
> configure.ac:99: error: possibly undefined macro: gcc_AC_FUNC_MMAP_BLACKLIST
>      If this token and others are legitimate, please use m4_pattern_allow.
>      See the Autoconf documentation.
> make[3]: *** [fixincludes/configure] Error 1
> 
> Looking at Tristan's commit Rev. 186106 of 2012-04-03, the change gcc_ -> GCC_ is missing. It also looks as if the fixinclude/ config files where not regenerated, even though there was a later patch by Tristan which touches fixinclude's config files (Rev. 186759 of 2012-04-24).

Indeed, I failed to notice that fixinclude was using ../gcc/config.m4.

I think it would also make sense to remove '-I ../gcc' from ACLOCAL_AMFLAGS of fixincludes/Makefile.in

Thank you for having noticed and fixed this bug,
Tristan.

[ Bruce CC as he is the maintained of fixinclude]

> 
> OK for the trunk? (I think it is really obvious.)
> 
> Tobias
> <fixinclude.diff>



More information about the Gcc-patches mailing list