summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-07-07 23:51:01 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-07-07 23:51:01 +0000
commit35172d2377f0a93c3cf1df9cc20eec4524f57092 (patch)
treeae693d54d9bfdd9343ffe42f91323c5701a7e29b
parent856b2c8166b0e927ce4996fe33e23c50cfd758db (diff)
downloademacs-35172d2377f0a93c3cf1df9cc20eec4524f57092.tar.gz
Enable use of ncurses library cleanly.
-rw-r--r--src/s/gnu.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/s/gnu.h b/src/s/gnu.h
index f90fe399e46..67c818848e6 100644
--- a/src/s/gnu.h
+++ b/src/s/gnu.h
@@ -42,6 +42,12 @@ Boston, MA 02111-1307, USA. */
#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