Add AX_CHECK_COMPILE_FLAG (from Autotools packages)

It's fix the build with Clang and --enable-werror, don't support -WClobberred and display error about unknown warning option
error: unknown warning option '-Wclobbered'; did you mean '-Wconsumed'? [-Werror,-Wunknown-warning-option]

Add also some other flag...