changeset 2229:773590bd2a8a

autoconf: Display the result of the --enable-sigwinch check AC_MSG_CHECKING was missing and AC_MSG_RESULT was not correctly used.
author Mikael Berthe <mikael@lilotux.net>
date Sun, 15 Nov 2015 16:28:27 +0100
parents 1afa40f1d80d
children f5659f0f9db8
files mcabber/configure.ac
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mcabber/configure.ac	Wed Nov 12 23:04:36 2014 +0200
+++ b/mcabber/configure.ac	Sun Nov 15 16:28:27 2015 +0100
@@ -73,13 +73,16 @@
 MC_TM_GMTOFF
 
 # Check if we must provide a SIGWINCH handler
+AC_MSG_CHECKING([if we use our own SIGWINCH handler])
 AC_ARG_ENABLE(sigwinch,
         AC_HELP_STRING([--enable-sigwinch], [compile with SIGWINCH handler]),
         [with_sigwinch=$enableval],
         [with_sigwinch=$with_ext_funcs])
-AC_MSG_RESULT($with_sigwinch)
 if test "$with_sigwinch" = yes; then
+    AC_MSG_RESULT($with_sigwinch)
     AC_DEFINE([USE_SIGWINCH], [], [Provide own SIGWINCH handler])
+else
+    AC_MSG_RESULT(no)
 fi
 
 # Checks for libraries.