patch to avoid using -fdiagnostics compiler flags which are not supported by our gcc, but AX_CFLAGS_GCC_OPTION thinks they are valid
patch to avoid using -fdiagnostics compiler flags which are not supported by our gcc, but AX_CFLAGS_GCC_OPTION thinks they are valid