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