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

@ -49,15 +49,15 @@ extern int input_fd;
extern int send_eof;
extern FILE *auxfp;
#ifndef _WIN32
#ifdef HAVE_CURSES_TERMINFO
void getsose(void);
void putso(void);
void putse(void);
#else /* !_WIN32 */
#else /* !HAVE_CURSES_TERMINFO */
#define getsose() ((void)0)
#define putso() ((void)0)
#define putse() ((void)0)
#endif /* !WIN32 */
#endif /* !HAVE_CURSES_TERMINFO */
int recvline(int s, char *buf);
int parseid(char *);
int expect(int s, int match, char *buf);