ax_prog_cc_for_build.m4 update is causing build failure in externally hosted CI (with autoconf < 2.70)
I have recently started receiving "build failure" notification from oss-fuzz, where we (gnutls) build libidn2 from git master. I can also reproduce it locally on my Fedora 33 machine:
./bootstrap ./configure checking whether the C compiler works... no configure: error: in `/home/ueno/devel/libidn2': configure: error: C compiler cannot create executables See `config.log' for more details
It seems to be caused by the recent update of ax_prog_cc_for_build.m4, which apparently relies on autoconf 2.70 or later:
(if that is the case, perhaps adding
AC_PREREQ(2.70) might be helpful).
I doubt that this is the right place to report it, but I wonder if you have any suggestions on how to fix / workaround? One option would be to use the released version of libidn2, either from the distribution package or the tarball.