activate c11 for gnulib tests

* configure.ac: Here.
This commit is contained in:
Alexandre Duret-Lutz 2015-11-10 13:36:21 +01:00
parent 1396b7f710
commit 0553842347

View file

@ -44,8 +44,10 @@ AC_PROG_CXX
AM_PROG_LEX AM_PROG_LEX
adl_CHECK_BISON 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. # Use -Werror since using -fvisibility under MinGW is only a warning.
# (The option is ignored anyway since this does not make sense under windows). # (The option is ignored anyway since this does not make sense under windows).