mcabber/configure.ac
changeset 2229 773590bd2a8a
parent 2179 11a6318f30ad
child 2241 d703d6b42b32
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)