curses fixes

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@720 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-10-04 04:01:45 +00:00 committed by cras
commit 5798a32b17
2 changed files with 15 additions and 6 deletions

View file

@ -233,7 +233,7 @@ if test "x$want_textui" = "xyes"; then
AC_CHECK_LIB(ncurses, wresize, [
AC_DEFINE(HAVE_CURSES_WRESIZE)
],, $CURSES_LIBS)
else
elif test "x$has_curses" = "xtrue"; then
AC_CHECK_LIB(curses, idcok, [
AC_DEFINE(HAVE_CURSES_IDCOK)
],, $CURSES_LIBS)
@ -243,9 +243,7 @@ if test "x$want_textui" = "xyes"; then
AC_CHECK_LIB(curses, wresize, [
AC_DEFINE(HAVE_CURSES_WRESIZE)
],, $CURSES_LIBS)
fi
if test "$has_curses" != "true"; then
else
want_textui=no
curses_error=yes
fi