Mercurial > emacs
annotate src/s/aix3-1.h @ 34487:5cdf7acaeb2d
Add obsolete.
author | Dave Love <fx@gnu.org> |
---|---|
date | Tue, 12 Dec 2000 15:11:04 +0000 |
parents | e36f3a1efa2b |
children | 695cf19ef79e d7ddb3e565de |
rev | line source |
---|---|
456 | 1 /* Definitions file for GNU Emacs running on IBM AIX version 3.1 |
26090 | 2 Copyright (C) 1985, 1986, 1990, 1999 Free Software Foundation, Inc. |
456 | 3 |
4 This file is part of GNU Emacs. | |
5 | |
1907
df8b67adcee3
* aix3-1.h: Changes from 18.58.
Jim Blandy <jimb@redhat.com>
parents:
1374
diff
changeset
|
6 GNU Emacs is free software; you can redistribute it and/or modify |
df8b67adcee3
* aix3-1.h: Changes from 18.58.
Jim Blandy <jimb@redhat.com>
parents:
1374
diff
changeset
|
7 it under the terms of the GNU General Public License as published by |
3699 | 8 the Free Software Foundation; either version 2, or (at your option) |
1907
df8b67adcee3
* aix3-1.h: Changes from 18.58.
Jim Blandy <jimb@redhat.com>
parents:
1374
diff
changeset
|
9 any later version. |
456 | 10 |
1907
df8b67adcee3
* aix3-1.h: Changes from 18.58.
Jim Blandy <jimb@redhat.com>
parents:
1374
diff
changeset
|
11 GNU Emacs is distributed in the hope that it will be useful, |
df8b67adcee3
* aix3-1.h: Changes from 18.58.
Jim Blandy <jimb@redhat.com>
parents:
1374
diff
changeset
|
12 but WITHOUT ANY WARRANTY; without even the implied warranty of |
df8b67adcee3
* aix3-1.h: Changes from 18.58.
Jim Blandy <jimb@redhat.com>
parents:
1374
diff
changeset
|
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
df8b67adcee3
* aix3-1.h: Changes from 18.58.
Jim Blandy <jimb@redhat.com>
parents:
1374
diff
changeset
|
14 GNU General Public License for more details. |
df8b67adcee3
* aix3-1.h: Changes from 18.58.
Jim Blandy <jimb@redhat.com>
parents:
1374
diff
changeset
|
15 |
df8b67adcee3
* aix3-1.h: Changes from 18.58.
Jim Blandy <jimb@redhat.com>
parents:
1374
diff
changeset
|
16 You should have received a copy of the GNU General Public License |
df8b67adcee3
* aix3-1.h: Changes from 18.58.
Jim Blandy <jimb@redhat.com>
parents:
1374
diff
changeset
|
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:
12903
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:
12903
diff
changeset
|
19 Boston, MA 02111-1307, USA. */ |
456 | 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 | |
12903
049dd4c1e0c2
(SYSTEM_TYPE): Change to just "aix".
Richard M. Stallman <rms@gnu.org>
parents:
10077
diff
changeset
|
55 #define SYSTEM_TYPE "aix" |
456 | 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 | |
1374
3d87587ddc4e
(PTY_ITERATION, etc.): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
1088
diff
changeset
|
68 /* In AIX, you allocate a pty by opening /dev/ptc to get the master side. |
3d87587ddc4e
(PTY_ITERATION, etc.): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
1088
diff
changeset
|
69 To get the name of the slave side, you just ttyname() the master side. */ |
456 | 70 |
1374
3d87587ddc4e
(PTY_ITERATION, etc.): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
1088
diff
changeset
|
71 #define PTY_ITERATION for (c = 0; !c ; c++) |
3d87587ddc4e
(PTY_ITERATION, etc.): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
1088
diff
changeset
|
72 #define PTY_NAME_SPRINTF strcpy (pty_name, "/dev/ptc"); |
3d87587ddc4e
(PTY_ITERATION, etc.): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
1088
diff
changeset
|
73 #define PTY_TTY_NAME_SPRINTF strcpy (pty_name, ttyname (fd)); |
456 | 74 |
75 /* | |
76 * Define HAVE_TERMIO if the system provides sysV-style ioctls | |
77 * for terminal control. | |
78 */ | |
79 | |
1907
df8b67adcee3
* aix3-1.h: Changes from 18.58.
Jim Blandy <jimb@redhat.com>
parents:
1374
diff
changeset
|
80 #define HAVE_TERMIOS |
456 | 81 |
82 /* | |
83 * Define HAVE_PTYS if the system supports pty devices. | |
84 */ | |
85 | |
86 #define HAVE_PTYS | |
87 | |
88 /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ | |
89 | |
90 #define HAVE_SOCKETS | |
91 | |
92 /* | |
93 * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate | |
94 * The 4.2 opendir, etc., library functions. | |
95 */ | |
96 | |
97 /* #define NONSYSTEM_DIR_LIBRARY */ | |
98 | |
99 /* | |
100 * Define SYSV_SYSTEM_DIR to use the V.3 getdents/readir | |
101 * library functions. Almost, but not quite the same as | |
102 * the 4.2 functions | |
103 */ | |
104 | |
105 #define SYSV_SYSTEM_DIR | |
106 | |
107 /* Define this symbol if your system has the functions bcopy, etc. */ | |
108 | |
109 #define BSTRING | |
110 | |
111 /* subprocesses should be defined if you want to | |
112 have code for asynchronous subprocesses | |
113 (as used in M-x compile and M-x shell). | |
114 This is supposed to work now on system V release 2. */ | |
115 | |
116 #define subprocesses | |
117 | |
118 /* If your system uses COFF (Common Object File Format) then define the | |
119 preprocessor symbol "COFF". */ | |
120 | |
121 /* #define COFF */ | |
122 | |
123 /* define MAIL_USE_FLOCK if the mailer uses flock | |
124 to interlock access to /usr/spool/mail/$USER. | |
125 The alternative is that a lock file named | |
126 /usr/spool/mail/$USER.lock. */ | |
127 | |
128 /* #define MAIL_USE_FLOCK */ | |
129 | |
130 /* Define CLASH_DETECTION if you want lock files to be written | |
131 so that Emacs can tell instantly when you try to modify | |
132 a file that someone else has modified in his Emacs. */ | |
133 | |
134 /* #define CLASH_DETECTION */ | |
135 | |
136 /* Define SHORTNAMES if the C compiler can distinguish only | |
137 short names. It means that the stuff in ../shortnames | |
138 must be run to convert the long names to short ones. */ | |
139 | |
140 /* #define SHORTNAMES */ | |
141 | |
142 /* The file containing the kernel's symbol table is called /unix. */ | |
143 | |
144 #define KERNEL_FILE "/unix" | |
145 | |
146 /* The symbol in the kernel where the load average is found | |
147 is named avenrun. */ | |
148 | |
149 #define LDAV_SYMBOL "avenrun" | |
150 | |
151 /* Special itemss needed to make Emacs run on this system. */ | |
152 | |
153 /* | |
154 * Make the sigsetmask function go away. Don't know what the | |
155 * ramifications of this are, but doesn't seem possible to | |
156 * emulate it properly anyway at this point. | |
157 */ | |
158 | |
159 #define sigsetmask(mask) /* Null expansion */ | |
160 | |
161 /* setjmp and longjmp can safely replace _setjmp and _longjmp, | |
162 but they will run slower. */ | |
163 | |
164 #define _setjmp setjmp | |
165 #define _longjmp longjmp | |
166 | |
167 /* On USG systems these have different names */ | |
168 | |
169 #define index strchr | |
170 #define rindex strrchr | |
171 | |
172 /* USG systems tend to put everything declared static | |
173 into the initialized data area, which becomes pure after dumping Emacs. | |
174 Foil this. Emacs carefully avoids static vars inside functions. */ | |
175 | |
176 #undef static | |
177 | |
178 /* Compiler bug bites on many systems when default ADDR_CORRECT is used. */ | |
179 | |
180 /* #define ADDR_CORRECT(x) (x) */ | |
181 | |
2470
6643737d26ae
* m/imbrs6000.h: If we're using GCC, define ORDINARY_LINK instead
Jim Blandy <jimb@redhat.com>
parents:
1907
diff
changeset
|
182 #ifndef __GNUC__ |
624 | 183 #define LINKER cc |
2470
6643737d26ae
* m/imbrs6000.h: If we're using GCC, define ORDINARY_LINK instead
Jim Blandy <jimb@redhat.com>
parents:
1907
diff
changeset
|
184 #endif |
456 | 185 |
186 /* Prevent -lg from being used for debugging. Not needed. */ | |
187 | |
188 #define LIBS_DEBUG | |
189 | |
190 /* No need to specify -lc when linking. */ | |
191 | |
192 #define LIB_STANDARD | |
193 | |
194 /* Use terminfo instead of termcap. */ | |
195 | |
196 #define TERMINFO | |
197 | |
198 /* The following definition seems to be needed in AIX version 3.1.6.8. | |
199 It may not have been needed in certain earlier versions. */ | |
200 #define HAVE_TCATTR | |
201 | |
202 #define SYSTEM_MALLOC | |
203 | |
10077
ee5e9fbcd051
(NEED_UNISTD_H): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
10050
diff
changeset
|
204 /* Include unistd.h, even though we don't define POSIX. */ |
ee5e9fbcd051
(NEED_UNISTD_H): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
10050
diff
changeset
|
205 #define NEED_UNISTD_H |
ee5e9fbcd051
(NEED_UNISTD_H): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
10050
diff
changeset
|
206 |
1907
df8b67adcee3
* aix3-1.h: Changes from 18.58.
Jim Blandy <jimb@redhat.com>
parents:
1374
diff
changeset
|
207 /* AIX doesn't define this. */ |
df8b67adcee3
* aix3-1.h: Changes from 18.58.
Jim Blandy <jimb@redhat.com>
parents:
1374
diff
changeset
|
208 #define unix 1 |
10050 | 209 |
210 /* AIX 3.1 has the HFT features. */ | |
211 #define AIXHFT | |
25566
04942772c338
1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
Dave Love <fx@gnu.org>
parents:
14186
diff
changeset
|
212 |
04942772c338
1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
Dave Love <fx@gnu.org>
parents:
14186
diff
changeset
|
213 /* For unexaix.c. */ |
04942772c338
1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
Dave Love <fx@gnu.org>
parents:
14186
diff
changeset
|
214 #define ALIGN_DATA_RELOC |
04942772c338
1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
Dave Love <fx@gnu.org>
parents:
14186
diff
changeset
|
215 |