From 7063a004281690f7b58cfe66936af1b42f2bd9bd Mon Sep 17 00:00:00 2001 From: Emanuele Giaquinta Date: Mon, 11 Sep 2006 09:00:59 +0000 Subject: [PATCH] Make tests specific to the curses interface conditional to $want_terminfo = no. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4337 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- configure.in | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/configure.in b/configure.in index fff40b4c..a6cdc3a2 100644 --- a/configure.in +++ b/configure.in @@ -603,10 +603,12 @@ if test "x$want_textui" = "xyes"; then if test "x$has_curses" = "xtrue"; then old_libs=$LIBS LIBS="$LIBS $CURSES_LIBS" - AC_CHECK_FUNC(use_default_colors, AC_DEFINE(HAVE_NCURSES_USE_DEFAULT_COLORS)) - AC_CHECK_FUNC(idcok, AC_DEFINE(HAVE_CURSES_IDCOK)) - AC_CHECK_FUNC(resizeterm, AC_DEFINE(HAVE_CURSES_RESIZETERM)) - AC_CHECK_FUNC(wresize, AC_DEFINE(HAVE_CURSES_WRESIZE)) + if test $want_terminfo = no; then + AC_CHECK_FUNC(use_default_colors, AC_DEFINE(HAVE_NCURSES_USE_DEFAULT_COLORS)) + AC_CHECK_FUNC(idcok, AC_DEFINE(HAVE_CURSES_IDCOK)) + AC_CHECK_FUNC(resizeterm, AC_DEFINE(HAVE_CURSES_RESIZETERM)) + AC_CHECK_FUNC(wresize, AC_DEFINE(HAVE_CURSES_WRESIZE)) + fi AC_CHECK_FUNC(setupterm,, [ want_termcap=yes ])