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