From aa7fcbb0d4fce319323e9039c9ea2040e263d6d0 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 17 Mar 1996 18:07:42 +0000 Subject: [PATCH] (LINUX_SIGIO_DOES_WORK): Define only if HAVE_VERSION_H. (TERMINFO): Don't define this. --- src/s/gnu-linux.h | 12 +++++++++--- 1 file 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 #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 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 -- 2.39.2