aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1996-03-17 18:07:42 +0000
committerRichard M. Stallman <[email protected]>1996-03-17 18:07:42 +0000
commitaa7fcbb0d4fce319323e9039c9ea2040e263d6d0 (patch)
tree4c527b4e1196e6284d600145ca0692926e80638b
parentc9bf9238c540cd3f0064b3d0cb03873338c2b85a (diff)
(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 b8ac147921..712b5ce532 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 <[email protected]> says this is needed. */
#define LIB_MOTIF -lXm -lXpm
+#if 0 /* [email protected] 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