diff options
-rw-r--r-- | configure.ac | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index ee5b626..67cccf2 100644 --- a/configure.ac +++ b/configure.ac @@ -33,7 +33,9 @@ AC_PROG_CC() AM_PROG_CC_C_O() AC_PROG_LN_S() -AX_CHECK_COMPILE_FLAG([-std=c99], [CFLAGS="${CFLAGS} -std=c99"], [], []) +AX_CHECK_COMPILE_FLAG([-std=c11], [CFLAGS="${CFLAGS} -std=c11"], [ + AX_CHECK_COMPILE_FLAG([-std=c1x], [CFLAGS="${CFLAGS} -std=c1x"], [], []) +], []) # Consider also: # * -Wchkp |