Mercurial > emacs
annotate src/s/gnu-linux.h @ 14186:ee40177f6c68
Update FSF's address in the preamble.
| author | Erik Naggum <erik@naggum.no> |
|---|---|
| date | Mon, 15 Jan 1996 09:18:04 +0000 |
| parents | a23518a56ba6 |
| children | f4cc1bc9ec2c |
| rev | line source |
|---|---|
|
12306
173396dad212
(LIB_GCC): Define here, overriding Makefile.in.in,
Richard M. Stallman <rms@gnu.org>
parents:
11828
diff
changeset
|
1 /* This file is the configuration file for GNU/Linux operating systems. |
| 7307 | 2 Copyright (C) 1985, 1986, 1992, 1994 Free Software Foundation, Inc. |
| 2915 | 3 |
| 4 This file is part of GNU Emacs. | |
| 5 | |
| 6 GNU Emacs is free software; you can redistribute it and/or modify | |
| 7 it under the terms of the GNU General Public License as published by | |
| 8 the Free Software Foundation; either version 2, or (at your option) | |
| 9 any later version. | |
| 10 | |
| 11 GNU Emacs is distributed in the hope that it will be useful, | |
| 12 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 GNU General Public License for more details. | |
| 15 | |
| 16 You should have received a copy of the GNU General Public License | |
| 17 along with GNU Emacs; see the file COPYING. If not, write to | |
|
14186
ee40177f6c68
Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents:
14137
diff
changeset
|
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
|
ee40177f6c68
Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents:
14137
diff
changeset
|
19 Boston, MA 02111-1307, USA. */ |
| 2915 | 20 |
|
2940
3c7c3bd60e4f
* s/linux.h: Remove copyright notices by Michael K. Johnson and
Jim Blandy <jimb@redhat.com>
parents:
2916
diff
changeset
|
21 /* This file was put together by Michael K. Johnson and Rik Faith. */ |
|
3c7c3bd60e4f
* s/linux.h: Remove copyright notices by Michael K. Johnson and
Jim Blandy <jimb@redhat.com>
parents:
2916
diff
changeset
|
22 |
| 2915 | 23 |
| 24 /* | |
| 25 * Define symbols to identify the version of Unix this is. | |
| 26 * Define all the symbols that apply correctly. | |
| 27 */ | |
| 28 | |
| 29 /* #define UNIPLUS */ | |
| 30 /* #define USG5 */ | |
| 31 #define USG | |
| 3335 | 32 /* #define BSD */ |
| 2915 | 33 #define LINUX |
| 34 | |
| 35 /* SYSTEM_TYPE should indicate the kind of system you are using. | |
| 36 It sets the Lisp variable system-type. */ | |
| 37 | |
| 38 #define SYSTEM_TYPE "linux" /* All the best software is free. */ | |
| 39 | |
| 40 /* Emacs can read input using SIGIO and buffering characters itself, | |
| 41 or using CBREAK mode and making C-g cause SIGINT. | |
| 42 The choice is controlled by the variable interrupt_input. | |
| 43 Define INTERRUPT_INPUT to make interrupt_input = 1 the default (use SIGIO) | |
| 44 | |
| 45 SIGIO can be used only on systems that implement it (4.2 and 4.3). | |
|
3591
507f64624555
Apply typo patches from Paul Eggert.
Jim Blandy <jimb@redhat.com>
parents:
3335
diff
changeset
|
46 CBREAK mode has two disadvantages |
| 2915 | 47 1) At least in 4.2, it is impossible to handle the Meta key properly. |
| 48 I hear that in system V this problem does not exist. | |
| 49 2) Control-G causes output to be discarded. | |
| 50 I do not know whether this can be fixed in system V. | |
| 51 | |
| 52 Another method of doing input is planned but not implemented. | |
| 53 It would have Emacs fork off a separate process | |
| 54 to read the input and send it to the true Emacs process | |
| 55 through a pipe. | |
| 56 */ | |
| 57 | |
| 58 /* There have been suggestions made to add SIGIO to Linux. If this | |
| 59 is done, you may, at your discretion, uncomment the line below. | |
| 60 */ | |
| 61 | |
| 62 /* #define INTERRUPT_INPUT */ | |
| 63 | |
| 64 /* Letter to use in finding device name of first pty, | |
| 65 if system supports pty's. 'p' means it is /dev/ptyp0 */ | |
| 66 | |
| 67 #define FIRST_PTY_LETTER 'p' | |
| 68 | |
| 69 /* | |
| 70 * Define HAVE_TERMIOS if the system provides POSIX-style | |
| 71 * functions and macros for terminal control. | |
| 72 */ | |
| 73 | |
| 74 #define HAVE_TERMIOS | |
| 75 | |
| 76 /* | |
| 77 * Define HAVE_PTYS if the system supports pty devices. | |
| 78 */ | |
| 79 | |
| 80 #define HAVE_PTYS | |
| 81 | |
| 82 /* Uncomment this later when other problems are dealt with -mkj */ | |
| 83 | |
|
3014
a416873d97e5
* s/linux.h (HAVE_DUP2, HAVE_ALLOCA_H): Deleted.
Jim Blandy <jimb@redhat.com>
parents:
2989
diff
changeset
|
84 #define HAVE_SOCKETS |
| 2915 | 85 |
| 86 /* Define this symbol if your system has the functions bcopy, etc. */ | |
| 87 | |
| 88 #define BSTRING | |
| 89 | |
| 90 /* subprocesses should be defined if you want to | |
| 91 have code for asynchronous subprocesses | |
| 92 (as used in M-x compile and M-x shell). | |
| 93 This is generally OS dependent, and not supported | |
| 94 under most USG systems. */ | |
| 95 | |
| 96 #define subprocesses | |
| 97 | |
| 98 /* define MAIL_USE_FLOCK if the mailer uses flock | |
| 99 to interlock access to /usr/spool/mail/$USER. | |
| 100 The alternative is that a lock file named | |
| 101 /usr/spool/mail/$USER.lock. */ | |
| 102 | |
| 103 /* Both are used in Linux by different mail programs. I assume that most | |
| 104 people are using newer mailers that have heard of flock. Change this | |
| 105 if you need to. */ | |
| 106 | |
| 107 #define MAIL_USE_FLOCK | |
| 108 | |
| 109 /* Define CLASH_DETECTION if you want lock files to be written | |
| 110 so that Emacs can tell instantly when you try to modify | |
| 111 a file that someone else has modified in his Emacs. */ | |
| 112 | |
|
7835
27ec793a0e99
(CLASH_DETECTION): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
7703
diff
changeset
|
113 #define CLASH_DETECTION |
| 2915 | 114 |
| 115 /* Here, on a separate page, add any special hacks needed | |
| 116 to make Emacs work on this system. For example, | |
| 117 you might define certain system call names that don't | |
| 118 exist on your system, or that do different things on | |
| 119 your system and must be used only through an encapsulation | |
| 120 (Which you should place, by convention, in sysdep.c). */ | |
| 121 | |
| 3335 | 122 /* On POSIX systems the system calls are interruptible by signals |
| 123 that the user program has elected to catch. Thus the system call | |
| 124 must be retried in these cases. To handle this without massive | |
| 125 changes in the source code, we remap the standard system call names | |
| 126 to names for our own functions in sysdep.c that do the system call | |
| 127 with retries. */ | |
| 128 | |
| 129 #define read sys_read | |
| 130 #define write sys_write | |
| 131 #define open sys_open | |
| 132 #define close sys_close | |
| 133 | |
| 134 #define INTERRUPTIBLE_OPEN | |
| 135 #define INTERRUPTIBLE_CLOSE | |
| 136 #define INTERRUPTIBLE_IO | |
| 2915 | 137 |
| 138 /* If you mount the proc file system somewhere other than /proc | |
| 139 you will have to uncomment the following and make the proper | |
| 140 changes */ | |
| 141 | |
| 142 /* #define LINUX_LDAV_FILE "/proc/loadavg" */ | |
| 143 | |
|
8274
04eeb3ed2828
[emacs]: Include stdio.h.
Richard M. Stallman <rms@gnu.org>
parents:
7972
diff
changeset
|
144 /* This is needed for disknew.c:update_frame */ |
| 2915 | 145 |
|
5387
f99b0175322e
(PENDING_OUTPUT_COUNT): Two alternate definitions
Richard M. Stallman <rms@gnu.org>
parents:
5363
diff
changeset
|
146 #ifdef emacs |
|
8274
04eeb3ed2828
[emacs]: Include stdio.h.
Richard M. Stallman <rms@gnu.org>
parents:
7972
diff
changeset
|
147 #include <stdio.h> /* Get the definition of _IO_STDIO_H. */ |
|
11826
6197ce4cd509
Test _STDIO_USES_IOSTREAM as well as _IO_STDIO_H.
Karl Heuer <kwzh@gnu.org>
parents:
11549
diff
changeset
|
148 #if defined(_IO_STDIO_H) || defined(_STDIO_USES_IOSTREAM) |
|
5387
f99b0175322e
(PENDING_OUTPUT_COUNT): Two alternate definitions
Richard M. Stallman <rms@gnu.org>
parents:
5363
diff
changeset
|
149 /* new C libio names */ |
|
7555
85afced1519c
(GNU_LIBRARY_PENDING_OUTPUT_COUNT): Both definitions
Richard M. Stallman <rms@gnu.org>
parents:
7307
diff
changeset
|
150 #define GNU_LIBRARY_PENDING_OUTPUT_COUNT(FILE) \ |
|
5387
f99b0175322e
(PENDING_OUTPUT_COUNT): Two alternate definitions
Richard M. Stallman <rms@gnu.org>
parents:
5363
diff
changeset
|
151 ((FILE)->_IO_write_ptr - (FILE)->_IO_write_base) |
|
f99b0175322e
(PENDING_OUTPUT_COUNT): Two alternate definitions
Richard M. Stallman <rms@gnu.org>
parents:
5363
diff
changeset
|
152 #else /* !_IO_STDIO_H */ |
|
f99b0175322e
(PENDING_OUTPUT_COUNT): Two alternate definitions
Richard M. Stallman <rms@gnu.org>
parents:
5363
diff
changeset
|
153 /* old C++ iostream names */ |
|
7555
85afced1519c
(GNU_LIBRARY_PENDING_OUTPUT_COUNT): Both definitions
Richard M. Stallman <rms@gnu.org>
parents:
7307
diff
changeset
|
154 #define GNU_LIBRARY_PENDING_OUTPUT_COUNT(FILE) \ |
|
5387
f99b0175322e
(PENDING_OUTPUT_COUNT): Two alternate definitions
Richard M. Stallman <rms@gnu.org>
parents:
5363
diff
changeset
|
155 ((FILE)->_pptr - (FILE)->_pbase) |
|
f99b0175322e
(PENDING_OUTPUT_COUNT): Two alternate definitions
Richard M. Stallman <rms@gnu.org>
parents:
5363
diff
changeset
|
156 #endif /* !_IO_STDIO_H */ |
|
f99b0175322e
(PENDING_OUTPUT_COUNT): Two alternate definitions
Richard M. Stallman <rms@gnu.org>
parents:
5363
diff
changeset
|
157 #endif /* emacs */ |
| 2915 | 158 |
|
12306
173396dad212
(LIB_GCC): Define here, overriding Makefile.in.in,
Richard M. Stallman <rms@gnu.org>
parents:
11828
diff
changeset
|
159 /* Ask GCC where to find libgcc.a. */ |
|
12314
b55e6abc0f0e
(LIB_GCC): Fix previous change.
Richard M. Stallman <rms@gnu.org>
parents:
12306
diff
changeset
|
160 #define LIB_GCC `$(CC) $(C_SWITCH_X_SITE) -print-libgcc-file-name` |
|
12306
173396dad212
(LIB_GCC): Define here, overriding Makefile.in.in,
Richard M. Stallman <rms@gnu.org>
parents:
11828
diff
changeset
|
161 |
|
11826
6197ce4cd509
Test _STDIO_USES_IOSTREAM as well as _IO_STDIO_H.
Karl Heuer <kwzh@gnu.org>
parents:
11549
diff
changeset
|
162 #ifndef __ELF__ |
| 2915 | 163 /* Linux has crt0.o in a non-standard place */ |
| 164 #define START_FILES pre-crt0.o /usr/lib/crt0.o | |
|
11826
6197ce4cd509
Test _STDIO_USES_IOSTREAM as well as _IO_STDIO_H.
Karl Heuer <kwzh@gnu.org>
parents:
11549
diff
changeset
|
165 #else |
|
6197ce4cd509
Test _STDIO_USES_IOSTREAM as well as _IO_STDIO_H.
Karl Heuer <kwzh@gnu.org>
parents:
11549
diff
changeset
|
166 #define START_FILES pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o |
|
6197ce4cd509
Test _STDIO_USES_IOSTREAM as well as _IO_STDIO_H.
Karl Heuer <kwzh@gnu.org>
parents:
11549
diff
changeset
|
167 #endif |
| 2915 | 168 |
|
9085
c3b059b240c7
Don't include signal.h, values.h.
Richard M. Stallman <rms@gnu.org>
parents:
8892
diff
changeset
|
169 /* As of version 1.1.51, Linux does not actually implement SIGIO. */ |
|
c3b059b240c7
Don't include signal.h, values.h.
Richard M. Stallman <rms@gnu.org>
parents:
8892
diff
changeset
|
170 /* Here we assume that signal.h is already included. */ |
| 2915 | 171 #ifdef emacs |
| 172 #undef SIGIO | |
|
13592
426a5dc91b98
#undef SIGPOLL and SIGURG as well as SIGIO.
Richard M. Stallman <rms@gnu.org>
parents:
13294
diff
changeset
|
173 /* Some versions of Linux define SIGURG and SIGPOLL as aliases for SIGIO. |
|
426a5dc91b98
#undef SIGPOLL and SIGURG as well as SIGIO.
Richard M. Stallman <rms@gnu.org>
parents:
13294
diff
changeset
|
174 This prevents lossage in process.c. */ |
|
426a5dc91b98
#undef SIGPOLL and SIGURG as well as SIGIO.
Richard M. Stallman <rms@gnu.org>
parents:
13294
diff
changeset
|
175 #undef SIGURG |
|
426a5dc91b98
#undef SIGPOLL and SIGURG as well as SIGIO.
Richard M. Stallman <rms@gnu.org>
parents:
13294
diff
changeset
|
176 #undef SIGPOLL |
| 2915 | 177 #endif |
| 178 | |
| 179 /* This is needed for sysdep.c */ | |
| 180 | |
| 181 #define NO_SIOCTL_H /* don't have sioctl.h */ | |
| 182 | |
| 183 #define HAVE_VFORK | |
| 184 #define HAVE_SYS_SIGLIST | |
| 185 #define HAVE_GETWD /* cure conflict with getcwd? */ | |
| 186 | |
| 187 #define SYSV_SYSTEM_DIR /* use dirent.h */ | |
| 188 | |
| 4825 | 189 #define POSIX /* affects getpagesize.h and systty.h */ |
| 2915 | 190 #define POSIX_SIGNALS |
| 191 | |
| 192 /* Best not to include -lg, unless it is last on the command line */ | |
| 193 #define LIBS_DEBUG | |
|
11826
6197ce4cd509
Test _STDIO_USES_IOSTREAM as well as _IO_STDIO_H.
Karl Heuer <kwzh@gnu.org>
parents:
11549
diff
changeset
|
194 #ifndef __ELF__ |
| 2915 | 195 #define LIB_STANDARD -lc /* avoid -lPW */ |
|
11826
6197ce4cd509
Test _STDIO_USES_IOSTREAM as well as _IO_STDIO_H.
Karl Heuer <kwzh@gnu.org>
parents:
11549
diff
changeset
|
196 #else |
|
12314
b55e6abc0f0e
(LIB_GCC): Fix previous change.
Richard M. Stallman <rms@gnu.org>
parents:
12306
diff
changeset
|
197 #undef LIB_GCC |
|
11826
6197ce4cd509
Test _STDIO_USES_IOSTREAM as well as _IO_STDIO_H.
Karl Heuer <kwzh@gnu.org>
parents:
11549
diff
changeset
|
198 #define LIB_GCC |
|
6197ce4cd509
Test _STDIO_USES_IOSTREAM as well as _IO_STDIO_H.
Karl Heuer <kwzh@gnu.org>
parents:
11549
diff
changeset
|
199 #define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtn.o |
|
6197ce4cd509
Test _STDIO_USES_IOSTREAM as well as _IO_STDIO_H.
Karl Heuer <kwzh@gnu.org>
parents:
11549
diff
changeset
|
200 #endif |
|
3207
257a856de952
* s/linux.h (SIGNALS_VIA_CHARACTERS): Try this out for a bit.
Jim Blandy <jimb@redhat.com>
parents:
3154
diff
changeset
|
201 |
|
7956
eaca9ccb9f4a
(C_DEBUG_SWITCH): Define, if THIS_IS_CONFIGURE.
Richard M. Stallman <rms@gnu.org>
parents:
7835
diff
changeset
|
202 /* Don't use -g in test compiles in configure. |
|
eaca9ccb9f4a
(C_DEBUG_SWITCH): Define, if THIS_IS_CONFIGURE.
Richard M. Stallman <rms@gnu.org>
parents:
7835
diff
changeset
|
203 This is so we will use the same shared libs for that linking |
|
eaca9ccb9f4a
(C_DEBUG_SWITCH): Define, if THIS_IS_CONFIGURE.
Richard M. Stallman <rms@gnu.org>
parents:
7835
diff
changeset
|
204 that are used when linking temacs. */ |
|
eaca9ccb9f4a
(C_DEBUG_SWITCH): Define, if THIS_IS_CONFIGURE.
Richard M. Stallman <rms@gnu.org>
parents:
7835
diff
changeset
|
205 #ifdef THIS_IS_CONFIGURE |
|
eaca9ccb9f4a
(C_DEBUG_SWITCH): Define, if THIS_IS_CONFIGURE.
Richard M. Stallman <rms@gnu.org>
parents:
7835
diff
changeset
|
206 #define C_DEBUG_SWITCH |
|
eaca9ccb9f4a
(C_DEBUG_SWITCH): Define, if THIS_IS_CONFIGURE.
Richard M. Stallman <rms@gnu.org>
parents:
7835
diff
changeset
|
207 #endif |
|
eaca9ccb9f4a
(C_DEBUG_SWITCH): Define, if THIS_IS_CONFIGURE.
Richard M. Stallman <rms@gnu.org>
parents:
7835
diff
changeset
|
208 |
|
3596
9137e78cc171
* s/linux.h (SIGNALS_VIA_CHARACTERS): Don't #define this.
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
209 /* Let's try this out, just in case. |
|
9137e78cc171
* s/linux.h (SIGNALS_VIA_CHARACTERS): Don't #define this.
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
210 Nah. Rik Faith <faith@cs.unc.edu> says it doesn't work well. */ |
|
9137e78cc171
* s/linux.h (SIGNALS_VIA_CHARACTERS): Don't #define this.
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
211 /* #define SIGNALS_VIA_CHARACTERS */ |
|
3729
b9d69ed987e7
* s/linux.h (LIBS_MACHINE, HAVE_SYSVIPC): Set the former to -lipc,
Jim Blandy <jimb@redhat.com>
parents:
3680
diff
changeset
|
212 |
|
b9d69ed987e7
* s/linux.h (LIBS_MACHINE, HAVE_SYSVIPC): Set the former to -lipc,
Jim Blandy <jimb@redhat.com>
parents:
3680
diff
changeset
|
213 /* Rob Malouf <malouf@csli.stanford.edu> says: |
|
b9d69ed987e7
* s/linux.h (LIBS_MACHINE, HAVE_SYSVIPC): Set the former to -lipc,
Jim Blandy <jimb@redhat.com>
parents:
3680
diff
changeset
|
214 SYSV IPC is standard a standard part of Linux since version 0.99pl10, |
|
b9d69ed987e7
* s/linux.h (LIBS_MACHINE, HAVE_SYSVIPC): Set the former to -lipc,
Jim Blandy <jimb@redhat.com>
parents:
3680
diff
changeset
|
215 and is a very common addition to previous versions. */ |
|
4913
eb26686b99cf
[TERM]: Alternate definitions of LIBS_MACHINE and C_SWITCH_MACHINE.
Richard M. Stallman <rms@gnu.org>
parents:
4825
diff
changeset
|
216 |
|
eb26686b99cf
[TERM]: Alternate definitions of LIBS_MACHINE and C_SWITCH_MACHINE.
Richard M. Stallman <rms@gnu.org>
parents:
4825
diff
changeset
|
217 #ifdef TERM |
|
12829
f36fccc38b0d
(ULIMIT_BREAK_VALUE, SEGMENT_MASK): Moved to intel386.h
Richard M. Stallman <rms@gnu.org>
parents:
12720
diff
changeset
|
218 #define LIBS_SYSTEM -lclient |
|
4913
eb26686b99cf
[TERM]: Alternate definitions of LIBS_MACHINE and C_SWITCH_MACHINE.
Richard M. Stallman <rms@gnu.org>
parents:
4825
diff
changeset
|
219 #define C_SWITCH_SYSTEM -D_BSD_SOURCE -I/usr/src/term |
|
eb26686b99cf
[TERM]: Alternate definitions of LIBS_MACHINE and C_SWITCH_MACHINE.
Richard M. Stallman <rms@gnu.org>
parents:
4825
diff
changeset
|
220 #else |
|
4719
f250e1299a74
(LIBS_MACHINE): Make definition empty.
Richard M. Stallman <rms@gnu.org>
parents:
3824
diff
changeset
|
221 /* alane@wozzle.linet.org says that -lipc is not a separate library, |
|
f250e1299a74
(LIBS_MACHINE): Make definition empty.
Richard M. Stallman <rms@gnu.org>
parents:
3824
diff
changeset
|
222 since libc-4.4.1. So -lipc was deleted. */ |
|
12829
f36fccc38b0d
(ULIMIT_BREAK_VALUE, SEGMENT_MASK): Moved to intel386.h
Richard M. Stallman <rms@gnu.org>
parents:
12720
diff
changeset
|
223 #define LIBS_SYSTEM |
|
4913
eb26686b99cf
[TERM]: Alternate definitions of LIBS_MACHINE and C_SWITCH_MACHINE.
Richard M. Stallman <rms@gnu.org>
parents:
4825
diff
changeset
|
224 #define C_SWITCH_SYSTEM -D_BSD_SOURCE |
|
eb26686b99cf
[TERM]: Alternate definitions of LIBS_MACHINE and C_SWITCH_MACHINE.
Richard M. Stallman <rms@gnu.org>
parents:
4825
diff
changeset
|
225 #endif |
|
eb26686b99cf
[TERM]: Alternate definitions of LIBS_MACHINE and C_SWITCH_MACHINE.
Richard M. Stallman <rms@gnu.org>
parents:
4825
diff
changeset
|
226 |
|
13623
276f513076a9
(LIB_MOTIF): New definition.
Richard M. Stallman <rms@gnu.org>
parents:
13592
diff
changeset
|
227 /* Paul Abrahams <abrahams@equinox.shaysnet.com> says this is needed. */ |
|
276f513076a9
(LIB_MOTIF): New definition.
Richard M. Stallman <rms@gnu.org>
parents:
13592
diff
changeset
|
228 #define LIB_MOTIF -lXm -lXpm |
|
276f513076a9
(LIB_MOTIF): New definition.
Richard M. Stallman <rms@gnu.org>
parents:
13592
diff
changeset
|
229 |
|
3729
b9d69ed987e7
* s/linux.h (LIBS_MACHINE, HAVE_SYSVIPC): Set the former to -lipc,
Jim Blandy <jimb@redhat.com>
parents:
3680
diff
changeset
|
230 #define HAVE_SYSVIPC |
|
5363
d37a5b990e49
(A_TEXT_OFFSET, A_TEXT_SEEK, ADJUST_EXEC_HEADER): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
5071
diff
changeset
|
231 |
|
11826
6197ce4cd509
Test _STDIO_USES_IOSTREAM as well as _IO_STDIO_H.
Karl Heuer <kwzh@gnu.org>
parents:
11549
diff
changeset
|
232 #ifdef __ELF__ |
|
6197ce4cd509
Test _STDIO_USES_IOSTREAM as well as _IO_STDIO_H.
Karl Heuer <kwzh@gnu.org>
parents:
11549
diff
changeset
|
233 #define UNEXEC unexelf.o |
|
11828
cb6c1026a0f7
UNEXEC_USE_MAP_PRIVATE: Define.
Karl Heuer <kwzh@gnu.org>
parents:
11826
diff
changeset
|
234 #define UNEXEC_USE_MAP_PRIVATE |
|
11826
6197ce4cd509
Test _STDIO_USES_IOSTREAM as well as _IO_STDIO_H.
Karl Heuer <kwzh@gnu.org>
parents:
11549
diff
changeset
|
235 #endif |
|
6197ce4cd509
Test _STDIO_USES_IOSTREAM as well as _IO_STDIO_H.
Karl Heuer <kwzh@gnu.org>
parents:
11549
diff
changeset
|
236 |
|
8633
ef773dd417ea
Add LINUX_QMAGIC conditional.
Richard M. Stallman <rms@gnu.org>
parents:
8274
diff
changeset
|
237 #ifdef LINUX_QMAGIC |
|
ef773dd417ea
Add LINUX_QMAGIC conditional.
Richard M. Stallman <rms@gnu.org>
parents:
8274
diff
changeset
|
238 |
|
ef773dd417ea
Add LINUX_QMAGIC conditional.
Richard M. Stallman <rms@gnu.org>
parents:
8274
diff
changeset
|
239 #define HAVE_TEXT_START |
|
ef773dd417ea
Add LINUX_QMAGIC conditional.
Richard M. Stallman <rms@gnu.org>
parents:
8274
diff
changeset
|
240 #define UNEXEC unexsunos4.o |
|
ef773dd417ea
Add LINUX_QMAGIC conditional.
Richard M. Stallman <rms@gnu.org>
parents:
8274
diff
changeset
|
241 #define N_PAGSIZ(x) PAGE_SIZE |
|
ef773dd417ea
Add LINUX_QMAGIC conditional.
Richard M. Stallman <rms@gnu.org>
parents:
8274
diff
changeset
|
242 |
|
ef773dd417ea
Add LINUX_QMAGIC conditional.
Richard M. Stallman <rms@gnu.org>
parents:
8274
diff
changeset
|
243 #else /* not LINUX_QMAGIC */ |
|
ef773dd417ea
Add LINUX_QMAGIC conditional.
Richard M. Stallman <rms@gnu.org>
parents:
8274
diff
changeset
|
244 |
|
5363
d37a5b990e49
(A_TEXT_OFFSET, A_TEXT_SEEK, ADJUST_EXEC_HEADER): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
5071
diff
changeset
|
245 #define A_TEXT_OFFSET(hdr) (N_MAGIC(hdr) == QMAGIC ? sizeof (struct exec) : 0) |
|
d37a5b990e49
(A_TEXT_OFFSET, A_TEXT_SEEK, ADJUST_EXEC_HEADER): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
5071
diff
changeset
|
246 #define A_TEXT_SEEK(hdr) (N_TXTOFF(hdr) + A_TEXT_OFFSET(hdr)) |
|
d37a5b990e49
(A_TEXT_OFFSET, A_TEXT_SEEK, ADJUST_EXEC_HEADER): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
5071
diff
changeset
|
247 #define ADJUST_EXEC_HEADER \ |
|
d37a5b990e49
(A_TEXT_OFFSET, A_TEXT_SEEK, ADJUST_EXEC_HEADER): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
5071
diff
changeset
|
248 unexec_text_start = N_TXTADDR(ohdr) + A_TEXT_OFFSET(ohdr) |
|
7632
8abb5c77cc2a
(HAVE_GETTIMEOFDAY, HAVE_MKDIR, HAVE_RMDIR)
Richard M. Stallman <rms@gnu.org>
parents:
7555
diff
changeset
|
249 |
|
8633
ef773dd417ea
Add LINUX_QMAGIC conditional.
Richard M. Stallman <rms@gnu.org>
parents:
8274
diff
changeset
|
250 #endif /* not LINUX_QMAGIC */ |
|
ef773dd417ea
Add LINUX_QMAGIC conditional.
Richard M. Stallman <rms@gnu.org>
parents:
8274
diff
changeset
|
251 |
|
7956
eaca9ccb9f4a
(C_DEBUG_SWITCH): Define, if THIS_IS_CONFIGURE.
Richard M. Stallman <rms@gnu.org>
parents:
7835
diff
changeset
|
252 #if 0 |
|
7632
8abb5c77cc2a
(HAVE_GETTIMEOFDAY, HAVE_MKDIR, HAVE_RMDIR)
Richard M. Stallman <rms@gnu.org>
parents:
7555
diff
changeset
|
253 /* In 19.23 and 19.24, configure sometimes fails to define these. |
|
8abb5c77cc2a
(HAVE_GETTIMEOFDAY, HAVE_MKDIR, HAVE_RMDIR)
Richard M. Stallman <rms@gnu.org>
parents:
7555
diff
changeset
|
254 It has to do with the fact that configure uses CFLAGS when linking |
|
8abb5c77cc2a
(HAVE_GETTIMEOFDAY, HAVE_MKDIR, HAVE_RMDIR)
Richard M. Stallman <rms@gnu.org>
parents:
7555
diff
changeset
|
255 while Makefile.in.in (erroneously) fails to do so when linking temacs. */ |
|
8abb5c77cc2a
(HAVE_GETTIMEOFDAY, HAVE_MKDIR, HAVE_RMDIR)
Richard M. Stallman <rms@gnu.org>
parents:
7555
diff
changeset
|
256 #ifndef HAVE_GETTIMEOFDAY |
|
8abb5c77cc2a
(HAVE_GETTIMEOFDAY, HAVE_MKDIR, HAVE_RMDIR)
Richard M. Stallman <rms@gnu.org>
parents:
7555
diff
changeset
|
257 #define HAVE_GETTIMEOFDAY |
|
8abb5c77cc2a
(HAVE_GETTIMEOFDAY, HAVE_MKDIR, HAVE_RMDIR)
Richard M. Stallman <rms@gnu.org>
parents:
7555
diff
changeset
|
258 #endif |
|
8abb5c77cc2a
(HAVE_GETTIMEOFDAY, HAVE_MKDIR, HAVE_RMDIR)
Richard M. Stallman <rms@gnu.org>
parents:
7555
diff
changeset
|
259 #ifndef HAVE_MKDIR |
|
8abb5c77cc2a
(HAVE_GETTIMEOFDAY, HAVE_MKDIR, HAVE_RMDIR)
Richard M. Stallman <rms@gnu.org>
parents:
7555
diff
changeset
|
260 #define HAVE_MKDIR |
|
8abb5c77cc2a
(HAVE_GETTIMEOFDAY, HAVE_MKDIR, HAVE_RMDIR)
Richard M. Stallman <rms@gnu.org>
parents:
7555
diff
changeset
|
261 #endif |
|
8abb5c77cc2a
(HAVE_GETTIMEOFDAY, HAVE_MKDIR, HAVE_RMDIR)
Richard M. Stallman <rms@gnu.org>
parents:
7555
diff
changeset
|
262 #ifndef HAVE_RMDIR |
|
8abb5c77cc2a
(HAVE_GETTIMEOFDAY, HAVE_MKDIR, HAVE_RMDIR)
Richard M. Stallman <rms@gnu.org>
parents:
7555
diff
changeset
|
263 #define HAVE_RMDIR |
|
8abb5c77cc2a
(HAVE_GETTIMEOFDAY, HAVE_MKDIR, HAVE_RMDIR)
Richard M. Stallman <rms@gnu.org>
parents:
7555
diff
changeset
|
264 #endif |
|
8abb5c77cc2a
(HAVE_GETTIMEOFDAY, HAVE_MKDIR, HAVE_RMDIR)
Richard M. Stallman <rms@gnu.org>
parents:
7555
diff
changeset
|
265 #ifndef HAVE_XSCREENNUMBEROFSCREEN |
|
8abb5c77cc2a
(HAVE_GETTIMEOFDAY, HAVE_MKDIR, HAVE_RMDIR)
Richard M. Stallman <rms@gnu.org>
parents:
7555
diff
changeset
|
266 #define HAVE_XSCREENNUMBEROFSCREEN |
|
8abb5c77cc2a
(HAVE_GETTIMEOFDAY, HAVE_MKDIR, HAVE_RMDIR)
Richard M. Stallman <rms@gnu.org>
parents:
7555
diff
changeset
|
267 #endif |
|
12720
8033d2412068
(HAVE_XRMSETDATABASE): Define if not defined.
Richard M. Stallman <rms@gnu.org>
parents:
12314
diff
changeset
|
268 #endif /* 0 */ |
|
8033d2412068
(HAVE_XRMSETDATABASE): Define if not defined.
Richard M. Stallman <rms@gnu.org>
parents:
12314
diff
changeset
|
269 |
|
8033d2412068
(HAVE_XRMSETDATABASE): Define if not defined.
Richard M. Stallman <rms@gnu.org>
parents:
12314
diff
changeset
|
270 /* This is to work around mysterious gcc failures in some system versions. |
|
8033d2412068
(HAVE_XRMSETDATABASE): Define if not defined.
Richard M. Stallman <rms@gnu.org>
parents:
12314
diff
changeset
|
271 It is unlikely that Emacs changes will work around this problem; |
|
8033d2412068
(HAVE_XRMSETDATABASE): Define if not defined.
Richard M. Stallman <rms@gnu.org>
parents:
12314
diff
changeset
|
272 therefore, this should remain permanently. */ |
|
7703
2b7b11a5e1e6
(HAVE_XRMSETDATABASE): Define if not defined.
Richard M. Stallman <rms@gnu.org>
parents:
7632
diff
changeset
|
273 #ifndef HAVE_XRMSETDATABASE |
|
2b7b11a5e1e6
(HAVE_XRMSETDATABASE): Define if not defined.
Richard M. Stallman <rms@gnu.org>
parents:
7632
diff
changeset
|
274 #define HAVE_XRMSETDATABASE |
|
2b7b11a5e1e6
(HAVE_XRMSETDATABASE): Define if not defined.
Richard M. Stallman <rms@gnu.org>
parents:
7632
diff
changeset
|
275 #endif |
|
11549
bfb9b93ee7e9
(REGEXP_IN_LIBC): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
11292
diff
changeset
|
276 |
|
bfb9b93ee7e9
(REGEXP_IN_LIBC): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
11292
diff
changeset
|
277 /* The regex.o routines are a part of the GNU C-library used with Linux. */ |
|
13294
30565fdf5fe0
(REGEXP_IN_LIBC): Definition turned off.
Richard M. Stallman <rms@gnu.org>
parents:
12829
diff
changeset
|
278 /* However, sometimes they disagree with the src/regex.h that comes with Emacs, |
|
30565fdf5fe0
(REGEXP_IN_LIBC): Definition turned off.
Richard M. Stallman <rms@gnu.org>
parents:
12829
diff
changeset
|
279 and that can make trouble in etags.c because it gets the regex.h from Emacs |
|
30565fdf5fe0
(REGEXP_IN_LIBC): Definition turned off.
Richard M. Stallman <rms@gnu.org>
parents:
12829
diff
changeset
|
280 and the function definitions in libc. So turn this off. */ |
|
30565fdf5fe0
(REGEXP_IN_LIBC): Definition turned off.
Richard M. Stallman <rms@gnu.org>
parents:
12829
diff
changeset
|
281 /* #define REGEXP_IN_LIBC */ |
|
30565fdf5fe0
(REGEXP_IN_LIBC): Definition turned off.
Richard M. Stallman <rms@gnu.org>
parents:
12829
diff
changeset
|
282 |
