diff options
Diffstat (limited to 'config.m4')
| -rw-r--r-- | config.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -29,7 +29,7 @@ fi | |||
| 29 | 29 | ||
| 30 | AC_MSG_CHECKING([for C11 support with -std=c11]) | 30 | AC_MSG_CHECKING([for C11 support with -std=c11]) |
| 31 | old_CFLAGS="$CFLAGS" | 31 | old_CFLAGS="$CFLAGS" |
| 32 | CFLAGS+=" -std=c11" | 32 | CFLAGS="${CFLAGS} -std=c11" |
| 33 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[])],[AC_MSG_RESULT([yes])],[ | 33 | AC_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" |
