Mercurial > emacs
annotate src/s/aix3-1.h @ 95743:9fcb5d4baf9b
(add_opentype_font_name_to_list): Adjusted for
the change of font_intern_prop.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Tue, 10 Jun 2008 02:06:27 +0000 |
parents | 1f134b61867c |
children |
rev | line source |
---|---|
456 | 1 /* Definitions file for GNU Emacs running on IBM AIX version 3.1 |
75227
e90d04cd455a
Update copyright for years from Emacs 21 to present (mainly adding
Glenn Morris <rgm@gnu.org>
parents:
68651
diff
changeset
|
2 Copyright (C) 1985, 1986, 1990, 1999, 2001, 2002, 2003, 2004, |
79756 | 3 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
456 | 4 |
5 This file is part of GNU Emacs. | |
6 | |
94715
1f134b61867c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
92159
diff
changeset
|
7 GNU Emacs is free software: you can redistribute it and/or modify |
1907
df8b67adcee3
* aix3-1.h: Changes from 18.58.
Jim Blandy <jimb@redhat.com>
parents:
1374
diff
changeset
|
8 it under the terms of the GNU General Public License as published by |
94715
1f134b61867c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
92159
diff
changeset
|
9 the Free Software Foundation, either version 3 of the License, or |
1f134b61867c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
92159
diff
changeset
|
10 (at your option) any later version. |
456 | 11 |
1907
df8b67adcee3
* aix3-1.h: Changes from 18.58.
Jim Blandy <jimb@redhat.com>
parents:
1374
diff
changeset
|
12 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
|
13 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
|
14 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
|
15 GNU General Public License for more details. |
df8b67adcee3
* aix3-1.h: Changes from 18.58.
Jim Blandy <jimb@redhat.com>
parents:
1374
diff
changeset
|
16 |
df8b67adcee3
* aix3-1.h: Changes from 18.58.
Jim Blandy <jimb@redhat.com>
parents:
1374
diff
changeset
|
17 You should have received a copy of the GNU General Public License |
94715
1f134b61867c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
92159
diff
changeset
|
18 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ |
456 | 19 |
20 | |
21 /* | |
22 * Define symbols to identify the version of Unix this is. | |
23 * Define all the symbols that apply correctly. | |
24 */ | |
25 | |
26 #define USG /* System III, System V, etc */ | |
27 #define USG5 | |
28 | |
29 /* Specify IBM AIX version of system */ | |
30 | |
31 #ifndef AIX | |
32 #define AIX | |
33 #endif | |
34 | |
35 /* turn off c prototypes */ | |
36 #ifndef _NO_PROTO | |
37 #define _NO_PROTO | |
38 #endif | |
39 | |
40 /* This symbol should be defined on AIX Version 3 ??????? */ | |
41 #ifndef _AIX | |
42 #define _AIX | |
43 #endif | |
44 | |
45 /* Specify "_BSD" to invoke Berkeley compatibility in header files */ | |
46 /*#ifndef _BSD | |
47 #define _BSD | |
48 #endif | |
49 */ | |
50 | |
51 /* SYSTEM_TYPE should indicate the kind of system you are using. | |
52 It sets the Lisp variable system-type. */ | |
53 | |
12903
049dd4c1e0c2
(SYSTEM_TYPE): Change to just "aix".
Richard M. Stallman <rms@gnu.org>
parents:
10077
diff
changeset
|
54 #define SYSTEM_TYPE "aix" |
456 | 55 |
56 | |
57 /* nomultiplejobs should be defined if your system's shell | |
58 does not have "job control" (the ability to stop a program, | |
59 run some other program, then continue the first one). */ | |
60 | |
61 /* #define NOMULTIPLEJOBS */ | |
62 | |
63 /* Default is to set interrupt_input to 0: don't do input buffering within Emacs */ | |
64 | |
65 /* #define INTERRUPT_INPUT */ | |
66 | |
1374
3d87587ddc4e
(PTY_ITERATION, etc.): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
1088
diff
changeset
|
67 /* 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
|
68 To get the name of the slave side, you just ttyname() the master side. */ |
456 | 69 |
1374
3d87587ddc4e
(PTY_ITERATION, etc.): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
1088
diff
changeset
|
70 #define PTY_ITERATION for (c = 0; !c ; c++) |
3d87587ddc4e
(PTY_ITERATION, etc.): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
1088
diff
changeset
|
71 #define PTY_NAME_SPRINTF strcpy (pty_name, "/dev/ptc"); |
3d87587ddc4e
(PTY_ITERATION, etc.): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
1088
diff
changeset
|
72 #define PTY_TTY_NAME_SPRINTF strcpy (pty_name, ttyname (fd)); |
456 | 73 |
74 /* | |
75 * Define HAVE_TERMIO if the system provides sysV-style ioctls | |
76 * for terminal control. | |
77 */ | |
78 | |
1907
df8b67adcee3
* aix3-1.h: Changes from 18.58.
Jim Blandy <jimb@redhat.com>
parents:
1374
diff
changeset
|
79 #define HAVE_TERMIOS |
456 | 80 |
81 /* | |
82 * Define HAVE_PTYS if the system supports pty devices. | |
83 */ | |
84 | |
85 #define HAVE_PTYS | |
86 | |
87 /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ | |
88 | |
89 #define HAVE_SOCKETS | |
90 | |
91 /* | |
92 * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate | |
93 * The 4.2 opendir, etc., library functions. | |
94 */ | |
95 | |
96 /* #define NONSYSTEM_DIR_LIBRARY */ | |
97 | |
98 /* | |
99 * Define SYSV_SYSTEM_DIR to use the V.3 getdents/readir | |
100 * library functions. Almost, but not quite the same as | |
101 * the 4.2 functions | |
102 */ | |
103 | |
104 #define SYSV_SYSTEM_DIR | |
105 | |
106 /* Define this symbol if your system has the functions bcopy, etc. */ | |
107 | |
108 #define BSTRING | |
109 | |
110 /* subprocesses should be defined if you want to | |
111 have code for asynchronous subprocesses | |
112 (as used in M-x compile and M-x shell). | |
113 This is supposed to work now on system V release 2. */ | |
114 | |
115 #define subprocesses | |
116 | |
117 /* If your system uses COFF (Common Object File Format) then define the | |
118 preprocessor symbol "COFF". */ | |
119 | |
120 /* #define COFF */ | |
121 | |
122 /* define MAIL_USE_FLOCK if the mailer uses flock | |
123 to interlock access to /usr/spool/mail/$USER. | |
124 The alternative is that a lock file named | |
125 /usr/spool/mail/$USER.lock. */ | |
126 | |
127 /* #define MAIL_USE_FLOCK */ | |
128 | |
129 /* Define CLASH_DETECTION if you want lock files to be written | |
130 so that Emacs can tell instantly when you try to modify | |
131 a file that someone else has modified in his Emacs. */ | |
132 | |
133 /* #define CLASH_DETECTION */ | |
134 | |
135 /* The file containing the kernel's symbol table is called /unix. */ | |
136 | |
137 #define KERNEL_FILE "/unix" | |
138 | |
139 /* The symbol in the kernel where the load average is found | |
140 is named avenrun. */ | |
141 | |
142 #define LDAV_SYMBOL "avenrun" | |
143 | |
144 /* Special itemss needed to make Emacs run on this system. */ | |
145 | |
146 /* | |
147 * Make the sigsetmask function go away. Don't know what the | |
148 * ramifications of this are, but doesn't seem possible to | |
149 * emulate it properly anyway at this point. | |
150 */ | |
151 | |
152 #define sigsetmask(mask) /* Null expansion */ | |
153 | |
154 /* setjmp and longjmp can safely replace _setjmp and _longjmp, | |
155 but they will run slower. */ | |
156 | |
157 #define _setjmp setjmp | |
158 #define _longjmp longjmp | |
159 | |
160 /* On USG systems these have different names */ | |
161 | |
162 #define index strchr | |
163 #define rindex strrchr | |
164 | |
165 /* USG systems tend to put everything declared static | |
166 into the initialized data area, which becomes pure after dumping Emacs. | |
167 Foil this. Emacs carefully avoids static vars inside functions. */ | |
168 | |
169 #undef static | |
170 | |
171 /* Compiler bug bites on many systems when default ADDR_CORRECT is used. */ | |
172 | |
173 /* #define ADDR_CORRECT(x) (x) */ | |
174 | |
2470
6643737d26ae
* m/imbrs6000.h: If we're using GCC, define ORDINARY_LINK instead
Jim Blandy <jimb@redhat.com>
parents:
1907
diff
changeset
|
175 #ifndef __GNUC__ |
624 | 176 #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
|
177 #endif |
456 | 178 |
179 /* Prevent -lg from being used for debugging. Not needed. */ | |
180 | |
181 #define LIBS_DEBUG | |
182 | |
183 /* No need to specify -lc when linking. */ | |
184 | |
185 #define LIB_STANDARD | |
186 | |
187 /* Use terminfo instead of termcap. */ | |
188 | |
189 #define TERMINFO | |
190 | |
191 /* The following definition seems to be needed in AIX version 3.1.6.8. | |
192 It may not have been needed in certain earlier versions. */ | |
193 #define HAVE_TCATTR | |
194 | |
195 #define SYSTEM_MALLOC | |
196 | |
10077
ee5e9fbcd051
(NEED_UNISTD_H): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
10050
diff
changeset
|
197 /* 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
|
198 #define NEED_UNISTD_H |
ee5e9fbcd051
(NEED_UNISTD_H): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
10050
diff
changeset
|
199 |
1907
df8b67adcee3
* aix3-1.h: Changes from 18.58.
Jim Blandy <jimb@redhat.com>
parents:
1374
diff
changeset
|
200 /* AIX doesn't define this. */ |
df8b67adcee3
* aix3-1.h: Changes from 18.58.
Jim Blandy <jimb@redhat.com>
parents:
1374
diff
changeset
|
201 #define unix 1 |
10050 | 202 |
203 /* AIX 3.1 has the HFT features. */ | |
204 #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
|
205 |
04942772c338
1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
Dave Love <fx@gnu.org>
parents:
14186
diff
changeset
|
206 /* 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
|
207 #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
|
208 |
52401 | 209 /* arch-tag: bfff798c-542d-4290-91f2-267394c85b7b |
210 (do not change this comment) */ |