aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1996-10-30 05:11:12 +0000
committerRichard M. Stallman1996-10-30 05:11:12 +0000
commit9939d191eb019b46831b7de2332be7c8080e8724 (patch)
tree9796e39393e4ac950b459d69984b05126e9b8f05 /src
parent1cf4a0d1a238c38493fb65e29e33fde2b57b88d2 (diff)
downloademacs-9939d191eb019b46831b7de2332be7c8080e8724.tar.gz
emacs-9939d191eb019b46831b7de2332be7c8080e8724.zip
(BROKEN_O_NONBLOCK): Define only if Ultrix.
(LIBS_MACHINE, KERNEL_FILE): Don't define if __NetBSD__. (C_SWITCH_X_MACHINE): Define only if Ultrix. [__NetBSD__] (START_FILES, CANNOT_DUMP): New definitions. [__NetBSD__] (RUN_TIME_REMAP, UNEXEC): Undef them.
Diffstat (limited to 'src')
-rw-r--r--src/m/pmax.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/src/m/pmax.h b/src/m/pmax.h
index ac54aec3e94..4ddb857b8e8 100644
--- a/src/m/pmax.h
+++ b/src/m/pmax.h
@@ -7,7 +7,7 @@
7 USUAL-OPSYS="note" 7 USUAL-OPSYS="note"
8 8
9NOTE-START 9NOTE-START
10Use -opsystem=osf1 for OSF/1, and -opsystem=bsd4-3 otherwise. 10The operating system would be either osf1, ultrix, or NetBSD.
11NOTE-END */ 11NOTE-END */
12 12
13#undef WORDS_BIG_ENDIAN 13#undef WORDS_BIG_ENDIAN
@@ -27,6 +27,14 @@ NOTE-END */
27#define START_FILES pre-crt0.o /usr/lib/cmplrs/cc/crt0.o 27#define START_FILES pre-crt0.o /usr/lib/cmplrs/cc/crt0.o
28#endif 28#endif
29 29
30#ifdef __NetBSD__
31#undef START_FILES
32#undef RUN_TIME_REMAP
33#define START_FILES pre-crt0.o /usr/lib/crt0.o
34#define CANNOT_DUMP
35#undef UNEXEC
36#endif /* NetBSD */
37
30/* Supposedly the following will overcome a kernel bug. */ 38/* Supposedly the following will overcome a kernel bug. */
31#undef LD_SWITCH_MACHINE 39#undef LD_SWITCH_MACHINE
32#undef DATA_START 40#undef DATA_START
@@ -45,16 +53,19 @@ NOTE-END */
45/* Override what mips.h says about this. */ 53/* Override what mips.h says about this. */
46#undef LINKER 54#undef LINKER
47 55
56#ifdef ultrix
48/* Ultrix 4.2 (perhaps also 4.1) implements O_NONBLOCK 57/* Ultrix 4.2 (perhaps also 4.1) implements O_NONBLOCK
49 but it doesn't work right; 58 but it doesn't work right;
50 and it causes hanging in read_process_output. */ 59 and it causes hanging in read_process_output. */
51#define BROKEN_O_NONBLOCK 60#define BROKEN_O_NONBLOCK
61#endif
52 62
53#if defined (OSF1) || defined (MACH) 63#if defined (OSF1) || defined (MACH)
54#undef C_ALLOCA 64#undef C_ALLOCA
55#define HAVE_ALLOCA 65#define HAVE_ALLOCA
56#endif 66#endif
57 67
68#ifndef __NetBSD__
58/* mcc@timessqr.gc.cuny.edu says this makes Emacs work with DECnet. */ 69/* mcc@timessqr.gc.cuny.edu says this makes Emacs work with DECnet. */
59#ifdef HAVE_LIBDNET 70#ifdef HAVE_LIBDNET
60#define LIBS_MACHINE -ldnet 71#define LIBS_MACHINE -ldnet
@@ -63,8 +74,9 @@ NOTE-END */
63/* mcc@timessqr.gc.cuny.edu says it is /vmunix on Ultrix 4.2a. */ 74/* mcc@timessqr.gc.cuny.edu says it is /vmunix on Ultrix 4.2a. */
64#undef KERNEL_FILE 75#undef KERNEL_FILE
65#define KERNEL_FILE "/vmunix" 76#define KERNEL_FILE "/vmunix"
77#endif
66 78
67#ifndef MACH 79#ifdef ultrix
68/* Jim Wilson writes: 80/* Jim Wilson writes:
69 [...] The X11 include files that Dec distributes with Ultrix 81 [...] The X11 include files that Dec distributes with Ultrix
70 are bogus. 82 are bogus.