From: Tobias Brunner Date: Tue, 13 Sep 2022 15:25:12 +0000 (+0200) Subject: configure: Log if -Werror is enabled X-Git-Tag: 5.9.8dr4~11^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae9d110dd9eaaf2f414da7f19ce3f79f17652bef;p=thirdparty%2Fstrongswan.git configure: Log if -Werror is enabled --- diff --git a/configure.ac b/configure.ac index 0a083fbc08..b152456ba0 100644 --- a/configure.ac +++ b/configure.ac @@ -1448,9 +1448,13 @@ fi # modify CFLAGS as needed, do this late so we don't affect configure checks CFLAGS="$CFLAGS -include $(pwd)/config.h" +AC_MSG_CHECKING([for use of -Werror and additional warnings]) WARN_CFLAGS= if test x$warnings = xtrue; then WARN_CFLAGS="-Werror -Wall -Wextra" + AC_MSG_RESULT([yes]) +else + AC_MSG_RESULT([no]) fi # disable some warnings, whether explicitly enabled above or by default # these are not compatible with our custom printf specifiers