diff options
| author | Eli Zaretskii | 2010-03-12 11:34:27 -0500 |
|---|---|---|
| committer | Eli Zaretskii | 2010-03-12 11:34:27 -0500 |
| commit | 6da23aaa4fff0063dd880aee9c45544bd2488029 (patch) | |
| tree | ae9a34e6d76768cfdf4b10fdb644bfffd937241d /src/term.c | |
| parent | 92e0131af775092ff889fb12969c06b728324f3b (diff) | |
| download | emacs-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.c | 5 |
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 | ||
| 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 |