diff src/term.c @ 107376:5a46c741f65e

Don't use termcap.c on Posix platforms, only on MS-DOS. configure.in <AC_CHECK_HEADERS>: Remove termcap.h. configure: Regenerated. src/Makefilie.in (termcapobj): Move termcap.o from here... (MSDOS_OBJ): ...to here. (termcapobj) [!LIBS_TERMCAP]: Remove specialized value, as it is now identical to when LIBS_TERMCAP is defined. src/term.c: Remove (ifdef'ed away) inclusion of termcap.h. src/cm.c: Remove (ifdef'ed away) inclusion of termcap.h. src/config.in: Regenerated.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 12 Mar 2010 11:34:27 -0500
parents f32d789c9aab
children a744b1df50bd
line wrap: on
line diff
--- a/src/term.c	Fri Mar 12 00:07:18 2010 -0800
+++ b/src/term.c	Fri Mar 12 11:34:27 2010 -0500
@@ -66,15 +66,10 @@
 /* For now, don't try to include termcap.h.  On some systems,
    configure finds a non-standard termcap.h that the main build
    won't find.  */
-
-#if defined HAVE_TERMCAP_H && 0
-#include <termcap.h>
-#else
 extern void tputs P_ ((const char *, int, int (*)(int)));
 extern int tgetent P_ ((char *, const char *));
 extern int tgetflag P_ ((char *id));
 extern int tgetnum P_ ((char *id));
-#endif
 
 #include "cm.h"
 #ifdef HAVE_X_WINDOWS