Mercurial > emacs
comparison src/m/pmax.h @ 16484:96df462c5f15
(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.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 30 Oct 1996 05:11:12 +0000 |
parents | 621a575db6f7 |
children | 319a43900b56 |
comparison
equal
deleted
inserted
replaced
16483:1b53fdb98184 | 16484:96df462c5f15 |
---|---|
5 /* The following line tells the configuration script what sort of | 5 /* The following line tells the configuration script what sort of |
6 operating system this machine is likely to run. | 6 operating system this machine is likely to run. |
7 USUAL-OPSYS="note" | 7 USUAL-OPSYS="note" |
8 | 8 |
9 NOTE-START | 9 NOTE-START |
10 Use -opsystem=osf1 for OSF/1, and -opsystem=bsd4-3 otherwise. | 10 The operating system would be either osf1, ultrix, or NetBSD. |
11 NOTE-END */ | 11 NOTE-END */ |
12 | 12 |
13 #undef WORDS_BIG_ENDIAN | 13 #undef WORDS_BIG_ENDIAN |
14 #undef LIB_STANDARD | 14 #undef LIB_STANDARD |
15 #undef START_FILES | 15 #undef START_FILES |
25 /* This line starts being needed with ultrix 4.0. */ | 25 /* This line starts being needed with ultrix 4.0. */ |
26 /* You must delete it for version 3.1. */ | 26 /* You must delete it for version 3.1. */ |
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 |
33 #define DATA_START 0x10000000 | 41 #define DATA_START 0x10000000 |
34 #define DATA_SEG_BITS 0x10000000 | 42 #define DATA_SEG_BITS 0x10000000 |
43 #endif | 51 #endif |
44 | 52 |
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 |
61 #endif | 72 #endif |
62 | 73 |
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. |
71 | 83 |
72 When __STDC__ is defined (which is true with gcc), the X11 include files | 84 When __STDC__ is defined (which is true with gcc), the X11 include files |