summaryrefslogtreecommitdiff
path: root/curses.m4
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-10-04 04:01:45 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-10-04 04:01:45 +0000
commit5798a32b1733f63e694d3038d73c0039afe79bbc (patch)
tree4d5e20084c4b5d70c6826656cfec340c511ce723 /curses.m4
parentc5add0e0a42f75c216565cedf5e39532c56f33bb (diff)
downloadirssi-5798a32b1733f63e694d3038d73c0039afe79bbc.zip
curses fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@720 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'curses.m4')
-rw-r--r--curses.m415
1 files changed, 13 insertions, 2 deletions
diff --git a/curses.m4 b/curses.m4
index f1f243b8..2b29619c 100644
--- a/curses.m4
+++ b/curses.m4
@@ -139,8 +139,6 @@ AC_DEFUN(AC_CHECK_CURSES,[
then
AC_SEARCH_NCURSES()
fi
-
-
])
@@ -278,5 +276,18 @@ USE_NCURSES
AC_USE_SUNOS_CURSES
fi
fi
+
+ dnl use whatever curses there happens to be
+ if $search_ncurses
+ then
+ if test -f /usr/include/curses.h
+ then
+ CURSES_LIBS="-lcurses"
+ AC_DEFINE(HAS_CURSES)
+ has_curses=true
+ search_ncurses=false
+ screen_manager="curses"
+ fi
+ fi
])