comparison src/s/aix3-1.h @ 456:c0335c02f1d7

Initial revision
author Jim Blandy <jimb@redhat.com>
date Fri, 13 Dec 1991 18:49:49 +0000
parents
children 2bb7f23b7ea5
comparison
equal deleted inserted replaced
455:12af79cf16ee 456:c0335c02f1d7
1 /* Definitions file for GNU Emacs running on IBM AIX version 3.1
2 Copyright (C) 1985, 1986 Free Software Foundation, Inc.
3
4 This file is part of GNU Emacs.
5
6 GNU Emacs is distributed in the hope that it will be useful,
7 but WITHOUT ANY WARRANTY. No author or distributor
8 accepts responsibility to anyone for the consequences of using it
9 or for whether it serves any particular purpose or works at all,
10 unless he says so in writing. Refer to the GNU Emacs General Public
11 License for full details.
12
13 Everyone is granted permission to copy, modify and redistribute
14 GNU Emacs, but only under the conditions described in the
15 GNU Emacs General Public License. A copy of this license is
16 supposed to have been given to you along with GNU Emacs so you
17 can know your rights and responsibilities. It should be in a
18 file named COPYING. Among other things, the copyright notice
19 and this notice must be preserved on all copies. */
20
21
22 /*
23 * Define symbols to identify the version of Unix this is.
24 * Define all the symbols that apply correctly.
25 */
26
27 #define USG /* System III, System V, etc */
28 #define USG5
29
30 /* Specify IBM AIX version of system */
31
32 #ifndef AIX
33 #define AIX
34 #endif
35
36 /* turn off c prototypes */
37 #ifndef _NO_PROTO
38 #define _NO_PROTO
39 #endif
40
41 /* This symbol should be defined on AIX Version 3 ??????? */
42 #ifndef _AIX
43 #define _AIX
44 #endif
45
46 /* Specify "_BSD" to invoke Berkeley compatibility in header files */
47 /*#ifndef _BSD
48 #define _BSD
49 #endif
50 */
51
52 /* SYSTEM_TYPE should indicate the kind of system you are using.
53 It sets the Lisp variable system-type. */
54
55 #define SYSTEM_TYPE "aix-v3"
56
57
58 /* nomultiplejobs should be defined if your system's shell
59 does not have "job control" (the ability to stop a program,
60 run some other program, then continue the first one). */
61
62 /* #define NOMULTIPLEJOBS */
63
64 /* Default is to set interrupt_input to 0: don't do input buffering within Emacs */
65
66 /* #define INTERRUPT_INPUT */
67
68 /* Letter to use in finding device name of first pty,
69 if system supports pty's. 'p' means it is /dev/ptyp0 */
70
71 #define FIRST_PTY_LETTER 'p'
72
73 /*
74 * Define HAVE_TERMIO if the system provides sysV-style ioctls
75 * for terminal control.
76 */
77
78 #define HAVE_TERMIO
79
80 /*
81 * Define HAVE_TIMEVAL if the system supports the BSD style clock values.
82 * Look in <sys/time.h> for a timeval structure.
83 */
84
85 #define HAVE_TIMEVAL
86
87 /*
88 * Define HAVE_SELECT if the system supports the `select' system call.
89 */
90
91 #define HAVE_SELECT
92
93 /*
94 * Define HAVE_PTYS if the system supports pty devices.
95 */
96
97 #define HAVE_PTYS
98
99 /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */
100
101 #define HAVE_SOCKETS
102
103 /*
104 * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate
105 * The 4.2 opendir, etc., library functions.
106 */
107
108 /* #define NONSYSTEM_DIR_LIBRARY */
109
110 /*
111 * Define SYSV_SYSTEM_DIR to use the V.3 getdents/readir
112 * library functions. Almost, but not quite the same as
113 * the 4.2 functions
114 */
115
116 #define SYSV_SYSTEM_DIR
117
118 /* Define this symbol if your system has the functions bcopy, etc. */
119
120 #define BSTRING
121
122 /* subprocesses should be defined if you want to
123 have code for asynchronous subprocesses
124 (as used in M-x compile and M-x shell).
125 This is supposed to work now on system V release 2. */
126
127 #define subprocesses
128
129 /* If your system uses COFF (Common Object File Format) then define the
130 preprocessor symbol "COFF". */
131
132 /* #define COFF */
133
134 /* define MAIL_USE_FLOCK if the mailer uses flock
135 to interlock access to /usr/spool/mail/$USER.
136 The alternative is that a lock file named
137 /usr/spool/mail/$USER.lock. */
138
139 /* #define MAIL_USE_FLOCK */
140
141 /* Define CLASH_DETECTION if you want lock files to be written
142 so that Emacs can tell instantly when you try to modify
143 a file that someone else has modified in his Emacs. */
144
145 /* #define CLASH_DETECTION */
146
147 /* Define SHORTNAMES if the C compiler can distinguish only
148 short names. It means that the stuff in ../shortnames
149 must be run to convert the long names to short ones. */
150
151 /* #define SHORTNAMES */
152
153 /* We do NOT use the Berkeley (and usg5.2.2) interface to nlist. */
154
155 /* #define NLIST_STRUCT */
156
157 /* The file containing the kernel's symbol table is called /unix. */
158
159 #define KERNEL_FILE "/unix"
160
161 /* The symbol in the kernel where the load average is found
162 is named avenrun. */
163
164 #define LDAV_SYMBOL "avenrun"
165
166 /* Special itemss needed to make Emacs run on this system. */
167
168 /*
169 * Make the sigsetmask function go away. Don't know what the
170 * ramifications of this are, but doesn't seem possible to
171 * emulate it properly anyway at this point.
172 */
173
174 #define sigsetmask(mask) /* Null expansion */
175
176 /* setjmp and longjmp can safely replace _setjmp and _longjmp,
177 but they will run slower. */
178
179 #define _setjmp setjmp
180 #define _longjmp longjmp
181
182 /* On USG systems the system calls are interruptable by signals
183 that the user program has elected to catch. Thus the system call
184 must be retried in these cases. To handle this without massive
185 changes in the source code, we remap the standard system call names
186 to names for our own functions in sysdep.c that do the system call
187 with retries. */
188
189 #define read sys_read
190 #define open sys_open
191 #define write sys_write
192
193 #define INTERRUPTIBLE_OPEN
194 #define INTERRUPTIBLE_IO
195
196 /* On USG systems these have different names */
197
198 #define index strchr
199 #define rindex strrchr
200
201 /* USG systems tend to put everything declared static
202 into the initialized data area, which becomes pure after dumping Emacs.
203 Foil this. Emacs carefully avoids static vars inside functions. */
204
205 #undef static
206
207 /* Compiler bug bites on many systems when default ADDR_CORRECT is used. */
208
209 /* #define ADDR_CORRECT(x) (x) */
210
211 #define LD_CMD cc
212
213 /* Prevent -lg from being used for debugging. Not needed. */
214
215 #define LIBS_DEBUG
216
217 /* No need to specify -lc when linking. */
218
219 #define LIB_STANDARD
220
221 /* Use terminfo instead of termcap. */
222
223 #define TERMINFO
224
225 /* The following definition seems to be needed in AIX version 3.1.6.8.
226 It may not have been needed in certain earlier versions. */
227 #define HAVE_TCATTR
228
229 #define SYSTEM_MALLOC
230
231
232