summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorEmanuele Giaquinta <exg@irssi.org>2006-09-11 09:00:59 +0000
committerexg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564>2006-09-11 09:00:59 +0000
commit7063a004281690f7b58cfe66936af1b42f2bd9bd (patch)
tree5a9d261fe2cda94bebb1deec6e8538ca4fd7bbdd /configure.in
parent35f002957e476177423e82f84da950873d38f00d (diff)
downloadirssi-7063a004281690f7b58cfe66936af1b42f2bd9bd.zip
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
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in10
1 files 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
])