]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
configure: Log if -Werror is enabled
authorTobias Brunner <tobias@strongswan.org>
Tue, 13 Sep 2022 15:25:12 +0000 (17:25 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 15 Sep 2022 10:16:12 +0000 (12:16 +0200)
configure.ac

index 0a083fbc08c52af0a27a38555829116ea5d72059..b152456ba0d34422ef058c85bb8497b2a27a7f7d 100644 (file)
@@ -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