aboutsummaryrefslogtreecommitdiffstats
path: root/src/s/gnu.h
diff options
context:
space:
mode:
authorMichael I. Bushnell <[email protected]>1996-07-07 23:51:01 +0000
committerMichael I. Bushnell <[email protected]>1996-07-07 23:51:01 +0000
commit2abc0cca8884def527557395f1660eb72e82914c (patch)
tree0582a8b3aaa34fbd65c78681d21ec922521cef77 /src/s/gnu.h
parent0d7ed720123a8df22d6a690efdb98976d14c82b5 (diff)
Enable use of ncurses library cleanly.
Diffstat (limited to 'src/s/gnu.h')
-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 f90fe399e4..67c818848e 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