aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 1577c86..12990a5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,6 +20,9 @@ PKG_PROG_PKG_CONFIG
COMPILER_FLAGS
+AX_CHECK_COMPILE_FLAG([-Wimplicit-fallthrough=2], have_gcc7=yes)
+AM_CONDITIONAL(GCC7, test "${have_gcc7}" = "yes")
+
AC_LANG_C
AC_PROG_CC