1/*	$NetBSD: config.h,v 1.53 2017/06/30 04:22:22 kamil 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/* Define if on MINIX.  */
15/* #undef _MINIX */
16
17/* Define if the system does not provide POSIX.1 features except
18   with this defined.  */
19/* #undef _POSIX_1_SOURCE */
20
21/* Define if you need to in order for stat and other things to work.  */
22/* #undef _POSIX_SOURCE */
23
24/* Define as the return type of signal handlers (int or void).  */
25#define RETSIGTYPE void
26
27/* Define if `sys_siglist' is declared by <signal.h>.  */
28#define SYS_SIGLIST_DECLARED 1
29
30/* Define as the return value of signal handlers (0 or ).  */
31#define RETSIGVAL
32
33/* Define if you have bsd versions of the setpgrp() and getpgrp() routines */
34/* #undef BSD_PGRP */
35
36/* Define if you have POSIX versions of the setpgid() and getpgrp() routines */
37#define POSIX_PGRP 1
38
39/* Define if you have sysV versions of the setpgrp() and getpgrp() routines */
40/* #undef SYSV_PGRP */
41
42/* Define if you don't have setpgrp(), setpgid() or getpgrp() routines */
43/* #undef NO_PGRP */
44
45/* Define if C compiler groks __attribute__((...)) (const, noreturn, format) */
46#define HAVE_GCC_FUNC_ATTR 1
47
48/* Define if sys_errlist[] and sys_nerr are in the C library */
49#define HAVE_SYS_ERRLIST 1
50
51/* Define if sys_errlist[] and sys_nerr are defined in <errno.h> */
52#define SYS_ERRLIST_DECLARED 1
53
54/* Define if sys_siglist[] is in the C library */
55#define HAVE_SYS_SIGLIST 1
56
57/* Define if you have a sane <termios.h> header file */
58#define HAVE_TERMIOS_H 1
59
60/* Define if you have a sane <termio.h> header file */
61/* #undef HAVE_TERMIO_H */
62
63/* Define if opendir() will open non-directory files */
64/* #undef OPENDIR_DOES_NONDIR */
65
66/* Define if the pgrp of setpgrp() can't be the pid of a zombie process */
67/* #undef NEED_PGRP_SYNC */
68
69/* Default PATH */
70#ifdef RESCUEDIR
71#define DEFAULT_PATH RESCUEDIR ":/bin:/usr/bin:/sbin:/usr/sbin"
72#else
73#define DEFAULT_PATH "/bin:/usr/bin:/sbin:/usr/sbin"
74#endif
75
76/* Include ksh features? */
77#define KSH 1
78
79/* Include emacs editing? */
80#define EMACS 1
81
82/* Include vi editing? */
83#define VI 1
84
85/* Include job control? */
86#define JOBS 1
87
88/* Include brace-expansion? */
89#define BRACE_EXPAND 1
90
91/* Include any history? */
92#define HISTORY 1
93
94/* Include complex history? */
95/* #undef COMPLEX_HISTORY */
96
97/* Strict POSIX behaviour? */
98#define POSIXLY_CORRECT 1
99
100/* Specify default $ENV? */
101#define DEFAULT_ENV	"$HOME/.kshrc"
102
103/* Include shl(1) support? */
104/* #undef SWTCH */
105
106/* Include game-of-life? */
107/* #undef SILLY */
108
109/* Define if you have the _setjmp function.  */
110#define HAVE__SETJMP
111
112/* Define if you have the confstr function.  */
113#define HAVE_CONFSTR 1
114
115/* Define if you have the flock function.  */
116#define HAVE_FLOCK 1
117
118/* Define if you have the getcwd function.  */
119#define HAVE_GETCWD 1
120
121/* Define if you have the getgroups function.  */
122#define HAVE_GETGROUPS
123
124/* Define if you have the getpagesize function.  */
125#define HAVE_GETPAGESIZE 1
126
127/* Define if you have the getrusage function.  */
128#define HAVE_GETRUSAGE
129
130/* Define if you have the getwd function.  */
131#define HAVE_GETWD 1
132
133/* Define if you have the killpg function.  */
134#define HAVE_KILLPG 1
135
136/* Define if you have the nice function.  */
137#define HAVE_NICE 1
138
139/* Define if you have the setrlimit function.  */
140#define HAVE_SETRLIMIT 1
141
142/* Define if you have the sigsetjmp function.  */
143#define HAVE_SIGSETJMP 1
144
145/* Define if you have the strerror function.  */
146#define HAVE_STRERROR 1
147
148/* Define if you have the sysconf function.  */
149#define HAVE_SYSCONF 1
150
151/* Define if you have the tcsetpgrp function.  */
152#define HAVE_TCSETPGRP 1
153
154/* Define if you have the ulimit function.  */
155#define HAVE_ULIMIT
156
157/* Define if you have the valloc function.  */
158#define HAVE_VALLOC 1
159
160/* Define if you have the <dirent.h> header file.  */
161#define HAVE_DIRENT_H 1
162
163/* Define if you have the <ndir.h> header file.  */
164/* #undef HAVE_NDIR_H */
165
166/* Define if you have the <paths.h> header file.  */
167#define HAVE_PATHS_H 1
168
169/* Define if you have the <sys/dir.h> header file.  */
170#define HAVE_SYS_DIR_H
171
172/* Define if you have the <sys/ndir.h> header file.  */
173/* #undef HAVE_SYS_NDIR_H */
174
175/* Define if you have the <sys/param.h> header file.  */
176#define HAVE_SYS_PARAM_H 1
177
178/* Define if you have the <sys/resource.h> header file.  */
179#define HAVE_SYS_RESOURCE_H 1
180
181/* Define if you have the <ulimit.h> header file.  */
182#define HAVE_ULIMIT_H
183
184/* Define if you have the <values.h> header file.  */
185/* #undef HAVE_VALUES_H */
186
187/* Need to use a separate file to keep the configure script from commenting
188 * out the undefs....
189 */
190#include "conf-end.h"
191
192#endif /* CONFIG_H */
193