diff options
| author | Richard M. Stallman | 1996-03-17 18:07:42 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-03-17 18:07:42 +0000 |
| commit | aa7fcbb0d4fce319323e9039c9ea2040e263d6d0 (patch) | |
| tree | 4c527b4e1196e6284d600145ca0692926e80638b /src/s/gnu-linux.h | |
| parent | c9bf9238c540cd3f0064b3d0cb03873338c2b85a (diff) | |
| download | emacs-aa7fcbb0d4fce319323e9039c9ea2040e263d6d0.tar.gz emacs-aa7fcbb0d4fce319323e9039c9ea2040e263d6d0.zip | |
(LINUX_SIGIO_DOES_WORK): Define only if HAVE_VERSION_H.
(TERMINFO): Don't define this.
Diffstat (limited to 'src/s/gnu-linux.h')
| -rw-r--r-- | src/s/gnu-linux.h | 12 |
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. */ | |||
| 41 | it is safe to use SIGIO. */ | 41 | it is safe to use SIGIO. */ |
| 42 | #ifndef NOT_C_CODE | 42 | #ifndef NOT_C_CODE |
| 43 | #ifdef emacs | 43 | #ifdef emacs |
| 44 | #ifdef HAVE_VERSION_H | ||
| 44 | #include <linux/version.h> | 45 | #include <linux/version.h> |
| 45 | 46 | ||
| 46 | #if LINUX_VERSION_CODE > 0x10200 | 47 | #if LINUX_VERSION_CODE > 0x10200 |
| 47 | #define LINUX_SIGIO_DOES_WORK | 48 | #define LINUX_SIGIO_DOES_WORK |
| 48 | #endif | 49 | #endif /* LINUX_VERSION_CODE > 0x10200 */ |
| 49 | #endif | 50 | #endif /* HAVE_VERSION_H */ |
| 50 | #endif | 51 | #endif /* emacs */ |
| 52 | #endif /* NOT_C_CODE */ | ||
| 51 | 53 | ||
| 52 | /* Letter to use in finding device name of first pty, | 54 | /* Letter to use in finding device name of first pty, |
| 53 | if system supports pty's. 'p' means it is /dev/ptyp0 */ | 55 | if system supports pty's. 'p' means it is /dev/ptyp0 */ |
| @@ -219,9 +221,13 @@ Boston, MA 02111-1307, USA. */ | |||
| 219 | /* Paul Abrahams <abrahams@equinox.shaysnet.com> says this is needed. */ | 221 | /* Paul Abrahams <abrahams@equinox.shaysnet.com> says this is needed. */ |
| 220 | #define LIB_MOTIF -lXm -lXpm | 222 | #define LIB_MOTIF -lXm -lXpm |
| 221 | 223 | ||
| 224 | #if 0 /* bobg@ipost.com reports that terminal type unknown, used by | ||
| 225 | comint.el, is broken "on Linux". I don't know which system | ||
| 226 | or version he means. */ | ||
| 222 | #ifdef HAVE_NCURSES | 227 | #ifdef HAVE_NCURSES |
| 223 | #define TERMINFO | 228 | #define TERMINFO |
| 224 | #endif | 229 | #endif |
| 230 | #endif | ||
| 225 | 231 | ||
| 226 | #define HAVE_SYSVIPC | 232 | #define HAVE_SYSVIPC |
| 227 | 233 | ||