Incorrect call to AX_CXX_COMPILE_STDCXX_17
This patch 497acbd59a3552460e9ebebec877835afee6b6ba broke the ImageMagick oss-fuzz build that also uses this repository. The AX_CXX_COMPILE_STDCXX_17 macro requires two arguments ([ext|noext], [mandatory|optional]). I don't know what they should be so I cannot make a pull request but can you please fix this so our oss-fuzz build works again?
It looks like we should switch to a cmake build. It might be a good idea to remove the old build scripts?
Strange, for me it works without giving any parameters. The comments (for AX_CXX_COMPILE_STDCXX_11) also say that they are optional. Does it work now?
It looks like we should switch to a cmake build. It might be a good idea to remove the old build scripts?
Yes, please switch to the cmake build. I would like to remove the old autotools build as soon as it is not used anymore.
I switched to the cmake build and that works. And it looks like the compilation is still broken:
126.6 ./configure: line 18081: syntax error near unexpected token `17,'
126.6 ./configure: line 18081: `AX_CXX_COMPILE_STDCXX(17, noext, mandatory)'
So this might be something else? Maybe you need to use https://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx.html instead? But it's probably a good idea to remove the old scripts instead of trying to fix them?
Yes, a missing ax_cxx_compile_stdcxx.m4 could well be the case. For me, it's installed system-wide. I've included it now in the m4 directory.
I will remove the configure script once our own CI does not need it anymore.