AX_COMPILER_FLAGS_CFLAGS causes recursion issue on Chrome OS build
In configure.ac, the line
AX_COMPILER_FLAGS_CFLAGS(,,,[${DISABLED_WARNINGS}])
causes aclocal to fail:
***** aclocal *****
***** PWD: /build/cheza/tmp/portage/net-libs/libqmi-9999/work/libqmi-9999
***** aclocal -I m4 -I /build/cheza/usr/share/aclocal
/usr/bin/m4:configure.ac:66: recursion limit of 1024 exceeded, use -L<N> to change it
autom4te-2.69: /usr/bin/m4 failed with exit status: 1
aclocal-1.15: error: echo failed with exit status: 1
Commenting this line out allows the build to succeed. Is this a problem with our m4 version? If so, is it possible to check for a recent version of m4? (I found https://github.com/openstreetmap/osm2pgsql/issues/13 which seems similar and also concerns AX_
macros.)