config.h revision 1.2 1 /* config.h. Generated automatically by configure. */
2 /* config.h.in. Generated automatically from configure.in by autoheader. */
3 /*
4 * This file, acconfig.h, which is a part of pdksh (the public domain ksh),
5 * is placed in the public domain. It comes with no licence, warranty
6 * or guarantee of any kind (i.e., at your own risk).
7 */
8
9 #ifndef CONFIG_H
10 #define CONFIG_H
11
12
13 /* Define if on AIX 3.
14 System headers sometimes define this.
15 We just want to avoid a redefinition error message. */
16 #ifndef _ALL_SOURCE
17 /* #undef _ALL_SOURCE */
18 #endif
19
20 /* Define if the closedir function returns void instead of int. */
21 /* #undef CLOSEDIR_VOID */
22
23 /* Define to empty if the keyword does not work. */
24 /* #undef const */
25
26
27 /* Define to `int' if <sys/types.h> doesn't define. */
28 /* #undef gid_t */
29
30 /* Define if you have a working `mmap' system call. */
31 #define HAVE_MMAP 1
32
33 /* Define if your struct stat has st_rdev. */
34 #define HAVE_ST_RDEV 1
35
36 /* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
37 #define HAVE_SYS_WAIT_H 1
38
39 /* Define if you have <unistd.h>. */
40 #define HAVE_UNISTD_H 1
41
42 /* Define if on MINIX. */
43 /* #undef _MINIX */
44
45 /* Define to `int' if <sys/types.h> doesn't define. */
46 /* #undef mode_t */
47
48 /* Define to `long' if <sys/types.h> doesn't define. */
49 /* #undef off_t */
50
51 /* Define to `int' if <sys/types.h> doesn't define. */
52 /* #undef pid_t */
53
54 /* Define if the system does not provide POSIX.1 features except
55 with this defined. */
56 /* #undef _POSIX_1_SOURCE */
57
58 /* Define if you need to in order for stat and other things to work. */
59 /* #undef _POSIX_SOURCE */
60
61 /* Define as the return type of signal handlers (int or void). */
62 #define RETSIGTYPE void
63
64 /* Define if the `S_IS*' macros in <sys/stat.h> do not work properly. */
65 /* #undef STAT_MACROS_BROKEN */
66
67 /* Define if `sys_siglist' is declared by <signal.h>. */
68 #define SYS_SIGLIST_DECLARED 1
69
70 /* Define if you can safely include both <sys/time.h> and <time.h>. */
71 #define TIME_WITH_SYS_TIME 1
72
73 /* Define to `int' if <sys/types.h> doesn't define. */
74 /* #undef uid_t */
75
76 /* Define if the closedir function returns void instead of int. */
77 /* #undef VOID_CLOSEDIR */
78
79 /* Define if your kernal doesn't handle scripts starting with #! */
80 /* #undef SHARPBANG */
81
82 /* Define if dup2() preserves the close-on-exec flag (ultrix does this) */
83 /* #undef DUP2_BROKEN */
84
85 /* Define as the return value of signal handlers (0 or ). */
86 #define RETSIGVAL
87
88 /* Define if you have posix signal routines (sigaction(), et. al.) */
89 #define POSIX_SIGNALS 1
90
91 /* Define if you have BSD4.2 signal routines (sigsetmask(), et. al.) */
92 /* #undef BSD42_SIGNALS */
93
94 /* Define if you have BSD4.1 signal routines (sigset(), et. al.) */
95 /* #undef BSD41_SIGNALS */
96
97 /* Define if you have v7 signal routines (signal(), signal reset on delivery) */
98 /* #undef V7_SIGNALS */
99
100 /* Define to use the fake posix signal routines (sigact.[ch]) */
101 /* #undef USE_FAKE_SIGACT */
102
103 /* Define if signals don't interrupt read() */
104 /* #undef SIGNALS_DONT_INTERRUPT */
105
106 /* Define if you have bsd versions of the setpgrp() and getpgrp() routines */
107 /* #undef BSD_PGRP */
108
109 /* Define if you have POSIX versions of the setpgid() and getpgrp() routines */
110 #define POSIX_PGRP 1
111
112 /* Define if you have sysV versions of the setpgrp() and getpgrp() routines */
113 /* #undef SYSV_PGRP */
114
115 /* Define if you don't have setpgrp(), setpgid() or getpgrp() routines */
116 /* #undef NO_PGRP */
117
118 /* Define to char if your compiler doesn't like the void keyword */
119 /* #undef void */
120
121 /* Define to nothing if compiler doesn't like the volatile keyword */
122 /* #undef volatile */
123
124 /* Define if C compiler groks function prototypes */
125 #define HAVE_PROTOTYPES 1
126
127 /* Define if C compiler groks __attribute__((...)) (const, noreturn, format) */
128 #define HAVE_GCC_FUNC_ATTR 1
129
130 /* Define to 32-bit signed integer type if <sys/types.h> doesn't define */
131 /* #undef clock_t */
132
133 /* Define to the type of struct rlimit fields if the rlim_t type is missing */
134 /* #undef rlim_t */
135
136 /* Define if time() is declared in <time.h> */
137 #define TIME_DECLARED 1
138
139 /* Define to `unsigned' if <signal.h> doesn't define */
140 /* #undef sigset_t */
141
142 /* Define if sys_errlist[] and sys_nerr are in the C library */
143 #define HAVE_SYS_ERRLIST 1
144
145 /* Define if sys_errlist[] and sys_nerr are defined in <errno.h> */
146 #define SYS_ERRLIST_DECLARED 1
147
148 /* Define if sys_siglist[] is in the C library */
149 #define HAVE_SYS_SIGLIST 1
150
151 /* Define if you have a sane <termios.h> header file */
152 #define HAVE_TERMIOS_H 1
153
154 /* Define if you have a memset() function in your C library */
155 #define HAVE_MEMSET 1
156
157 /* Define if you have a memmove() function in your C library */
158 #define HAVE_MEMMOVE 1
159
160 /* Define if you have a bcopy() function in your C library */
161 /* #undef HAVE_BCOPY */
162
163 /* Define if you have a lstat() function in your C library */
164 #define HAVE_LSTAT 1
165
166 /* Define if you have a sane <termio.h> header file */
167 /* #undef HAVE_TERMIO_H */
168
169 /* Define if you don't have times() or if it always returns 0 */
170 /* #undef TIMES_BROKEN */
171
172 /* Define if opendir() will open non-directory files */
173 /* #undef OPENDIR_DOES_NONDIR */
174
175 /* Define if the pgrp of setpgrp() can't be the pid of a zombie process */
176 /* #undef NEED_PGRP_SYNC */
177
178 /* Define if you arg running SCO unix */
179 /* #undef OS_SCO */
180
181 /* Define if you arg running ISC unix */
182 /* #undef OS_ISC */
183
184 /* Define if you arg running OS2 with the EMX library */
185 /* #undef OS2 */
186
187 /* Define if you have a POSIX.1 compatiable <sys/wait.h> */
188 #define POSIX_SYS_WAIT 1
189
190 /* Define if your OS maps references to /dev/fd/n to file descriptor n */
191 #define HAVE_DEV_FD 1
192
193 /* Default PATH (see comments in configure.in for more details) */
194 #define DEFAULT_PATH "/bin:/usr/bin:/usr/ucb"
195
196 /* Include ksh features? (see comments in configure.in for more details) */
197 #define KSH 1
198
199 /* Include emacs editing? (see comments in configure.in for more details) */
200 #define EMACS 1
201
202 /* Include vi editing? (see comments in configure.in for more details) */
203 #define VI 1
204
205 /* Include job control? (see comments in configure.in for more details) */
206 #define JOBS 1
207
208 /* Include brace-expansion? (see comments in configure.in for more details) */
209 #define BRACE_EXPAND 1
210
211 /* Include any history? (see comments in configure.in for more details) */
212 #define HISTORY 1
213
214 /* Include complex history? (see comments in configure.in for more details) */
215 /* #undef COMPLEX_HISTORY */
216
217 /* Strict POSIX behaviour? (see comments in configure.in for more details) */
218 /* #undef POSIXLY_CORRECT */
219
220 /* Specify default $ENV? (see comments in configure.in for more details) */
221 /* #undef DEFAULT_ENV */
222
223 /* Include shl(1) support? (see comments in configure.in for more details) */
224 /* #undef SWTCH */
225
226 /* Include game-of-life? (see comments in configure.in for more details) */
227 /* #undef SILLY */
228
229 /* The number of bytes in a int. */
230 #define SIZEOF_INT 4
231
232 /* The number of bytes in a long. */
233 #define SIZEOF_LONG 4
234
235 /* Define if you have the _setjmp function. */
236 /* #undef HAVE__SETJMP */
237
238 /* Define if you have the confstr function. */
239 #define HAVE_CONFSTR 1
240
241 /* Define if you have the flock function. */
242 #define HAVE_FLOCK 1
243
244 /* Define if you have the getgroups function. */
245 /* #undef HAVE_GETGROUPS */
246
247 /* Define if you have the getpagesize function. */
248 #define HAVE_GETPAGESIZE 1
249
250 /* Define if you have the getrusage function. */
251 /* #undef HAVE_GETRUSAGE */
252
253 /* Define if you have the getwd function. */
254 #define HAVE_GETWD 1
255
256 /* Define if you have the killpg function. */
257 #define HAVE_KILLPG 1
258
259 /* Define if you have the nice function. */
260 #define HAVE_NICE 1
261
262 /* Define if you have the setrlimit function. */
263 #define HAVE_SETRLIMIT 1
264
265 /* Define if you have the sigsetjmp function. */
266 #define HAVE_SIGSETJMP 1
267
268 /* Define if you have the strcasecmp function. */
269 #define HAVE_STRCASECMP 1
270
271 /* Define if you have the strerror function. */
272 #define HAVE_STRERROR 1
273
274 /* Define if you have the strstr function. */
275 #define HAVE_STRSTR 1
276
277 /* Define if you have the sysconf function. */
278 #define HAVE_SYSCONF 1
279
280 /* Define if you have the tcsetpgrp function. */
281 #define HAVE_TCSETPGRP 1
282
283 /* Define if you have the ulimit function. */
284 /* #undef HAVE_ULIMIT */
285
286 /* Define if you have the valloc function. */
287 #define HAVE_VALLOC 1
288
289 /* Define if you have the wait3 function. */
290 #define HAVE_WAIT3 1
291
292 /* Define if you have the waitpid function. */
293 #define HAVE_WAITPID 1
294
295 /* Define if you have the <dirent.h> header file. */
296 #define HAVE_DIRENT_H 1
297
298 /* Define if you have the <fcntl.h> header file. */
299 #define HAVE_FCNTL_H 1
300
301 /* Define if you have the <limits.h> header file. */
302 #define HAVE_LIMITS_H 1
303
304 /* Define if you have the <memory.h> header file. */
305 #define HAVE_MEMORY_H 1
306
307 /* Define if you have the <ndir.h> header file. */
308 /* #undef HAVE_NDIR_H */
309
310 /* Define if you have the <paths.h> header file. */
311 #define HAVE_PATHS_H 1
312
313 /* Define if you have the <stddef.h> header file. */
314 #define HAVE_STDDEF_H 1
315
316 /* Define if you have the <stdlib.h> header file. */
317 #define HAVE_STDLIB_H 1
318
319 /* Define if you have the <string.h> header file. */
320 #define HAVE_STRING_H 1
321
322 /* Define if you have the <sys/dir.h> header file. */
323 /* #undef HAVE_SYS_DIR_H */
324
325 /* Define if you have the <sys/ndir.h> header file. */
326 /* #undef HAVE_SYS_NDIR_H */
327
328 /* Define if you have the <sys/param.h> header file. */
329 #define HAVE_SYS_PARAM_H 1
330
331 /* Define if you have the <sys/resource.h> header file. */
332 #define HAVE_SYS_RESOURCE_H 1
333
334 /* Define if you have the <sys/time.h> header file. */
335 #define HAVE_SYS_TIME_H 1
336
337 /* Define if you have the <sys/wait.h> header file. */
338 #define HAVE_SYS_WAIT_H 1
339
340 /* Define if you have the <ulimit.h> header file. */
341 /* #undef HAVE_ULIMIT_H */
342
343 /* Define if you have the <values.h> header file. */
344 /* #undef HAVE_VALUES_H */
345
346 /* Need to use a separate file to keep the configure script from commenting
347 * out the undefs....
348 */
349 #include "conf-end.h"
350
351 #endif /* CONFIG_H */
352