summaryrefslogtreecommitdiff
path: root/src/cm.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2010-03-12 11:34:27 -0500
committerEli Zaretskii <eliz@gnu.org>2010-03-12 11:34:27 -0500
commit6da23aaa4fff0063dd880aee9c45544bd2488029 (patch)
treeae9a34e6d76768cfdf4b10fdb644bfffd937241d /src/cm.c
parent92e0131af775092ff889fb12969c06b728324f3b (diff)
downloademacs-6da23aaa4fff0063dd880aee9c45544bd2488029.tar.gz
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/cm.c')
-rw-r--r--src/cm.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/cm.c b/src/cm.c
index f6bf37cb7db..73d3791074e 100644
--- a/src/cm.c
+++ b/src/cm.c
@@ -33,13 +33,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
/* 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 char *tgoto P_ ((const char *, int, int));
-#endif
#define BIG 9999 /* 9999 good on VAXen. For 16 bit machines
use about 2000.... */