changeset 14824:f56bb68b6903

(LINUX_SIGIO_DOES_WORK): Define only if HAVE_VERSION_H. (TERMINFO): Don't define this.
author Richard M. Stallman <rms@gnu.org>
date Sun, 17 Mar 1996 18:07:42 +0000
parents 2935ee86a8f8
children 1c8e58bf36fe
files src/s/gnu-linux.h
diffstat 1 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/s/gnu-linux.h	Sun Mar 17 18:05:32 1996 +0000
+++ b/src/s/gnu-linux.h	Sun Mar 17 18:07:42 1996 +0000
@@ -41,13 +41,15 @@
    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 @@
 /* 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