Don't use AC_CHECK_FUNCS(snprintf) which doesn't work with the latest MinGW API headers (see https://sourceforge.net/p/mingw-w64/bugs/935/) and some other minor cleanup. See #22302.
Don't use AC_CHECK_FUNCS(snprintf) which doesn't work with the latest MinGW API headers (see https://sourceforge.net/p/mingw-w64/bugs/935/) and some other minor cleanup. See #22302.