forked from PsychoticNinja/irssi
Resizing terminal works now right without resizeterm() function.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@125 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
4d6a23b7b2
commit
141b4490b2
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user