aboutsummaryrefslogtreecommitdiffstats
path: root/src/term.c
diff options
context:
space:
mode:
authorEli Zaretskii2010-03-12 11:34:27 -0500
committerEli Zaretskii2010-03-12 11:34:27 -0500
commit6da23aaa4fff0063dd880aee9c45544bd2488029 (patch)
treeae9a34e6d76768cfdf4b10fdb644bfffd937241d /src/term.c
parent92e0131af775092ff889fb12969c06b728324f3b (diff)
downloademacs-6da23aaa4fff0063dd880aee9c45544bd2488029.tar.gz
emacs-6da23aaa4fff0063dd880aee9c45544bd2488029.zip
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.
Diffstat (limited to 'src/term.c')
-rw-r--r--src/term.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/term.c b/src/term.c
index 7adaeeac1ae..89b39767f56 100644
--- a/src/term.c
+++ b/src/term.c
@@ -66,15 +66,10 @@ static int been_here = -1;
66/* For now, don't try to include termcap.h. On some systems, 66/* For now, don't try to include termcap.h. On some systems,
67 configure finds a non-standard termcap.h that the main build 67 configure finds a non-standard termcap.h that the main build
68 won't find. */ 68 won't find. */
69
70#if defined HAVE_TERMCAP_H && 0
71#include <termcap.h>
72#else
73extern void tputs P_ ((const char *, int, int (*)(int))); 69extern void tputs P_ ((const char *, int, int (*)(int)));
74extern int tgetent P_ ((char *, const char *)); 70extern int tgetent P_ ((char *, const char *));
75extern int tgetflag P_ ((char *id)); 71extern int tgetflag P_ ((char *id));
76extern int tgetnum P_ ((char *id)); 72extern int tgetnum P_ ((char *id));
77#endif
78 73
79#include "cm.h" 74#include "cm.h"
80#ifdef HAVE_X_WINDOWS 75#ifdef HAVE_X_WINDOWS