Autoconfigure use of terminfo

New configure --with-terminfo.  Before, terminfo was assumed to be
available everywhere but on Windows.
This commit is contained in:
Markus Armbruster 2009-04-19 15:42:19 +02:00
parent e049ad6a56
commit dfb6620203
5 changed files with 39 additions and 9 deletions

View file

@ -34,7 +34,7 @@
#include <config.h>
#ifndef _WIN32
#ifdef HAVE_CURSES_TERMINFO
#include <curses.h>
#include <stdio.h>
@ -77,4 +77,4 @@ putse(void)
putp(rmso);
}
#endif /* !_WIN32 */
#endif /* HAVE_CURSES_TERMINFO */