summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/config.m4 b/config.m4
index a6dade9..dddea2a 100644
--- a/config.m4
+++ b/config.m4
@@ -29,7 +29,7 @@ fi
29 29
30AC_MSG_CHECKING([for C11 support with -std=c11]) 30AC_MSG_CHECKING([for C11 support with -std=c11])
31old_CFLAGS="$CFLAGS" 31old_CFLAGS="$CFLAGS"
32CFLAGS+=" -std=c11" 32CFLAGS="${CFLAGS} -std=c11"
33AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[])],[AC_MSG_RESULT([yes])],[ 33AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[])],[AC_MSG_RESULT([yes])],[
34 AC_MSG_RESULT([no]) 34 AC_MSG_RESULT([no])
35 CFLAGS="$old_CFLAGS" 35 CFLAGS="$old_CFLAGS"
@@ -38,7 +38,7 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[])],[AC_MSG_RESULT([yes])],[
38 echo " support. Trying C99 instead, but compiling may fail." 38 echo " support. Trying C99 instead, but compiling may fail."
39 echo "==========================================================" 39 echo "=========================================================="
40 AC_MSG_CHECKING([for C99 support with -std=c99]) 40 AC_MSG_CHECKING([for C99 support with -std=c99])
41 CFLAGS+=" -std=c99" 41 CFLAGS="${CFLAGS} -std=c99"
42 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[])],[AC_MSG_RESULT([yes])],[ 42 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[])],[AC_MSG_RESULT([yes])],[
43 AC_MSG_RESULT([no]) 43 AC_MSG_RESULT([no])
44 CFLAGS="$old_CFLAGS" 44 CFLAGS="$old_CFLAGS"