[!HAVE_X_WINDOWS] (store_frame_title): Dummy macro.
[bpt/emacs.git] / src / m / pmax.h
1 /* Machine description file for DEC MIPS machines. */
2
3 #include "mips.h"
4
5 /* The following line tells the configuration script what sort of
6 operating system this machine is likely to run.
7 USUAL-OPSYS="note"
8
9 NOTE-START
10 Use -opsystem=osf1 for OSF/1, and -opsystem=bsd4-3 otherwise.
11 NOTE-END */
12
13 #undef LIB_STANDARD
14 #undef START_FILES
15 #undef COFF
16 #undef TERMINFO
17 #define MAIL_USE_FLOCK
18 #define HAVE_UNION_WAIT
19
20 /* This line starts being needed with ultrix 4.0. */
21 /* You must delete it for version 3.1. */
22 #define START_FILES pre-crt0.o /usr/lib/cmplrs/cc/crt0.o
23
24 /* Supposedly the following will overcome a kernel bug. */
25 #undef LD_SWITCH_MACHINE
26 #undef DATA_START
27 #define DATA_START 0x10000000
28 #define DATA_SEG_BITS 0x10000000
29
30 #if 0
31 /* I don't see any such conflict in Ultrix 4.2, 4.2a, or 4.3. And
32 the relocating allocator is a real win. -JimB */
33
34 /* In Ultrix 4.1, XvmsAlloc.o in libX11.a seems to insist
35 on defining malloc itself. This should avoid conflicting with it. */
36 #define SYSTEM_MALLOC
37 #endif
38
39 /* Override what m-mips.h says about this. */
40 #undef LINKER
41
42 /* Ultrix 4.2 (perhaps also 4.1) implements O_NONBLOCK
43 but it doesn't work right;
44 and it causes hanging in read_process_output. */
45 #define BROKEN_O_NONBLOCK
46
47 #ifdef OSF1
48 #undef C_ALLOCA
49 #define HAVE_ALLOCA
50 #endif
51
52 #ifndef OSF1
53 /* Ultrix saves the time zone in core; must clear it. */
54 #define LOCALTIME_CACHE
55 #endif
56
57 /* mcc@timessqr.gc.cuny.edu says this makes Emacs work with DECnet. */
58 #ifdef HAVE_LIBDNET
59 #define LIBS_MACHINE -ldnet
60 #endif
61
62 /* mcc@timessqr.gc.cuny.edu says it is /vmunix on Ultrix 4.2a. */
63 #undef KERNEL_FILE
64 #define KERNEL_FILE "/vmunix"
65
66 /* Jim Wilson writes:
67 [...] The X11 include files that Dec distributes with Ultrix
68 are bogus.
69
70 When __STDC__ is defined (which is true with gcc), the X11 include files
71 try to define prototypes. The prototypes however use types which haven't
72 been defined yet, and thus we get syntax/parse errors.
73
74 You can not fix this by changing the include files, because the prototypes
75 create circular dependencies, in particular Xutil.h depends on types defined
76 in Xlib.h, and Xlib.h depends on types defined in Xutil.h. So, no matter
77 which order you try to include them in, it will still fail.
78
79 Compiling with -DNeedFunctionPrototypes=0 will solve the problem by
80 directly inhibiting the bad prototypes. This could perhaps just be put in
81 an a Ultrix configuration file.
82
83 Using the MIT X11 distribution instead of the one provided by Dec will
84 also solve the problem, but I doubt you can convince everyone to do this. */
85 /* Addendum: the MIT X11 distribution neglects to define certain symbols
86 when NeedFunctionPrototypes is 0, but still tries to use them when
87 NeedVarargsProrotypes is 1 (which is its default value). So if we're
88 going to disable non-variadic prototypes, we also need to disable
89 variadic prototypes. --kwzh@gnu.ai.mit.edu */
90 #define C_SWITCH_X_MACHINE -DNeedFunctionPrototypes=0 -DNeedVarargsPrototypes=0
91
92 /* Enable a fix in process.c. */
93 #define SET_CHILD_PTY_PGRP