summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-02-20 13:40:49 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-02-20 13:40:49 +0000
commit141b4490b250f9634a8d3b42c2cf4738bc3a2924 (patch)
tree16f5daf6c9a2a6fe9f43ccd4f49bd03546f409c9
parent4d6a23b7b2c51fa3ea25f19755d73e2964d79adb (diff)
downloadirssi-141b4490b250f9634a8d3b42c2cf4738bc3a2924.zip
Resizing terminal works now right without resizeterm() function.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@125 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r--acconfig.h1
-rw-r--r--configure.in8
2 files changed, 8 insertions, 1 deletions
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