config.h revision 1.8 1 1.8 christos /* $NetBSD: config.h,v 1.8 2004/08/19 23:00:22 christos 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.8 christos #ifdef RESCUEDIR
198 1.8 christos #define DEFAULT_PATH RESCUEDIR ":/bin:/usr/bin:/sbin:/usr/sbin"
199 1.8 christos #else
200 1.7 mycroft #define DEFAULT_PATH "/bin:/usr/bin:/sbin:/usr/sbin"
201 1.8 christos #endif
202 1.7 mycroft
203 1.7 mycroft /* Define if your C library's getwd/getcwd function dumps core in unreadable
204 1.7 mycroft * directories. */
205 1.7 mycroft /* #undef HPUX_GETWD_BUG */
206 1.1 jtc
207 1.7 mycroft /* Include ksh features? */
208 1.1 jtc #define KSH 1
209 1.1 jtc
210 1.7 mycroft /* Include emacs editing? */
211 1.1 jtc #define EMACS 1
212 1.1 jtc
213 1.7 mycroft /* Include vi editing? */
214 1.1 jtc #define VI 1
215 1.1 jtc
216 1.7 mycroft /* Include job control? */
217 1.1 jtc #define JOBS 1
218 1.1 jtc
219 1.7 mycroft /* Include brace-expansion? */
220 1.1 jtc #define BRACE_EXPAND 1
221 1.1 jtc
222 1.7 mycroft /* Include any history? */
223 1.1 jtc #define HISTORY 1
224 1.1 jtc
225 1.7 mycroft /* Include complex history? */
226 1.1 jtc /* #undef COMPLEX_HISTORY */
227 1.1 jtc
228 1.7 mycroft /* Strict POSIX behaviour? */
229 1.3 jtc #define POSIXLY_CORRECT 1
230 1.1 jtc
231 1.7 mycroft /* Specify default $ENV? */
232 1.6 jdolecek #define DEFAULT_ENV "$HOME/.kshrc"
233 1.1 jtc
234 1.7 mycroft /* Include shl(1) support? */
235 1.1 jtc /* #undef SWTCH */
236 1.1 jtc
237 1.7 mycroft /* Include game-of-life? */
238 1.1 jtc /* #undef SILLY */
239 1.1 jtc
240 1.1 jtc /* The number of bytes in a int. */
241 1.1 jtc #define SIZEOF_INT 4
242 1.1 jtc
243 1.1 jtc /* The number of bytes in a long. */
244 1.1 jtc #define SIZEOF_LONG 4
245 1.1 jtc
246 1.1 jtc /* Define if you have the _setjmp function. */
247 1.7 mycroft #define HAVE__SETJMP
248 1.1 jtc
249 1.1 jtc /* Define if you have the confstr function. */
250 1.1 jtc #define HAVE_CONFSTR 1
251 1.1 jtc
252 1.1 jtc /* Define if you have the flock function. */
253 1.1 jtc #define HAVE_FLOCK 1
254 1.1 jtc
255 1.7 mycroft /* Define if you have the getcwd function. */
256 1.7 mycroft #define HAVE_GETCWD 1
257 1.7 mycroft
258 1.1 jtc /* Define if you have the getgroups function. */
259 1.7 mycroft #define HAVE_GETGROUPS
260 1.1 jtc
261 1.2 jtc /* Define if you have the getpagesize function. */
262 1.2 jtc #define HAVE_GETPAGESIZE 1
263 1.2 jtc
264 1.1 jtc /* Define if you have the getrusage function. */
265 1.7 mycroft #define HAVE_GETRUSAGE
266 1.1 jtc
267 1.1 jtc /* Define if you have the getwd function. */
268 1.1 jtc #define HAVE_GETWD 1
269 1.1 jtc
270 1.1 jtc /* Define if you have the killpg function. */
271 1.1 jtc #define HAVE_KILLPG 1
272 1.1 jtc
273 1.1 jtc /* Define if you have the nice function. */
274 1.1 jtc #define HAVE_NICE 1
275 1.1 jtc
276 1.1 jtc /* Define if you have the setrlimit function. */
277 1.1 jtc #define HAVE_SETRLIMIT 1
278 1.1 jtc
279 1.1 jtc /* Define if you have the sigsetjmp function. */
280 1.1 jtc #define HAVE_SIGSETJMP 1
281 1.1 jtc
282 1.1 jtc /* Define if you have the strcasecmp function. */
283 1.1 jtc #define HAVE_STRCASECMP 1
284 1.1 jtc
285 1.1 jtc /* Define if you have the strerror function. */
286 1.1 jtc #define HAVE_STRERROR 1
287 1.1 jtc
288 1.1 jtc /* Define if you have the strstr function. */
289 1.1 jtc #define HAVE_STRSTR 1
290 1.1 jtc
291 1.1 jtc /* Define if you have the sysconf function. */
292 1.1 jtc #define HAVE_SYSCONF 1
293 1.1 jtc
294 1.1 jtc /* Define if you have the tcsetpgrp function. */
295 1.1 jtc #define HAVE_TCSETPGRP 1
296 1.1 jtc
297 1.1 jtc /* Define if you have the ulimit function. */
298 1.7 mycroft #define HAVE_ULIMIT
299 1.2 jtc
300 1.2 jtc /* Define if you have the valloc function. */
301 1.2 jtc #define HAVE_VALLOC 1
302 1.1 jtc
303 1.1 jtc /* Define if you have the wait3 function. */
304 1.1 jtc #define HAVE_WAIT3 1
305 1.1 jtc
306 1.1 jtc /* Define if you have the waitpid function. */
307 1.1 jtc #define HAVE_WAITPID 1
308 1.1 jtc
309 1.1 jtc /* Define if you have the <dirent.h> header file. */
310 1.1 jtc #define HAVE_DIRENT_H 1
311 1.1 jtc
312 1.1 jtc /* Define if you have the <fcntl.h> header file. */
313 1.1 jtc #define HAVE_FCNTL_H 1
314 1.1 jtc
315 1.1 jtc /* Define if you have the <limits.h> header file. */
316 1.1 jtc #define HAVE_LIMITS_H 1
317 1.1 jtc
318 1.1 jtc /* Define if you have the <memory.h> header file. */
319 1.1 jtc #define HAVE_MEMORY_H 1
320 1.1 jtc
321 1.1 jtc /* Define if you have the <ndir.h> header file. */
322 1.1 jtc /* #undef HAVE_NDIR_H */
323 1.1 jtc
324 1.1 jtc /* Define if you have the <paths.h> header file. */
325 1.1 jtc #define HAVE_PATHS_H 1
326 1.1 jtc
327 1.1 jtc /* Define if you have the <stddef.h> header file. */
328 1.1 jtc #define HAVE_STDDEF_H 1
329 1.1 jtc
330 1.1 jtc /* Define if you have the <stdlib.h> header file. */
331 1.1 jtc #define HAVE_STDLIB_H 1
332 1.1 jtc
333 1.1 jtc /* Define if you have the <string.h> header file. */
334 1.1 jtc #define HAVE_STRING_H 1
335 1.1 jtc
336 1.1 jtc /* Define if you have the <sys/dir.h> header file. */
337 1.7 mycroft #define HAVE_SYS_DIR_H
338 1.1 jtc
339 1.1 jtc /* Define if you have the <sys/ndir.h> header file. */
340 1.1 jtc /* #undef HAVE_SYS_NDIR_H */
341 1.1 jtc
342 1.1 jtc /* Define if you have the <sys/param.h> header file. */
343 1.1 jtc #define HAVE_SYS_PARAM_H 1
344 1.1 jtc
345 1.1 jtc /* Define if you have the <sys/resource.h> header file. */
346 1.1 jtc #define HAVE_SYS_RESOURCE_H 1
347 1.1 jtc
348 1.1 jtc /* Define if you have the <sys/time.h> header file. */
349 1.1 jtc #define HAVE_SYS_TIME_H 1
350 1.1 jtc
351 1.1 jtc /* Define if you have the <sys/wait.h> header file. */
352 1.1 jtc #define HAVE_SYS_WAIT_H 1
353 1.1 jtc
354 1.1 jtc /* Define if you have the <ulimit.h> header file. */
355 1.7 mycroft #define HAVE_ULIMIT_H
356 1.1 jtc
357 1.1 jtc /* Define if you have the <values.h> header file. */
358 1.1 jtc /* #undef HAVE_VALUES_H */
359 1.1 jtc
360 1.1 jtc /* Need to use a separate file to keep the configure script from commenting
361 1.1 jtc * out the undefs....
362 1.1 jtc */
363 1.1 jtc #include "conf-end.h"
364 1.1 jtc
365 1.1 jtc #endif /* CONFIG_H */
366