diff --git a/configure.ac b/configure.ac index edbed79a5..580ce4a65 100644 --- a/configure.ac +++ b/configure.ac @@ -44,8 +44,10 @@ AC_PROG_CXX AM_PROG_LEX adl_CHECK_BISON -gl_INIT +# Activate at C11 for gnulib tests +AX_CHECK_COMPILE_FLAG([-std=c11], [CFLAGS="$CFLAGS -std=c11"]) +gl_INIT # Use -Werror since using -fvisibility under MinGW is only a warning. # (The option is ignored anyway since this does not make sense under windows).