From 141b4490b250f9634a8d3b42c2cf4738bc3a2924 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sun, 20 Feb 2000 13:40:49 +0000 Subject: [PATCH] Resizing terminal works now right without resizeterm() function. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@125 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- acconfig.h | 1 + configure.in | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/acconfig.h b/acconfig.h index c2b9ee33..e69d99c1 100644 --- a/acconfig.h +++ b/acconfig.h @@ -33,6 +33,7 @@ /* our own curses checks */ #undef HAVE_NCURSES_USE_DEFAULT_COLORS #undef HAVE_CURSES_IDCOK +#undef HAVE_CURSES_RESIZETERM /* nls */ #undef ENABLE_NLS diff --git a/configure.in b/configure.in index 63a64463..3ff146ff 100644 --- a/configure.in +++ b/configure.in @@ -1,7 +1,7 @@ AC_INIT(src) AM_CONFIG_HEADER(config.h) -AM_INIT_AUTOMAKE(irssi, 0.7.25) +AM_INIT_AUTOMAKE(irssi, 0.7.26) AM_MAINTAINER_MODE @@ -311,10 +311,16 @@ if test "x$want_textui" = "xyes"; then AC_CHECK_LIB(ncurses, idcok, [ AC_DEFINE(HAVE_CURSES_IDCOK) ],, $CURSES_LIBS) + AC_CHECK_LIB(ncurses, resizeterm, [ + AC_DEFINE(HAVE_CURSES_RESIZETERM) + ],, $CURSES_LIBS) else AC_CHECK_LIB(curses, idcok, [ AC_DEFINE(HAVE_CURSES_IDCOK) ],, $CURSES_LIBS) + AC_CHECK_LIB(curses, resizeterm, [ + AC_DEFINE(HAVE_CURSES_RESIZETERM) + ],, $CURSES_LIBS) fi if test "$has_curses" != "true"; then