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