Mercurial > emacs
comparison src/s/gnu-linux.h @ 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 | 658f41757279 |
| children | bc1d2478d392 |
comparison
equal
deleted
inserted
replaced
| 14823:2935ee86a8f8 | 14824:f56bb68b6903 |
|---|---|
| 39 | 39 |
| 40 /* Check the version number of Linux--if it is at least 1.2.0, | 40 /* Check the version number of Linux--if it is at least 1.2.0, |
| 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 */ |
| 54 | 56 |
| 55 #define FIRST_PTY_LETTER 'p' | 57 #define FIRST_PTY_LETTER 'p' |
| 217 #endif | 219 #endif |
| 218 | 220 |
| 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 |
| 229 #endif | |
| 224 #endif | 230 #endif |
| 225 | 231 |
| 226 #define HAVE_SYSVIPC | 232 #define HAVE_SYSVIPC |
| 227 | 233 |
| 228 #ifdef __ELF__ | 234 #ifdef __ELF__ |
