From: Ken Hornstein Date: Fri, 3 Jan 2014 14:27:39 +0000 (-0500) Subject: Remove checks for termcap.h and ncurses/termcap.h, since we're not using X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/3ded1483f68e20335202b24002cbba2e9ef80c85?hp=4eaa35207bacee170f0bcf99837ce7fc8b6f0a70 Remove checks for termcap.h and ncurses/termcap.h, since we're not using those header files anymore. --- diff --git a/configure.ac b/configure.ac index 6d140bc2..7f011420 100644 --- a/configure.ac +++ b/configure.ac @@ -358,8 +358,8 @@ AS_CASE(["$host_os"], [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 .]),, diff --git a/h/prototypes.h b/h/prototypes.h index 0c583109..adedd6a2 100644 --- a/h/prototypes.h +++ b/h/prototypes.h @@ -6,18 +6,6 @@ * 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 */