summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-03-17 18:07:42 +0000
committerRichard M. Stallman <rms@gnu.org>1996-03-17 18:07:42 +0000
commit61ec62567a1d05db8a7fe15b5a124c59b479e28a (patch)
tree8891ab5450df17ffaee671c63bb2342eb4251349
parentdd679d15eabbbb12714e0f60eb240aa6b2b2ca6c (diff)
downloademacs-61ec62567a1d05db8a7fe15b5a124c59b479e28a.tar.gz
(LINUX_SIGIO_DOES_WORK): Define only if HAVE_VERSION_H.
(TERMINFO): Don't define this.
-rw-r--r--src/s/gnu-linux.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h
index b8ac1479212..712b5ce5326 100644
--- a/src/s/gnu-linux.h
+++ b/src/s/gnu-linux.h
@@ -41,13 +41,15 @@ Boston, MA 02111-1307, USA. */
it is safe to use SIGIO. */
#ifndef NOT_C_CODE
#ifdef emacs
+#ifdef HAVE_VERSION_H
#include <linux/version.h>
#if LINUX_VERSION_CODE > 0x10200
#define LINUX_SIGIO_DOES_WORK
-#endif
-#endif
-#endif
+#endif /* LINUX_VERSION_CODE > 0x10200 */
+#endif /* HAVE_VERSION_H */
+#endif /* emacs */
+#endif /* NOT_C_CODE */
/* Letter to use in finding device name of first pty,
if system supports pty's. 'p' means it is /dev/ptyp0 */
@@ -219,9 +221,13 @@ Boston, MA 02111-1307, USA. */
/* Paul Abrahams <abrahams@equinox.shaysnet.com> says this is needed. */
#define LIB_MOTIF -lXm -lXpm
+#if 0 /* bobg@ipost.com reports that terminal type unknown, used by
+ comint.el, is broken "on Linux". I don't know which system
+ or version he means. */
#ifdef HAVE_NCURSES
#define TERMINFO
#endif
+#endif
#define HAVE_SYSVIPC