Don't try to include termcap.h; see comment there.
authorGerd Moellmann <gerd@gnu.org>
Tue, 21 Nov 2000 12:05:08 +0000 (12:05 +0000)
committerGerd Moellmann <gerd@gnu.org>
Tue, 21 Nov 2000 12:05:08 +0000 (12:05 +0000)
src/ChangeLog
src/cm.c
src/term.c

index 07b35a0..8caa4e4 100644 (file)
@@ -1,3 +1,7 @@
+2000-11-21  Gerd Moellmann  <gerd@gnu.org>
+
+       * term.c, cm.c: Don't try to include termcap.h; see comment there.
+
 2000-11-21  Kenichi Handa  <handa@etl.go.jp>
 
        * s/sol2-5.h: Move #undef USE_MMAP_FOR_BUFFERS out of #if 0
index 144baa8..56a1160 100644 (file)
--- a/src/cm.c
+++ b/src/cm.c
@@ -25,7 +25,11 @@ Boston, MA 02111-1307, USA.  */
 #include "cm.h"
 #include "termhooks.h"
 
-#ifdef HAVE_TERMCAP_H
+/* 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)));
index fc96d7d..8e1443f 100644 (file)
@@ -38,7 +38,11 @@ Boston, MA 02111-1307, USA.  */
 #include "dispextern.h"
 #include "window.h"
 
-#ifdef HAVE_TERMCAP_H
+/* 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)));