1#ifndef __config_h__
2#define __config_h__
3
4/* Define if system calls automatically restart after interruption
5   by a signal.  */
6#undef HAVE_RESTARTABLE_SYSCALLS
7
8/* Define if you have the gethostbyname_r function. */
9#undef HAVE_GETHOSTBYNAME_R
10
11/* Define if you have the gethostbyaddr_r function. */
12#undef HAVE_GETHOSTBYADDR_R
13
14/* Define if you have the gethostent_r function. */
15#undef HAVE_GETHOSTENT_R
16
17/* Define if you have posix mmap function.  */
18#undef HAVE_MMAP
19
20/* Define if you have the getcwd function */
21#undef HAVE_GETCWD
22
23/* Define if you have the getuid function */
24#undef HAVE_GETUID
25
26/* Define if you have the getpwnam function */
27#undef HAVE_GETPWNAM
28
29/* Define if you have the getpwuid function */
30#undef HAVE_GETPWUID
31
32/* Define if you have the kill function */
33#undef HAVE_KILL
34
35/* Define if you have the statvfs function */
36#undef HAVE_STATVFS
37
38/* Define if you have the poll function */
39#undef HAVE_POLL
40
41/* Define if you have the chown function */
42#undef HAVE_CHOWN
43
44/* Define if you have the symlink function */
45#undef HAVE_SYMLINK
46
47/* Define if you have the readlink function */
48#undef HAVE_READLINK
49
50/* Define if you have the fsync function */
51#undef HAVE_FSYNC
52
53/* Define if you have the opendir family of functions */
54#undef HAVE_OPENDIR
55
56/* Define if you have the isatty function */
57#undef HAVE_ISATTY
58
59/* Define if you have the ttyname function */
60#undef HAVE_TTYNAME
61
62/* Define if you have the ttyname_r function */
63#undef HAVE_TTYNAME_R
64
65/* Define if you have the <string.h> header file.  */
66#undef HAVE_STRING_H
67
68/* Define if you have the <strings.h> header file.  */
69#undef HAVE_STRINGS_H
70
71/* Define if you have the <memory.h> header file */
72#undef HAVE_MEMORY_H
73
74/* Define if you have the <stdlib.h> header file.  */
75#undef HAVE_STDLIB_H
76
77/* Define if you have the <limits.h> header file.  */
78#undef HAVE_LIMITS_H
79
80/* Define if you have the <libc.h> header file.  */
81#undef HAVE_LIBC_H
82
83/* Define if you have the <sys/stat.h> header file */
84#undef HAVE_SYS_STAT_H
85
86/* Define if you have the <sys/fcntl.h> header file */
87#undef HAVE_SYS_FCNTL_H
88
89/* Define if you have the <fcntl.h> header file */
90#undef HAVE_FCNTL_H
91
92/* Define if you have the <sys/vfs.h> header file */
93#undef HAVE_SYS_VFS_H
94
95/* Define if you have the <sys/statfs.h> header file */
96#undef HAVE_SYS_STATFS_H
97
98/* Define if you have the <sys/statvfs.h> header file */
99#undef HAVE_SYS_STATVFS_H
100
101/* Define if you have the <poll.h> header file */
102#undef HAVE_POLL_H
103
104/* Define if you have the <sys/poll.h> header file */
105#undef HAVE_SYS_POLL_H
106
107/* Define if you have the <sys/socket.h> header file */
108#undef HAVE_SYS_SOCKET_H
109
110/* Define if you have the <unistd.h> header file */
111#undef HAVE_UNISTD_H
112
113/* Define if you have the <sys/ioctl.h> header file */
114#undef HAVE_SYS_IOCTL_H
115
116/* Define if you have the <sys/filio.h> header file */
117#undef HAVE_SYS_FILIO_H
118
119/* Define if you have the <netinet/in.h> header file */
120#undef HAVE_NETINET_IN_H
121
122/* Define if you have the <netdb.h> header file */
123#undef HAVE_NETDB_H
124
125/* Define if you have the <windows.h> header file */
126#undef HAVE_WINDOWS_H
127
128/* Define if you have the <winsock.h> header file */
129#undef HAVE_WINSOCK_H
130
131/* Define if you have the <Windows32/Sockets.h> header file */
132#undef HAVE_WINDOWS32_SOCKETS_H
133
134/* Define if you have the <pwd.h> header file */
135#undef HAVE_PWD_H
136
137/* Define if you have the <process.h> header file */
138#undef HAVE_PROCESS_H
139
140/* Define if you have the <grp.h> header file */
141#undef HAVE_GRP_H
142
143/* Define if you have the <sys/file.h> header file */
144#undef HAVE_SYS_FILE_H
145
146/* Define if you have the <sys/select.h> header file */
147#undef HAVE_SYS_SELECT_H
148
149/* Define if you have the <time.h> header file */
150#undef HAVE_TIME_H
151
152/* Define if you have the <sys/time.h> header file */
153#undef HAVE_SYS_TIME_H
154
155/* Define if you have the <sys/types.h> header file */
156#undef HAVE_SYS_TYPES_H
157
158/* Define if you have the <utime.h> header file */
159#undef HAVE_UTIME_H
160
161/* Define if you have the <sys/errno.h> header file */
162#undef HAVE_SYS_ERRNO_H
163
164/* Define if sys/wait.h is POSIX compatible */
165#undef HAVE_SYS_WAIT_H
166
167/* Define this if you have the <vfork.h> header file */
168#undef HAVE_VFORK_H
169
170/* Define for vfork in case it's not defined */
171#undef vfork
172
173/* Define for pid_t in case it's not defined */
174#undef pid_t
175
176/* The following macros deal with directory entries. */
177#undef HAVE_DIRENT_H
178#undef HAVE_SYS_NDIR_H
179#undef HAVE_SYS_DIR_H
180#undef HAVE_NDIR_H
181#undef HAVE_DIR_H
182
183/* The structure alignment as determined by configure */
184#define STRUCT_ALIGNMENT @STRUCT_ALIGNMENT@
185
186/* The name of the target platform, obtained by configure */
187#define TARGET_PLATFORM		"@host@"
188
189/* define POLL constants */
190
191#if HAVE_POLL_H
192#  include <poll.h>
193#endif
194#if HAVE_SYS_POLL_H
195#  include <sys/poll.h>
196#endif
197
198#ifndef POLLIN
199# ifdef HAVE_POLL
200#  warning "manually declared POLLIN=1 .."
201# endif
202#  define POLLIN     1
203#endif
204#ifndef POLLOUT
205# ifdef HAVE_POLL
206#  warning "manually declared POLLOUT=2 .."
207# endif
208#  define POLLOUT    2
209#endif
210#ifndef POLLERR
211# ifdef HAVE_POLL
212#  warning "manually declared POLLERR=4 .."
213# endif
214#  define POLLERR    4
215#endif
216
217#ifndef POLLRDNORM
218#  ifdef linux
219#    define POLLRDNORM POLLIN
220#  else /* !linux */
221#    ifdef POLLIN
222#     ifdef HAVE_POLL
223#      warning "manually declared POLLRDNORM=POLLIN .."
224#     endif
225#      define POLLRDNORM POLLIN
226#    else
227#     ifdef HAVE_POLL
228#      warning "manually declared POLLRDNORM .."
229#     endif
230#      define POLLRDNORM 1
231#    endif
232#  endif /* !linux */
233#endif
234
235#ifndef POLLWRNORM
236#  ifdef linux
237#    define POLLWRNORM POLLOUT
238#  else /* !linux */
239#    ifdef POLLOUT
240#     ifdef HAVE_POLL
241#      warning "manually declared POLLWRNORM=POLLOUT .."
242#     endif
243#      define POLLWRNORM POLLOUT
244#    else
245#     ifdef HAVE_POLL
246#      warning "manually declared POLLWRNORM .."
247#     endif
248#      define POLLWRNORM 2
249#    endif
250#  endif /* !linux */
251#endif
252
253#endif /* __config_h__ */
254