comparison src/s/gnu-linux.h @ 15478:0be0ca99aa9a

Renamed from lignux.h. (SYSTEM_TYPE): Changed to gnu/linux.
author Richard M. Stallman <rms@gnu.org>
date Fri, 21 Jun 1996 21:36:07 +0000
parents 9f223b2f92ac
children dcd2d760053a
comparison
equal deleted inserted replaced
15477:eddac6796ebd 15478:0be0ca99aa9a
1 /* This file is the configuration file for Lignux systems 1 /* This file is the configuration file for Linux-based GNU systems
2 (that is, Linux-based GNU operating systems.)
3 Copyright (C) 1985, 1986, 1992, 1994, 1996 Free Software Foundation, Inc. 2 Copyright (C) 1985, 1986, 1992, 1994, 1996 Free Software Foundation, Inc.
4 3
5 This file is part of GNU Emacs. 4 This file is part of GNU Emacs.
6 5
7 GNU Emacs is free software; you can redistribute it and/or modify 6 GNU Emacs is free software; you can redistribute it and/or modify
34 #define LINUX 33 #define LINUX
35 34
36 /* SYSTEM_TYPE should indicate the kind of system you are using. 35 /* SYSTEM_TYPE should indicate the kind of system you are using.
37 It sets the Lisp variable system-type. */ 36 It sets the Lisp variable system-type. */
38 37
39 #define SYSTEM_TYPE "lignux" /* All the best software is free. */ 38 #define SYSTEM_TYPE "gnu/linux" /* All the best software is free. */
40 39
41 /* 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,
42 it is safe to use SIGIO. */ 41 it is safe to use SIGIO. */
43 #ifndef NOT_C_CODE 42 #ifndef NOT_C_CODE
44 #ifdef emacs 43 #ifdef emacs
89 /* define MAIL_USE_FLOCK if the mailer uses flock 88 /* define MAIL_USE_FLOCK if the mailer uses flock
90 to interlock access to /usr/spool/mail/$USER. 89 to interlock access to /usr/spool/mail/$USER.
91 The alternative is that a lock file named 90 The alternative is that a lock file named
92 /usr/spool/mail/$USER.lock. */ 91 /usr/spool/mail/$USER.lock. */
93 92
94 /* Both are used in Linux by different mail programs. I assume that most 93 /* On GNU/Linux systems, both methods are used by various mail
95 people are using newer mailers that have heard of flock. Change this 94 programs. I assume that most people are using newer mailers that
96 if you need to. */ 95 have heard of flock. Change this if you need to. */
97 96
98 #define MAIL_USE_FLOCK 97 #define MAIL_USE_FLOCK
99 98
100 /* Define CLASH_DETECTION if you want lock files to be written 99 /* Define CLASH_DETECTION if you want lock files to be written
101 so that Emacs can tell instantly when you try to modify 100 so that Emacs can tell instantly when you try to modify
149 148
150 /* Ask GCC where to find libgcc.a. */ 149 /* Ask GCC where to find libgcc.a. */
151 #define LIB_GCC `$(CC) $(C_SWITCH_X_SITE) -print-libgcc-file-name` 150 #define LIB_GCC `$(CC) $(C_SWITCH_X_SITE) -print-libgcc-file-name`
152 151
153 #ifndef __ELF__ 152 #ifndef __ELF__
154 /* Linux has crt0.o in a non-standard place */ 153 /* GNU/Linux usually has crt0.o in a non-standard place */
155 #define START_FILES pre-crt0.o /usr/lib/crt0.o 154 #define START_FILES pre-crt0.o /usr/lib/crt0.o
156 #else 155 #else
157 #define START_FILES pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o 156 #define START_FILES pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o
158 #endif 157 #endif
159 158
168 This works ok in src. Luckily lib-src does not use LD_SWITCH_SYSTEM. */ 167 This works ok in src. Luckily lib-src does not use LD_SWITCH_SYSTEM. */
169 #define LD_SWITCH_SYSTEM `./prefix-args -Xlinker LD_SWITCH_X_SITE_AUX` 168 #define LD_SWITCH_SYSTEM `./prefix-args -Xlinker LD_SWITCH_X_SITE_AUX`
170 #endif /* GCC */ 169 #endif /* GCC */
171 #endif /* __ELF__ */ 170 #endif /* __ELF__ */
172 171
173 /* As of version 1.1.51, Linux does not actually implement SIGIO. */ 172 /* As of version 1.1.51, Linux did not actually implement SIGIO.
173 But it works in newer versions. */
174 /* Here we assume that signal.h is already included. */ 174 /* Here we assume that signal.h is already included. */
175 #ifdef emacs 175 #ifdef emacs
176 #ifdef LINUX_SIGIO_DOES_WORK 176 #ifdef LINUX_SIGIO_DOES_WORK
177 #define INTERRUPT_INPUT 177 #define INTERRUPT_INPUT
178 #else 178 #else