Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
107375:8e2f9c04da7c | 107376:5a46c741f65e |
---|---|
64 #endif | 64 #endif |
65 | 65 |
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 | |
73 extern void tputs P_ ((const char *, int, int (*)(int))); | 69 extern void tputs P_ ((const char *, int, int (*)(int))); |
74 extern int tgetent P_ ((char *, const char *)); | 70 extern int tgetent P_ ((char *, const char *)); |
75 extern int tgetflag P_ ((char *id)); | 71 extern int tgetflag P_ ((char *id)); |
76 extern int tgetnum P_ ((char *id)); | 72 extern 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 |
81 #include "xterm.h" | 76 #include "xterm.h" |
82 #endif | 77 #endif |