]> diplodocus.org Git - nmh/commitdiff
Remove checks for termcap.h and ncurses/termcap.h, since we're not using
authorKen Hornstein <kenh@pobox.com>
Fri, 3 Jan 2014 14:27:39 +0000 (09:27 -0500)
committerKen Hornstein <kenh@pobox.com>
Fri, 3 Jan 2014 14:27:39 +0000 (09:27 -0500)
those header files anymore.

configure.ac
h/prototypes.h

index 6d140bc2d94f5c1290c588b4038837e75f6cc211..7f011420065c06b42d3ce333bdd4db98c9c298c3 100644 (file)
@@ -358,8 +358,8 @@ AS_CASE(["$host_os"],
                 [CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"])])
 
 AC_HEADER_TIOCGWINSZ
                 [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>.]),,
 
 AC_CHECK_HEADER([sys/ptem.h], AC_DEFINE(WINSIZE_IN_PTEM,1,
   [Define to 1 if `struct winsize' requires <sys/ptem.h>.]),,
index 0c58310987ca37e5137a6e41b9758de4dcc22291..adedd6a218c4e23842b460644356c948525f5045 100644 (file)
@@ -6,18 +6,6 @@
  * as much as practical.
  */
 
  * 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
  */
 /*
  * prototype from config.h
  */