2 Copyright (C) 2000-2003 SKYRIX Software AG
4 This file is part of OGo
6 OGo is free software; you can redistribute it and/or modify it under
7 the terms of the GNU Lesser General Public License as published by the
8 Free Software Foundation; either version 2, or (at your option) any
11 OGo is distributed in the hope that it will be useful, but WITHOUT ANY
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
14 License for more details.
16 You should have received a copy of the GNU Lesser General Public
17 License along with OGo; see the file COPYING. If not, write to the
18 Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
24 /* Define if system calls automatically restart after interruption
26 #undef HAVE_RESTARTABLE_SYSCALLS
28 /* Define if you have the gethostbyname_r function. */
29 #undef HAVE_GETHOSTBYNAME_R
31 /* Define if you have the gethostbyaddr_r function. */
32 #undef HAVE_GETHOSTBYADDR_R
34 /* Define if you have the gethostent_r function. */
35 #undef HAVE_GETHOSTENT_R
37 /* Define if you have posix mmap function. */
40 /* Define if you have the getcwd function */
43 /* Define if you have the getuid function */
46 /* Define if you have the getpwnam function */
49 /* Define if you have the getpwuid function */
52 /* Define if you have the kill function */
55 /* Define if you have the statvfs function */
58 /* Define if you have the poll function */
61 /* Define if you have the chown function */
64 /* Define if you have the symlink function */
65 #define HAVE_SYMLINK 1
67 /* Define if you have the readlink function */
68 #define HAVE_READLINK 1
70 /* Define if you have the fsync function */
73 /* Define if you have the opendir family of functions */
76 /* Define if you have the isatty function */
79 /* Define if you have the ttyname function */
80 #define HAVE_TTYNAME 1
82 /* Define if you have the ttyname_r function */
85 /* Define if you have the <string.h> header file. */
86 #define HAVE_STRING_H 1
88 /* Define if you have the <strings.h> header file. */
89 #define HAVE_STRINGS_H 1
91 /* Define if you have the <memory.h> header file */
92 #define HAVE_MEMORY_H 1
94 /* Define if you have the <stdlib.h> header file. */
95 #define HAVE_STDLIB_H 1
97 /* Define if you have the <limits.h> header file. */
98 #define HAVE_LIMITS_H 1
100 /* Define if you have the <libc.h> header file. */
101 #define HAVE_LIBC_H 1
103 /* Define if you have the <sys/stat.h> header file */
104 #define HAVE_SYS_STAT_H 1
106 /* Define if you have the <sys/fcntl.h> header file */
107 #define HAVE_SYS_FCNTL_H 1
109 /* Define if you have the <fcntl.h> header file */
110 #define HAVE_FCNTL_H 1
112 /* Define if you have the <sys/vfs.h> header file */
113 #undef HAVE_SYS_VFS_H
115 /* Define if you have the <sys/statfs.h> header file */
116 #undef HAVE_SYS_STATFS_H
118 /* Define if you have the <sys/statvfs.h> header file */
119 #undef HAVE_SYS_STATVFS_H
121 /* Define if you have the <poll.h> header file */
124 /* Define if you have the <sys/poll.h> header file */
125 #undef HAVE_SYS_POLL_H
127 /* Define if you have the <sys/socket.h> header file */
128 #define HAVE_SYS_SOCKET_H 1
130 /* Define if you have the <unistd.h> header file */
131 #define HAVE_UNISTD_H 1
133 /* Define if you have the <sys/ioctl.h> header file */
134 #define HAVE_SYS_IOCTL_H 1
136 /* Define if you have the <sys/filio.h> header file */
137 #define HAVE_SYS_FILIO_H 1
139 /* Define if you have the <netinet/in.h> header file */
140 #define HAVE_NETINET_IN_H 1
142 /* Define if you have the <netdb.h> header file */
143 #define HAVE_NETDB_H 1
145 /* Define if you have the <windows.h> header file */
146 #undef HAVE_WINDOWS_H
148 /* Define if you have the <winsock.h> header file */
149 #undef HAVE_WINSOCK_H
151 /* Define if you have the <Windows32/Sockets.h> header file */
152 #undef HAVE_WINDOWS32_SOCKETS_H
154 /* Define if you have the <pwd.h> header file */
157 /* Define if you have the <process.h> header file */
158 #undef HAVE_PROCESS_H
160 /* Define if you have the <grp.h> header file */
163 /* Define if you have the <sys/file.h> header file */
164 #define HAVE_SYS_FILE_H 1
166 /* Define if you have the <sys/select.h> header file */
167 #define HAVE_SYS_SELECT_H 1
169 /* Define if you have the <time.h> header file */
170 #define HAVE_TIME_H 1
172 /* Define if you have the <sys/time.h> header file */
173 #define HAVE_SYS_TIME_H 1
175 /* Define if you have the <sys/types.h> header file */
176 #define HAVE_SYS_TYPES_H 1
178 /* Define if you have the <utime.h> header file */
179 #define HAVE_UTIME_H 1
181 /* Define if you have the <sys/errno.h> header file */
182 #define HAVE_SYS_ERRNO_H 1
184 /* Define if sys/wait.h is POSIX compatible */
185 #define HAVE_SYS_WAIT_H 1
187 /* Define this if you have the <vfork.h> header file */
190 /* Define for vfork in case it's not defined */
193 /* Define for pid_t in case it's not defined */
196 /* The following macros deal with directory entries. */
197 #define HAVE_DIRENT_H 1
198 #undef HAVE_SYS_NDIR_H
199 #define HAVE_SYS_DIR_H 1
203 /* The structure alignment as determined by configure */
204 #define STRUCT_ALIGNMENT @STRUCT_ALIGNMENT@
206 /* The name of the target platform, obtained by configure */
207 #define TARGET_PLATFORM "@host@"
209 /* define POLL constants */
215 # include <sys/poll.h>
220 # warning "manually declared POLLIN=1 .."
226 # warning "manually declared POLLOUT=2 .."
232 # warning "manually declared POLLERR=4 .."
239 # define POLLRDNORM POLLIN
243 # warning "manually declared POLLRDNORM=POLLIN .."
245 # define POLLRDNORM POLLIN
248 # warning "manually declared POLLRDNORM .."
250 # define POLLRDNORM 1
257 # define POLLWRNORM POLLOUT
261 # warning "manually declared POLLWRNORM=POLLOUT .."
263 # define POLLWRNORM POLLOUT
266 # warning "manually declared POLLWRNORM .."
268 # define POLLWRNORM 2
273 #endif /* __config_h__ */