xref: /plan9/sys/src/ape/cmd/pdksh/config.h (revision 7dd7cddf99dd7472612f1413b4da293630e6b1bc)
1 /* config.h.  Generated automatically by configure.  */
2 /*
3  * This file, acconfig.h, which is a part of pdksh (the public domain ksh),
4  * is placed in the public domain.  It comes with no licence, warranty
5  * or guarantee of any kind (i.e., at your own risk).
6  */
7 
8 #ifndef CONFIG_H
9 #define CONFIG_H
10 
11 #define PLAN9
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 /* #define const */
25 
26 /* Define to `int' if <sys/types.h> doesn't define.  */
27 /* #define gid_t int */
28 
29 /* Define if you have a working `mmap' system call.  */
30 /* #undef HAVE_MMAP */
31 
32 /* Define if your struct stat has st_rdev.  */
33 /* #undef HAVE_ST_RDEV */
34 
35 /* Define if you have <sys/wait.h> that is POSIX.1 compatible.  */
36 #define HAVE_SYS_WAIT_H 1
37 
38 /* Define if you have <unistd.h>.  */
39 #define HAVE_UNISTD_H
40 
41 /* Define if on MINIX.  */
42 /* #define _MINIX 1 */
43 
44 /* Define to `int' if <sys/types.h> doesn't define.  */
45 /* #define mode_t short */
46 
47 /* Define to `long' if <sys/types.h> doesn't define.  */
48 /* #define off_t long */
49 
50 /* Define to `int' if <sys/types.h> doesn't define.  */
51 /* #define pid_t int */
52 
53 /* Define if the system does not provide POSIX.1 features except
54    with this defined.  */
55 #define _POSIX_1_SOURCE 2
56 
57 /* Define if you need to in order for stat and other things to work.  */
58 #undef _POSIX_SOURCE
59 #define _POSIX_SOURCE 1
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 /* #undef SYS_SIGLIST_DECLARED */
69 
70 /* Define if you can safely include both <sys/time.h> and <time.h>.  */
71 #define TIME_WITH_SYS_TIME
72 
73 /* Define to `int' if <sys/types.h> doesn't define.  */
74 /* #define uid_t int */
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 #define DUP2_BROKEN 1
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 /* #undef POSIX_SIGNALS */
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 /* #define V7_SIGNALS 1 */
99 
100 /* Define to use the fake posix signal routines (sigact.[ch]) */
101 /* #define USE_FAKE_SIGACT 1 */
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 /* #undef POSIX_PGRP */
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 #define NO_PGRP 1
117 
118 /* Define to char if your compiler doesn't like the void keyword */
119 /* #define void char */
120 #undef void
121 
122 /* Define to nothing if compiler doesn't like the volatile keyword */
123 #define volatile
124 
125 /* Define if C compiler groks function prototypes */
126 #define HAVE_PROTOTYPES
127 
128 /* Define if C compiler groks __attribute__((...)) (const, noreturn, format) */
129 /* #undef HAVE_GCC_FUNC_ATTR */
130 
131 /* Define to 32-bit signed integer type if <sys/types.h> doesn't define */
132 #define clock_t long
133 
134 /* Define to the type of struct rlimit fields if the rlim_t type is missing */
135 #define rlim_t long
136 
137 /* Define if time() is declared in <time.h> */
138 #define TIME_DECLARED
139 
140 /* Define to `unsigned' if <signal.h> doesn't define */
141 /* #define sigset_t unsigned */
142 
143 /* Define if sys_errlist[] and sys_nerr are in the C library */
144 /* #undef HAVE_SYS_ERRLIST */
145 #define _BSD_EXTENSION
146 #define HAVE_SYS_ERRLIST
147 
148 /* Define if sys_errlist[] and sys_nerr are defined in <errno.h> */
149 #define SYS_ERRLIST_DECLARED
150 
151 /* Define if sys_siglist[] is in the C library */
152 /* #undef HAVE_SYS_SIGLIST */
153 
154 /* Define if you have a sane <termios.h> header file */
155 #define HAVE_TERMIOS_H
156 
157 /* Define if you have a memset() function in your C library */
158 #define HAVE_MEMSET
159 
160 /* Define if you have a memmove() function in your C library */
161 #define HAVE_MEMMOVE
162 
163 /* Define if you have a bcopy() function in your C library */
164 /* #undef HAVE_BCOPY */
165 
166 /* Define if you have a lstat() function in your C library */
167 #define HAVE_LSTAT
168 
169 /* Define if you have a sane <termio.h> header file */
170 /* #define HAVE_TERMIO_H 1 */
171 
172 /* Define if you don't have times() or if it always returns 0 */
173 /* #define TIMES_BROKEN 1 */
174 
175 /* Define if opendir() will open non-directory files */
176 /* #define OPENDIR_DOES_NONDIR 1 */
177 
178 /* Define if the pgrp of setpgrp() can't be the pid of a zombie process */
179 /* #undef NEED_PGRP_SYNC */
180 
181 /* Define if you arg running SCO unix */
182 /* #undef OS_SCO */
183 
184 /* Define if you arg running ISC unix */
185 /* #undef OS_ISC */
186 
187 /* Define if you arg running OS2 with the EMX library */
188 /* #undef OS2 */
189 
190 /* Define if you have a POSIX.1 compatiable <sys/wait.h> */
191 #define POSIX_SYS_WAIT
192 
193 /* Define if your OS maps references to /dev/fd/n to file descriptor n */
194 /* #undef HAVE_DEV_FD */
195 
196 /* Define if your C library's getwd/getcwd function dumps core in unreadable
197  * directories.  */
198 /* #undef HPUX_GETWD_BUG */
199 
200 /* Default PATH (see comments in configure.in for more details) */
201 #define DEFAULT_PATH "/bin:."
202 
203 /* Include ksh features? (see comments in configure.in for more details) */
204 #define KSH 1
205 
206 /* Include emacs editing? (see comments in configure.in for more details) */
207 /* #define EMACS 0 */
208 
209 /* Include vi editing? (see comments in configure.in for more details) */
210 /* #define VI 0 */
211 
212 /* Include job control? (see comments in configure.in for more details) */
213 /* #define JOBS 0 */
214 
215 /* Include brace-expansion? (see comments in configure.in for more details) */
216 /* #define BRACE_EXPAND 0 */
217 
218 /* Include any history? (see comments in configure.in for more details) */
219 /* #define HISTORY 0 */
220 
221 /* Include complex history? (see comments in configure.in for more details) */
222 /* #undef COMPLEX_HISTORY */
223 
224 /* Strict POSIX behaviour? (see comments in configure.in for more details) */
225 #define POSIXLY_CORRECT
226 
227 /* Specify default $ENV? (see comments in configure.in for more details) */
228 /* #undef DEFAULT_ENV */
229 
230 /* Include shl(1) support? (see comments in configure.in for more details) */
231 /* #undef SWTCH */
232 
233 /* Include game-of-life? (see comments in configure.in for more details) */
234 /* #undef SILLY */
235 
236 /* The number of bytes in a int.  */
237 #define SIZEOF_INT sizeof(int)
238 
239 /* The number of bytes in a long.  */
240 #define SIZEOF_LONG sizeof(long)
241 
242 /* Define if you have the _setjmp function.  */
243 /* #undef HAVE__SETJMP */
244 
245 /* Define if you have the confstr function.  */
246 /* #undef HAVE_CONFSTR */
247 
248 /* Define if you have the dup2 function.  */
249 #define HAVE_DUP2
250 
251 /* Define if you have the flock function.  */
252 /* #undef HAVE_FLOCK */
253 
254 /* Define if you have the getcwd function.  */
255 #define HAVE_GETCWD
256 
257 /* Define if you have the getgroups function.  */
258 #define HAVE_GETGROUPS
259 
260 /* Define if you have the getpagesize function.  */
261 /* #undef HAVE_GETPAGESIZE */
262 
263 /* Define if you have the getrusage function.  */
264 /* #undef HAVE_GETRUSAGE */
265 
266 /* Define if you have the getwd function.  */
267 /* #undef HAVE_GETWD */
268 
269 /* Define if you have the killpg function.  */
270 /* #undef HAVE_KILLPG */
271 
272 /* Define if you have the nice function.  */
273 /* #undef HAVE_NICE */
274 
275 /* Define if you have the setrlimit function.  */
276 /* #undef HAVE_SETRLIMIT */
277 
278 /* Define if you have the sigsetjmp function.  */
279 #define HAVE_SIGSETJMP
280 
281 /* Define if you have the strcasecmp function.  */
282 /* #undef HAVE_STRCASECMP */
283 
284 /* Define if you have the strerror function.  */
285 #define HAVE_STRERROR
286 
287 /* Define if you have the strstr function.  */
288 #define HAVE_STRSTR
289 
290 /* Define if you have the sysconf function.  */
291 /* #undef HAVE_SYSCONF */
292 
293 /* Define if you have the tcsetpgrp function.  */
294 #define HAVE_TCSETPGRP
295 
296 /* Define if you have the ulimit function.  */
297 /* #undef HAVE_ULIMIT */
298 
299 /* Define if you have the valloc function.  */
300 /* #undef HAVE_VALLOC */
301 
302 /* Define if you have the wait3 function.  */
303 /* #undef HAVE_WAIT3 */
304 
305 /* Define if you have the waitpid function.  */
306 #define HAVE_WAITPID 1
307 
308 /* Define if you have the <dirent.h> header file.  */
309 #define HAVE_DIRENT_H 1
310 
311 /* Define if you have the <fcntl.h> header file.  */
312 #define HAVE_FCNTL_H 1
313 
314 /* Define if you have the <limits.h> header file.  */
315 #define HAVE_LIMITS_H 1
316 
317 /* Define if you have the <memory.h> header file.  */
318 /* #define HAVE_MEMORY_H 1 */
319 
320 /* Define if you have the <ndir.h> header file.  */
321 /* #undef HAVE_NDIR_H */
322 
323 /* Define if you have the <paths.h> header file.  */
324 /* #define HAVE_PATHS_H 1 */
325 
326 /* Define if you have the <stddef.h> header file.  */
327 #define HAVE_STDDEF_H 1
328 
329 /* Define if you have the <stdlib.h> header file.  */
330 #define HAVE_STDLIB_H 1
331 
332 /* Define if you have the <string.h> header file.  */
333 #define HAVE_STRING_H 1
334 
335 /* Define if you have the <sys/dir.h> header file.  */
336 /* #undef HAVE_SYS_DIR_H */
337 
338 /* Define if you have the <sys/ndir.h> header file.  */
339 /* #undef HAVE_SYS_NDIR_H */
340 
341 /* Define if you have the <sys/param.h> header file.  */
342 #define HAVE_SYS_PARAM_H 1
343 
344 /* Define if you have the <sys/resource.h> header file.  */
345 #define HAVE_SYS_RESOURCE_H 1
346 
347 /* Define if you have the <sys/time.h> header file.  */
348 #define HAVE_SYS_TIME_H 1
349 
350 /* Define if you have the <sys/wait.h> header file.  */
351 #define HAVE_SYS_WAIT_H 1
352 
353 /* Define if you have the <ulimit.h> header file.  */
354 /* #define HAVE_ULIMIT_H 1 */
355 
356 /* Define if you have the <values.h> header file.  */
357 /* #define HAVE_VALUES_H 1 */
358 
359 /* Need to use a separate file to keep the configure script from commenting
360  * out the undefs....
361  */
362 #include "conf-end.h"
363 
364 #endif /* CONFIG_H */
365