0
|
1 /* Definitions file for GNU Emacs running on IBM AIX version 3.1
|
|
2 Copyright (C) 1985, 1986, 1990 Free Software Foundation, Inc.
|
|
3
|
|
4 This file is part of GNU Emacs.
|
|
5
|
|
6 GNU Emacs is free software; you can redistribute it and/or modify
|
|
7 it under the terms of the GNU General Public License as published by
|
|
8 the Free Software Foundation; either version 2, or (at your option)
|
|
9 any later version.
|
|
10
|
|
11 GNU Emacs is distributed in the hope that it will be useful,
|
|
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
14 GNU General Public License for more details.
|
|
15
|
|
16 You should have received a copy of the GNU General Public License
|
|
17 along with XEmacs; see the file COPYING. If not, write to
|
|
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
19 Boston, MA 02111-1307, USA. */
|
|
20
|
|
21 /* Synched up with: FSF 19.31. */
|
|
22
|
|
23 /*
|
|
24 * Define symbols to identify the version of Unix this is.
|
|
25 * Define all the symbols that apply correctly.
|
|
26 */
|
|
27
|
|
28 #define USG /* System III, System V, etc */
|
|
29 #define USG5
|
|
30
|
|
31 /* Specify IBM AIX version of system */
|
|
32
|
|
33 #ifndef AIX
|
|
34 #define AIX
|
|
35 #endif
|
|
36
|
|
37 /* turn off c prototypes */
|
|
38 /* XEmacs change: XEmacs compiles fine with prototypes under AIX, dkeller@vnet.ibm.com
|
|
39 #ifndef _NO_PROTO
|
|
40 #define _NO_PROTO
|
|
41 #endif
|
|
42 */
|
|
43
|
|
44 /* This symbol should be defined on AIX Version 3 ??????? */
|
|
45 #ifndef _AIX
|
|
46 #define _AIX
|
|
47 #endif
|
|
48
|
|
49 /* Specify "_BSD" to invoke Berkeley compatibility in header files */
|
|
50 /*#ifndef _BSD
|
|
51 #define _BSD
|
|
52 #endif
|
|
53 */
|
|
54
|
|
55 /* SYSTEM_TYPE should indicate the kind of system you are using.
|
|
56 It sets the Lisp variable system-type. */
|
|
57
|
|
58 #define SYSTEM_TYPE "aix"
|
|
59
|
|
60 /* In AIX, you allocate a pty by opening /dev/ptc to get the master side.
|
|
61 To get the name of the slave side, you just ttyname() the master side. */
|
|
62
|
|
63 #define PTY_ITERATION for (c = 0; !c ; c++)
|
|
64 #define PTY_NAME_SPRINTF strcpy (pty_name, "/dev/ptc");
|
|
65 #define PTY_TTY_NAME_SPRINTF strcpy (pty_name, ttyname (fd));
|
|
66
|
|
67 /* XEmacs change: #### is this crap necessary? */
|
|
68 #ifndef NOT_C_CODE
|
|
69 #include <termios.h>
|
|
70 #endif
|
|
71
|
|
72 /*
|
|
73 * Define HAVE_PTYS if the system supports pty devices.
|
|
74 */
|
|
75
|
|
76 #define HAVE_PTYS
|
|
77
|
|
78 /* If your system uses COFF (Common Object File Format) then define the
|
|
79 preprocessor symbol "COFF". */
|
|
80
|
|
81 /* #define COFF */
|
|
82
|
|
83 /* define MAIL_USE_FLOCK if the mailer uses flock
|
|
84 to interlock access to /usr/spool/mail/$USER.
|
|
85 The alternative is that a lock file named
|
|
86 /usr/spool/mail/$USER.lock. */
|
|
87
|
|
88 /* #define MAIL_USE_FLOCK */
|
|
89
|
|
90 /* The file containing the kernel's symbol table is called /unix. */
|
|
91
|
|
92 #define KERNEL_FILE "/unix"
|
|
93
|
|
94 /* The symbol in the kernel where the load average is found
|
|
95 is named avenrun. */
|
|
96
|
|
97 #define LDAV_SYMBOL "avenrun"
|
|
98
|
|
99 /* Special itemss needed to make Emacs run on this system. */
|
|
100
|
|
101 /* On USG systems the system calls are interruptible by signals
|
|
102 that the user program has elected to catch. Thus the system call
|
|
103 must be retried in these cases. To handle this without massive
|
|
104 changes in the source code, we remap the standard system call names
|
|
105 to names for our own functions in sysdep.c that do the system call
|
|
106 with retries. */
|
|
107
|
|
108 #define INTERRUPTIBLE_OPEN
|
|
109 #define INTERRUPTIBLE_IO
|
|
110
|
|
111 /* Compiler bug bites on many systems when default ADDR_CORRECT is used. */
|
|
112
|
|
113 /* #define ADDR_CORRECT(x) (x) */
|
|
114
|
|
115 #ifndef __GNUC__
|
163
|
116 #define LINKER "cc"
|
0
|
117 #endif
|
|
118
|
|
119 /* Prevent -lg from being used for debugging. Not needed. */
|
|
120
|
|
121 #define LIBS_DEBUG
|
|
122
|
|
123 /* No need to specify -lc when linking. */
|
|
124
|
|
125 #define LIB_STANDARD
|
|
126
|
|
127 /* Use terminfo instead of termcap. */
|
|
128
|
|
129 #define TERMINFO
|
|
130
|
|
131 /* The following definition seems to be needed in AIX version 3.1.6.8.
|
|
132 It may not have been needed in certain earlier versions. */
|
|
133 #define HAVE_TCATTR
|
|
134
|
|
135 #define SYSTEM_MALLOC
|
|
136
|
|
137 /* AIX doesn't define this. */
|
|
138 #define unix 1
|
|
139
|
|
140 /* AIX 3.1 has the HFT features. */
|
|
141 #define AIXHFT
|