diff options
author | Haru <haru@dotalux.com> | 2018-09-23 15:55:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-23 15:55:01 +0200 |
commit | 211df88ef832810792da9e76e9beb3bb6fe45103 (patch) | |
tree | 732db250b0b6858f6cc60b671318bd3c66ae1e25 /configure | |
parent | f14bb88b2c0d95fd7c1b69db9d367b8a74cfb285 (diff) | |
parent | bb5897b1d3323e8e9d2fd0fd45e2dd41679e9d30 (diff) | |
download | hercules-211df88ef832810792da9e76e9beb3bb6fe45103.tar.gz hercules-211df88ef832810792da9e76e9beb3bb6fe45103.tar.bz2 hercules-211df88ef832810792da9e76e9beb3bb6fe45103.tar.xz hercules-211df88ef832810792da9e76e9beb3bb6fe45103.zip |
Merge pull request #2199 from 4144/updatepackets
Update packets up to 2018-09-19
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 51 |
1 files changed, 50 insertions, 1 deletions
@@ -1,5 +1,5 @@ #! /bin/sh -# From configure.ac 234189f34. +# From configure.ac 150dff284. # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.69. # @@ -7585,6 +7585,55 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5 +$as_echo_n "checking whether $CC supports -Wvla... " >&6; } + OLD_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -Werror -Wvla" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +int foo; +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + CFLAGS="$OLD_CFLAGS -Wvla" + # Optionally, run a test + if test "x" != "x"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC can actually use -Wvla" >&5 +$as_echo_n "checking whether $CC can actually use -Wvla... " >&6; } + CFLAGS="$OLD_CFLAGS -Werror -Wvla" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + CFLAGS="$OLD_CFLAGS" + + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + CFLAGS="$OLD_CFLAGS -Wvla" + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + CFLAGS="$OLD_CFLAGS" + + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wno-format-nonliteral" >&5 $as_echo_n "checking whether $CC supports -Wno-format-nonliteral... " >&6; } OLD_CFLAGS="$CFLAGS" |