[CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"])])
AC_HEADER_TIOCGWINSZ
-AC_CHECK_HEADERS([fcntl.h ncurses/termcap.h termcap.h langinfo.h \
- wchar.h wctype.h sys/param.h sys/time.h sys/stream.h])
+AC_CHECK_HEADERS([fcntl.h langinfo.h wchar.h wctype.h sys/param.h \
+ sys/time.h sys/stream.h])
AC_CHECK_HEADER([sys/ptem.h], AC_DEFINE(WINSIZE_IN_PTEM,1,
[Define to 1 if `struct winsize' requires <sys/ptem.h>.]),,
* as much as practical.
*/
-/*
- * missing system prototypes
- */
-#if ! defined(HAVE_TERMCAP_H) && ! defined (HAVE_NCURSES_TERMCAP_H)
- extern int tgetent (char *bp, char *name);
- extern int tgetnum (char *id);
- extern int tgetflag (char *id);
- extern char *tgetstr (char *id, char **area);
- extern char *tgoto (char *cm, int destcol, int destline);
- extern int tputs (char *cp, int affcnt, int (*outc) (int));
-#endif
-
/*
* prototype from config.h
*/