1 /* $NetBSD: config.h,v 1.8 2004/08/19 23:00:22 christos Exp $ */
3 /* config.h. Generated automatically by configure. */
4 /* config.h.in. Generated automatically from configure.in by autoheader. */
6 * This file, acconfig.h, which is a part of pdksh (the public domain ksh),
7 * is placed in the public domain. It comes with no licence, warranty
8 * or guarantee of any kind (i.e., at your own risk).
14 /* Define if on AIX 3.
15 System headers sometimes define this.
16 We just want to avoid a redefinition error message. */
18 /* #undef _ALL_SOURCE */
21 /* Define if the closedir function returns void instead of int. */
22 /* #undef CLOSEDIR_VOID */
24 /* Define to empty if the keyword does not work. */
27 /* Define to `int' if <sys/types.h> doesn't define. */
30 /* Define if you have a working `mmap' system call. */
33 /* Define if your struct stat has st_rdev. */
34 #define HAVE_ST_RDEV 1
36 /* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
37 #define HAVE_SYS_WAIT_H 1
39 /* Define if you have <unistd.h>. */
40 #define HAVE_UNISTD_H 1
42 /* Define if on MINIX. */
45 /* Define to `int' if <sys/types.h> doesn't define. */
48 /* Define to `long' if <sys/types.h> doesn't define. */
51 /* Define to `int' if <sys/types.h> doesn't define. */
54 /* Define if the system does not provide POSIX.1 features except
56 /* #undef _POSIX_1_SOURCE */
58 /* Define if you need to in order for stat and other things to work. */
59 /* #undef _POSIX_SOURCE */
61 /* Define as the return type of signal handlers (int or void). */
62 #define RETSIGTYPE void
64 /* Define if the `S_IS*' macros in <sys/stat.h> do not work properly. */
65 /* #undef STAT_MACROS_BROKEN */
67 /* Define if `sys_siglist' is declared by <signal.h>. */
68 #define SYS_SIGLIST_DECLARED 1
70 /* Define if you can safely include both <sys/time.h> and <time.h>. */
71 #define TIME_WITH_SYS_TIME 1
73 /* Define to `int' if <sys/types.h> doesn't define. */
76 /* Define if the closedir function returns void instead of int. */
77 /* #undef VOID_CLOSEDIR */
79 /* Define if your kernel doesn't handle scripts starting with #! */
80 /* #undef SHARPBANG */
82 /* Define if dup2() preserves the close-on-exec flag (ultrix does this) */
83 /* #undef DUP2_BROKEN */
85 /* Define as the return value of signal handlers (0 or ). */
88 /* Define if you have posix signal routines (sigaction(), et. al.) */
89 #define POSIX_SIGNALS 1
91 /* Define if you have BSD4.2 signal routines (sigsetmask(), et. al.) */
92 /* #undef BSD42_SIGNALS */
94 /* Define if you have BSD4.1 signal routines (sigset(), et. al.) */
95 /* #undef BSD41_SIGNALS */
97 /* Define if you have v7 signal routines (signal(), signal reset on delivery) */
98 /* #undef V7_SIGNALS */
100 /* Define to use the fake posix signal routines (sigact.[ch]) */
101 /* #undef USE_FAKE_SIGACT */
103 /* Define if signals don't interrupt read() */
104 /* #undef SIGNALS_DONT_INTERRUPT */
106 /* Define if you have bsd versions of the setpgrp() and getpgrp() routines */
107 /* #undef BSD_PGRP */
109 /* Define if you have POSIX versions of the setpgid() and getpgrp() routines */
112 /* Define if you have sysV versions of the setpgrp() and getpgrp() routines */
113 /* #undef SYSV_PGRP */
115 /* Define if you don't have setpgrp(), setpgid() or getpgrp() routines */
118 /* Define to char if your compiler doesn't like the void keyword */
121 /* Define to nothing if compiler doesn't like the volatile keyword */
122 /* #undef volatile */
124 /* Define if C compiler groks function prototypes */
125 #define HAVE_PROTOTYPES 1
127 /* Define if C compiler groks __attribute__((...)) (const, noreturn, format) */
128 #define HAVE_GCC_FUNC_ATTR 1
130 /* Define to 32-bit signed integer type if <sys/types.h> doesn't define */
133 /* Define to the type of struct rlimit fields if the rlim_t type is missing */
136 /* Define if time() is declared in <time.h> */
137 #define TIME_DECLARED 1
139 /* Define to `unsigned' if <signal.h> doesn't define */
140 /* #undef sigset_t */
142 /* Define if sys_errlist[] and sys_nerr are in the C library */
143 #define HAVE_SYS_ERRLIST 1
145 /* Define if sys_errlist[] and sys_nerr are defined in <errno.h> */
146 #define SYS_ERRLIST_DECLARED 1
148 /* Define if sys_siglist[] is in the C library */
149 #define HAVE_SYS_SIGLIST 1
151 /* Define if you have a sane <termios.h> header file */
152 #define HAVE_TERMIOS_H 1
154 /* Define if you have a memset() function in your C library */
155 #define HAVE_MEMSET 1
157 /* Define if you have a memmove() function in your C library */
158 #define HAVE_MEMMOVE 1
160 /* Define if you have a bcopy() function in your C library */
163 /* Define if you have a lstat() function in your C library */
166 /* Define if you have a sane <termio.h> header file */
167 /* #undef HAVE_TERMIO_H */
169 /* Define if you don't have times() or if it always returns 0 */
170 /* #undef TIMES_BROKEN */
172 /* Define if opendir() will open non-directory files */
173 /* #undef OPENDIR_DOES_NONDIR */
175 /* Define if you have a dup2() function in your C library */
178 /* Define if the pgrp of setpgrp() can't be the pid of a zombie process */
179 /* #undef NEED_PGRP_SYNC */
181 /* Define if you arg running SCO unix */
184 /* Define if you arg running ISC unix */
187 /* Define if you arg running OS2 with the EMX library */
190 /* Define if you have a POSIX.1 compatible <sys/wait.h> */
191 #define POSIX_SYS_WAIT 1
193 /* Define if your OS maps references to /dev/fd/n to file descriptor n */
194 /* #undef HAVE_DEV_FD */
198 #define DEFAULT_PATH RESCUEDIR ":/bin:/usr/bin:/sbin:/usr/sbin"
200 #define DEFAULT_PATH "/bin:/usr/bin:/sbin:/usr/sbin"
203 /* Define if your C library's getwd/getcwd function dumps core in unreadable
205 /* #undef HPUX_GETWD_BUG */
207 /* Include ksh features? */
210 /* Include emacs editing? */
213 /* Include vi editing? */
216 /* Include job control? */
219 /* Include brace-expansion? */
220 #define BRACE_EXPAND 1
222 /* Include any history? */
225 /* Include complex history? */
226 /* #undef COMPLEX_HISTORY */
228 /* Strict POSIX behaviour? */
229 #define POSIXLY_CORRECT 1
231 /* Specify default $ENV? */
232 #define DEFAULT_ENV "$HOME/.kshrc"
234 /* Include shl(1) support? */
237 /* Include game-of-life? */
240 /* The number of bytes in a int. */
243 /* The number of bytes in a long. */
244 #define SIZEOF_LONG 4
246 /* Define if you have the _setjmp function. */
249 /* Define if you have the confstr function. */
250 /* #undef HAVE_CONFSTR */
252 /* Define if you have the flock function. */
255 /* Define if you have the getcwd function. */
256 #define HAVE_GETCWD 1
258 /* Define if you have the getgroups function. */
259 /* #undef HAVE_GETGROUPS */
261 /* Define if you have the getpagesize function. */
262 #define HAVE_GETPAGESIZE 1
264 /* Define if you have the getrusage function. */
265 #define HAVE_GETRUSAGE
267 /* Define if you have the getwd function. */
270 /* Define if you have the killpg function. */
271 #define HAVE_KILLPG 1
273 /* Define if you have the nice function. */
276 /* Define if you have the setrlimit function. */
277 #define HAVE_SETRLIMIT 1
279 /* Define if you have the sigsetjmp function. */
280 #define HAVE_SIGSETJMP 1
282 /* Define if you have the strcasecmp function. */
283 #define HAVE_STRCASECMP 1
285 /* Define if you have the strerror function. */
286 #define HAVE_STRERROR 1
288 /* Define if you have the strstr function. */
289 #define HAVE_STRSTR 1
291 /* Define if you have the sysconf function. */
292 #define HAVE_SYSCONF 1
294 /* Define if you have the tcsetpgrp function. */
295 #define HAVE_TCSETPGRP 1
297 /* Define if you have the ulimit function. */
300 /* Define if you have the valloc function. */
301 #define HAVE_VALLOC 1
303 /* Define if you have the wait3 function. */
306 /* Define if you have the waitpid function. */
307 #define HAVE_WAITPID 1
309 /* Define if you have the <dirent.h> header file. */
310 #define HAVE_DIRENT_H 1
312 /* Define if you have the <fcntl.h> header file. */
313 #define HAVE_FCNTL_H 1
315 /* Define if you have the <limits.h> header file. */
316 #define HAVE_LIMITS_H 1
318 /* Define if you have the <memory.h> header file. */
319 #define HAVE_MEMORY_H 1
321 /* Define if you have the <ndir.h> header file. */
322 /* #undef HAVE_NDIR_H */
324 /* Define if you have the <paths.h> header file. */
325 #define HAVE_PATHS_H 1
327 /* Define if you have the <stddef.h> header file. */
328 #define HAVE_STDDEF_H 1
330 /* Define if you have the <stdlib.h> header file. */
331 #define HAVE_STDLIB_H 1
333 /* Define if you have the <string.h> header file. */
334 #define HAVE_STRING_H 1
336 /* Define if you have the <sys/dir.h> header file. */
337 #define HAVE_SYS_DIR_H
339 /* Define if you have the <sys/ndir.h> header file. */
340 /* #undef HAVE_SYS_NDIR_H */
342 /* Define if you have the <sys/param.h> header file. */
343 #define HAVE_SYS_PARAM_H 1
345 /* Define if you have the <sys/resource.h> header file. */
346 #define HAVE_SYS_RESOURCE_H 1
348 /* Define if you have the <sys/time.h> header file. */
349 #define HAVE_SYS_TIME_H 1
351 /* Define if you have the <sys/wait.h> header file. */
352 #define HAVE_SYS_WAIT_H 1
354 /* Define if you have the <ulimit.h> header file. */
355 #define HAVE_ULIMIT_H
357 /* Define if you have the <values.h> header file. */
358 /* #undef HAVE_VALUES_H */
360 /* Need to use a separate file to keep the configure script from commenting
363 #include "conf-end.h"
365 #endif /* CONFIG_H */