mirror of
https://github.com/irssi/irssi.git
synced 2026-08-19 08:32:07 +02:00
curses fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@720 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
c5add0e0a4
commit
5798a32b17
2 changed files with 15 additions and 6 deletions
15
curses.m4
15
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
|
||||
])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue