Mercurial > ~mikael > mcabber > hg
comparison mcabber/configure.ac @ 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 | 11a6318f30ad |
children | d703d6b42b32 |
comparison
equal
deleted
inserted
replaced
2228:1afa40f1d80d | 2229:773590bd2a8a |
---|---|
71 | 71 |
72 # Check for tm_gmtoff | 72 # Check for tm_gmtoff |
73 MC_TM_GMTOFF | 73 MC_TM_GMTOFF |
74 | 74 |
75 # Check if we must provide a SIGWINCH handler | 75 # Check if we must provide a SIGWINCH handler |
76 AC_MSG_CHECKING([if we use our own SIGWINCH handler]) | |
76 AC_ARG_ENABLE(sigwinch, | 77 AC_ARG_ENABLE(sigwinch, |
77 AC_HELP_STRING([--enable-sigwinch], [compile with SIGWINCH handler]), | 78 AC_HELP_STRING([--enable-sigwinch], [compile with SIGWINCH handler]), |
78 [with_sigwinch=$enableval], | 79 [with_sigwinch=$enableval], |
79 [with_sigwinch=$with_ext_funcs]) | 80 [with_sigwinch=$with_ext_funcs]) |
80 AC_MSG_RESULT($with_sigwinch) | |
81 if test "$with_sigwinch" = yes; then | 81 if test "$with_sigwinch" = yes; then |
82 AC_MSG_RESULT($with_sigwinch) | |
82 AC_DEFINE([USE_SIGWINCH], [], [Provide own SIGWINCH handler]) | 83 AC_DEFINE([USE_SIGWINCH], [], [Provide own SIGWINCH handler]) |
84 else | |
85 AC_MSG_RESULT(no) | |
83 fi | 86 fi |
84 | 87 |
85 # Checks for libraries. | 88 # Checks for libraries. |
86 | 89 |
87 AC_CHECK_LIB(charset, locale_charset) | 90 AC_CHECK_LIB(charset, locale_charset) |