changeset 15631:a1520c362025

Enable use of ncurses library cleanly.
author Michael I. Bushnell <mib@gnu.org>
date Sun, 07 Jul 1996 23:51:01 +0000
parents de5c3eda52fc
children b7fddad951a0
files src/s/gnu.h
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/s/gnu.h	Sun Jul 07 23:00:30 1996 +0000
+++ b/src/s/gnu.h	Sun Jul 07 23:51:01 1996 +0000
@@ -42,6 +42,12 @@
 #define TABDLY OXTABS
 #define TAB3 OXTABS
 
+/* Tell Emacs that we are a terminfo based system; disable the use
+   of local termcap.  (GNU uses ncurses.) */
+#ifdef HAVE_LIBNCURSES
+#define TERMINFO
+#define LIBS_TERMCAP -lncurses
+#endif
 
 #define SYSV_SYSTEM_DIR