1251875Speter/* include/arch/unix/apr_private.h.in.  Generated from configure.in by autoheader.  */
2251875Speter
3251875Speter
4251875Speter#ifndef APR_PRIVATE_H
5251875Speter#define APR_PRIVATE_H
6251875Speter
7251875Speter
8251875Speter/* Define if building universal (internal helper macro) */
9251875Speter#undef AC_APPLE_UNIVERSAL_BUILD
10251875Speter
11251875Speter/* Define if apr_allocator should use mmap */
12251875Speter#undef APR_ALLOCATOR_USES_MMAP
13251875Speter
14251875Speter/* Define as function which can be used for conversion of strings to
15251875Speter   apr_int64_t */
16251875Speter#undef APR_INT64_STRFN
17251875Speter
18251875Speter/* Define as function used for conversion of strings to apr_off_t */
19251875Speter#undef APR_OFF_T_STRFN
20251875Speter
21251875Speter/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
22251875Speter   systems. This function is required for `alloca.c' support on those systems.
23251875Speter   */
24251875Speter#undef CRAY_STACKSEG_END
25251875Speter
26251875Speter/* Define to 1 if using `alloca.c'. */
27251875Speter#undef C_ALLOCA
28251875Speter
29251875Speter/* Define to path of random device */
30251875Speter#undef DEV_RANDOM
31251875Speter
32251875Speter/* Define if struct dirent has an inode member */
33251875Speter#undef DIRENT_INODE
34251875Speter
35251875Speter/* Define if struct dirent has a d_type member */
36251875Speter#undef DIRENT_TYPE
37251875Speter
38251875Speter/* Define if DSO support uses dlfcn.h */
39251875Speter#undef DSO_USE_DLFCN
40251875Speter
41251875Speter/* Define if DSO support uses dyld.h */
42251875Speter#undef DSO_USE_DYLD
43251875Speter
44251875Speter/* Define if DSO support uses shl_load */
45251875Speter#undef DSO_USE_SHL
46251875Speter
47251875Speter/* Define to list of paths to EGD sockets */
48251875Speter#undef EGD_DEFAULT_SOCKET
49251875Speter
50251875Speter/* Define if fcntl locks affect threads within the process */
51251875Speter#undef FCNTL_IS_GLOBAL
52251875Speter
53251875Speter/* Define if fcntl returns EACCES when F_SETLK is already held */
54251875Speter#undef FCNTL_TRYACQUIRE_EACCES
55251875Speter
56251875Speter/* Define if flock locks affect threads within the process */
57251875Speter#undef FLOCK_IS_GLOBAL
58251875Speter
59251875Speter/* Define if gethostbyaddr is thread safe */
60251875Speter#undef GETHOSTBYADDR_IS_THREAD_SAFE
61251875Speter
62251875Speter/* Define if gethostbyname is thread safe */
63251875Speter#undef GETHOSTBYNAME_IS_THREAD_SAFE
64251875Speter
65251875Speter/* Define if gethostbyname_r has the glibc style */
66251875Speter#undef GETHOSTBYNAME_R_GLIBC2
67251875Speter
68251875Speter/* Define if gethostbyname_r has the hostent_data for the third argument */
69251875Speter#undef GETHOSTBYNAME_R_HOSTENT_DATA
70251875Speter
71251875Speter/* Define if getservbyname is thread safe */
72251875Speter#undef GETSERVBYNAME_IS_THREAD_SAFE
73251875Speter
74251875Speter/* Define if getservbyname_r has the glibc style */
75251875Speter#undef GETSERVBYNAME_R_GLIBC2
76251875Speter
77251875Speter/* Define if getservbyname_r has the OSF/1 style */
78251875Speter#undef GETSERVBYNAME_R_OSF1
79251875Speter
80251875Speter/* Define if getservbyname_r has the Solaris style */
81251875Speter#undef GETSERVBYNAME_R_SOLARIS
82251875Speter
83251875Speter/* Define if accept4 function is supported */
84251875Speter#undef HAVE_ACCEPT4
85251875Speter
86269847Speter/* Define if async i/o supports message q's */
87269847Speter#undef HAVE_AIO_MSGQ
88269847Speter
89251875Speter/* Define to 1 if you have `alloca', as a function or macro. */
90251875Speter#undef HAVE_ALLOCA
91251875Speter
92251875Speter/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
93251875Speter   */
94251875Speter#undef HAVE_ALLOCA_H
95251875Speter
96251875Speter/* Define to 1 if you have the <arpa/inet.h> header file. */
97251875Speter#undef HAVE_ARPA_INET_H
98251875Speter
99251875Speter/* Define if compiler provides atomic builtins */
100251875Speter#undef HAVE_ATOMIC_BUILTINS
101251875Speter
102251875Speter/* Define if BONE_VERSION is defined in sys/socket.h */
103251875Speter#undef HAVE_BONE_VERSION
104251875Speter
105251875Speter/* Define to 1 if you have the <ByteOrder.h> header file. */
106251875Speter#undef HAVE_BYTEORDER_H
107251875Speter
108251875Speter/* Define to 1 if you have the `calloc' function. */
109251875Speter#undef HAVE_CALLOC
110251875Speter
111251875Speter/* Define to 1 if you have the <conio.h> header file. */
112251875Speter#undef HAVE_CONIO_H
113251875Speter
114251875Speter/* Define to 1 if you have the `create_area' function. */
115251875Speter#undef HAVE_CREATE_AREA
116251875Speter
117251875Speter/* Define to 1 if you have the `create_sem' function. */
118251875Speter#undef HAVE_CREATE_SEM
119251875Speter
120251875Speter/* Define to 1 if you have the <crypt.h> header file. */
121251875Speter#undef HAVE_CRYPT_H
122251875Speter
123251875Speter/* Define to 1 if you have the <ctype.h> header file. */
124251875Speter#undef HAVE_CTYPE_H
125251875Speter
126251875Speter/* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you
127251875Speter   don't. */
128251875Speter#undef HAVE_DECL_SYS_SIGLIST
129251875Speter
130251875Speter/* Define to 1 if you have the <dirent.h> header file. */
131251875Speter#undef HAVE_DIRENT_H
132251875Speter
133251875Speter/* Define to 1 if you have the <dir.h> header file. */
134251875Speter#undef HAVE_DIR_H
135251875Speter
136251875Speter/* Define to 1 if you have the <dlfcn.h> header file. */
137251875Speter#undef HAVE_DLFCN_H
138251875Speter
139251875Speter/* Define to 1 if you have the <dl.h> header file. */
140251875Speter#undef HAVE_DL_H
141251875Speter
142251875Speter/* Define if dup3 function is supported */
143251875Speter#undef HAVE_DUP3
144251875Speter
145251875Speter/* Define if EGD is supported */
146251875Speter#undef HAVE_EGD
147251875Speter
148251875Speter/* Define if the epoll interface is supported */
149251875Speter#undef HAVE_EPOLL
150251875Speter
151251875Speter/* Define if epoll_create1 function is supported */
152251875Speter#undef HAVE_EPOLL_CREATE1
153251875Speter
154251875Speter/* Define to 1 if you have the <errno.h> header file. */
155251875Speter#undef HAVE_ERRNO_H
156251875Speter
157251875Speter/* Define to 1 if you have the <fcntl.h> header file. */
158251875Speter#undef HAVE_FCNTL_H
159251875Speter
160251875Speter/* Define to 1 if you have the `fdatasync' function. */
161251875Speter#undef HAVE_FDATASYNC
162251875Speter
163251875Speter/* Define to 1 if you have the `flock' function. */
164251875Speter#undef HAVE_FLOCK
165251875Speter
166251875Speter/* Define to 1 if you have the `fork' function. */
167251875Speter#undef HAVE_FORK
168251875Speter
169251875Speter/* Define if F_SETLK is defined in fcntl.h */
170251875Speter#undef HAVE_F_SETLK
171251875Speter
172251875Speter/* Define if getaddrinfo accepts the AI_ADDRCONFIG flag */
173251875Speter#undef HAVE_GAI_ADDRCONFIG
174251875Speter
175251875Speter/* Define to 1 if you have the `gai_strerror' function. */
176251875Speter#undef HAVE_GAI_STRERROR
177251875Speter
178251875Speter/* Define if getaddrinfo exists and works well enough for APR */
179251875Speter#undef HAVE_GETADDRINFO
180251875Speter
181251875Speter/* Define to 1 if you have the `getenv' function. */
182251875Speter#undef HAVE_GETENV
183251875Speter
184251875Speter/* Define to 1 if you have the `getgrgid_r' function. */
185251875Speter#undef HAVE_GETGRGID_R
186251875Speter
187251875Speter/* Define to 1 if you have the `getgrnam_r' function. */
188251875Speter#undef HAVE_GETGRNAM_R
189251875Speter
190251875Speter/* Define to 1 if you have the `gethostbyaddr_r' function. */
191251875Speter#undef HAVE_GETHOSTBYADDR_R
192251875Speter
193251875Speter/* Define to 1 if you have the `gethostbyname_r' function. */
194251875Speter#undef HAVE_GETHOSTBYNAME_R
195251875Speter
196251875Speter/* Define to 1 if you have the `getifaddrs' function. */
197251875Speter#undef HAVE_GETIFADDRS
198251875Speter
199251875Speter/* Define if getnameinfo exists */
200251875Speter#undef HAVE_GETNAMEINFO
201251875Speter
202251875Speter/* Define to 1 if you have the `getpass' function. */
203251875Speter#undef HAVE_GETPASS
204251875Speter
205251875Speter/* Define to 1 if you have the `getpassphrase' function. */
206251875Speter#undef HAVE_GETPASSPHRASE
207251875Speter
208251875Speter/* Define to 1 if you have the `getpwnam_r' function. */
209251875Speter#undef HAVE_GETPWNAM_R
210251875Speter
211251875Speter/* Define to 1 if you have the `getpwuid_r' function. */
212251875Speter#undef HAVE_GETPWUID_R
213251875Speter
214251875Speter/* Define to 1 if you have the `getrlimit' function. */
215251875Speter#undef HAVE_GETRLIMIT
216251875Speter
217251875Speter/* Define to 1 if you have the `getservbyname_r' function. */
218251875Speter#undef HAVE_GETSERVBYNAME_R
219251875Speter
220251875Speter/* Define to 1 if you have the `gmtime_r' function. */
221251875Speter#undef HAVE_GMTIME_R
222251875Speter
223251875Speter/* Define to 1 if you have the <grp.h> header file. */
224251875Speter#undef HAVE_GRP_H
225251875Speter
226251875Speter/* Define if hstrerror is present */
227251875Speter#undef HAVE_HSTRERROR
228251875Speter
229251875Speter/* Define to 1 if you have the <inttypes.h> header file. */
230251875Speter#undef HAVE_INTTYPES_H
231251875Speter
232251875Speter/* Define to 1 if you have the <io.h> header file. */
233251875Speter#undef HAVE_IO_H
234251875Speter
235251875Speter/* Define to 1 if you have the `isinf' function. */
236251875Speter#undef HAVE_ISINF
237251875Speter
238251875Speter/* Define to 1 if you have the `isnan' function. */
239251875Speter#undef HAVE_ISNAN
240251875Speter
241251875Speter/* Define to 1 if you have the <kernel/OS.h> header file. */
242251875Speter#undef HAVE_KERNEL_OS_H
243251875Speter
244251875Speter/* Define to 1 if you have the `kqueue' function. */
245251875Speter#undef HAVE_KQUEUE
246251875Speter
247251875Speter/* Define to 1 if you have the <langinfo.h> header file. */
248251875Speter#undef HAVE_LANGINFO_H
249251875Speter
250251875Speter/* Define to 1 if you have the `bsd' library (-lbsd). */
251251875Speter#undef HAVE_LIBBSD
252251875Speter
253251875Speter/* Define to 1 if you have the `sendfile' library (-lsendfile). */
254251875Speter#undef HAVE_LIBSENDFILE
255251875Speter
256251875Speter/* Define to 1 if you have the `truerand' library (-ltruerand). */
257251875Speter#undef HAVE_LIBTRUERAND
258251875Speter
259251875Speter/* Define to 1 if you have the <limits.h> header file. */
260251875Speter#undef HAVE_LIMITS_H
261251875Speter
262251875Speter/* Define to 1 if you have the `localtime_r' function. */
263251875Speter#undef HAVE_LOCALTIME_R
264251875Speter
265251875Speter/* Define if LOCK_EX is defined in sys/file.h */
266251875Speter#undef HAVE_LOCK_EX
267251875Speter
268251875Speter/* Define to 1 if you have the <mach-o/dyld.h> header file. */
269251875Speter#undef HAVE_MACH_O_DYLD_H
270251875Speter
271251875Speter/* Define to 1 if you have the <malloc.h> header file. */
272251875Speter#undef HAVE_MALLOC_H
273251875Speter
274251875Speter/* Define if MAP_ANON is defined in sys/mman.h */
275251875Speter#undef HAVE_MAP_ANON
276251875Speter
277251875Speter/* Define to 1 if you have the `memchr' function. */
278251875Speter#undef HAVE_MEMCHR
279251875Speter
280251875Speter/* Define to 1 if you have the `memmove' function. */
281251875Speter#undef HAVE_MEMMOVE
282251875Speter
283251875Speter/* Define to 1 if you have the <memory.h> header file. */
284251875Speter#undef HAVE_MEMORY_H
285251875Speter
286251875Speter/* Define to 1 if you have the `mkstemp' function. */
287251875Speter#undef HAVE_MKSTEMP
288251875Speter
289251875Speter/* Define to 1 if you have the `mkstemp64' function. */
290251875Speter#undef HAVE_MKSTEMP64
291251875Speter
292251875Speter/* Define to 1 if you have the `mmap' function. */
293251875Speter#undef HAVE_MMAP
294251875Speter
295251875Speter/* Define to 1 if you have the `mmap64' function. */
296251875Speter#undef HAVE_MMAP64
297251875Speter
298251875Speter/* Define to 1 if you have the `munmap' function. */
299251875Speter#undef HAVE_MUNMAP
300251875Speter
301251875Speter/* Define to 1 if you have the <netdb.h> header file. */
302251875Speter#undef HAVE_NETDB_H
303251875Speter
304251875Speter/* Define to 1 if you have the <netinet/in.h> header file. */
305251875Speter#undef HAVE_NETINET_IN_H
306251875Speter
307251875Speter/* Define to 1 if you have the <netinet/sctp.h> header file. */
308251875Speter#undef HAVE_NETINET_SCTP_H
309251875Speter
310251875Speter/* Define to 1 if you have the <netinet/sctp_uio.h> header file. */
311251875Speter#undef HAVE_NETINET_SCTP_UIO_H
312251875Speter
313251875Speter/* Defined if netinet/tcp.h is present */
314251875Speter#undef HAVE_NETINET_TCP_H
315251875Speter
316251875Speter/* Define to 1 if you have the <net/errno.h> header file. */
317251875Speter#undef HAVE_NET_ERRNO_H
318251875Speter
319251875Speter/* Define to 1 if you have the `nl_langinfo' function. */
320251875Speter#undef HAVE_NL_LANGINFO
321251875Speter
322251875Speter/* Define to 1 if you have the <os2.h> header file. */
323251875Speter#undef HAVE_OS2_H
324251875Speter
325251875Speter/* Define to 1 if you have the <osreldate.h> header file. */
326251875Speter#undef HAVE_OSRELDATE_H
327251875Speter
328251875Speter/* Define to 1 if you have the <OS.h> header file. */
329251875Speter#undef HAVE_OS_H
330251875Speter
331251875Speter/* Define to 1 if you have the `poll' function. */
332251875Speter#undef HAVE_POLL
333251875Speter
334251875Speter/* Define if POLLIN is defined */
335251875Speter#undef HAVE_POLLIN
336251875Speter
337251875Speter/* Define to 1 if you have the <poll.h> header file. */
338251875Speter#undef HAVE_POLL_H
339251875Speter
340251875Speter/* Define to 1 if you have the `port_create' function. */
341251875Speter#undef HAVE_PORT_CREATE
342251875Speter
343251875Speter/* Define to 1 if you have the <process.h> header file. */
344251875Speter#undef HAVE_PROCESS_H
345251875Speter
346251875Speter/* Define to 1 if you have the `pthread_attr_setguardsize' function. */
347251875Speter#undef HAVE_PTHREAD_ATTR_SETGUARDSIZE
348251875Speter
349251875Speter/* Define to 1 if you have the <pthread.h> header file. */
350251875Speter#undef HAVE_PTHREAD_H
351251875Speter
352251875Speter/* Define to 1 if you have the `pthread_key_delete' function. */
353251875Speter#undef HAVE_PTHREAD_KEY_DELETE
354251875Speter
355251875Speter/* Define to 1 if you have the `pthread_mutexattr_setpshared' function. */
356251875Speter#undef HAVE_PTHREAD_MUTEXATTR_SETPSHARED
357251875Speter
358251875Speter/* Define if recursive pthread mutexes are available */
359251875Speter#undef HAVE_PTHREAD_MUTEX_RECURSIVE
360251875Speter
361251875Speter/* Define if cross-process robust mutexes are available */
362251875Speter#undef HAVE_PTHREAD_MUTEX_ROBUST
363251875Speter
364251875Speter/* Define if PTHREAD_PROCESS_SHARED is defined in pthread.h */
365251875Speter#undef HAVE_PTHREAD_PROCESS_SHARED
366251875Speter
367251875Speter/* Define if pthread rwlocks are available */
368251875Speter#undef HAVE_PTHREAD_RWLOCKS
369251875Speter
370251875Speter/* Define to 1 if you have the `pthread_rwlock_init' function. */
371251875Speter#undef HAVE_PTHREAD_RWLOCK_INIT
372251875Speter
373251875Speter/* Define to 1 if you have the `pthread_yield' function. */
374251875Speter#undef HAVE_PTHREAD_YIELD
375251875Speter
376251875Speter/* Define to 1 if you have the `putenv' function. */
377251875Speter#undef HAVE_PUTENV
378251875Speter
379251875Speter/* Define to 1 if you have the <pwd.h> header file. */
380251875Speter#undef HAVE_PWD_H
381251875Speter
382251875Speter/* Define to 1 if you have the `readdir64_r' function. */
383251875Speter#undef HAVE_READDIR64_R
384251875Speter
385251875Speter/* Define to 1 if you have the <sched.h> header file. */
386251875Speter#undef HAVE_SCHED_H
387251875Speter
388251875Speter/* Define to 1 if you have the `sched_yield' function. */
389251875Speter#undef HAVE_SCHED_YIELD
390251875Speter
391251875Speter/* Define to 1 if you have the <semaphore.h> header file. */
392251875Speter#undef HAVE_SEMAPHORE_H
393251875Speter
394251875Speter/* Define to 1 if you have the `semctl' function. */
395251875Speter#undef HAVE_SEMCTL
396251875Speter
397251875Speter/* Define to 1 if you have the `semget' function. */
398251875Speter#undef HAVE_SEMGET
399251875Speter
400251875Speter/* Define to 1 if you have the `sem_close' function. */
401251875Speter#undef HAVE_SEM_CLOSE
402251875Speter
403251875Speter/* Define to 1 if you have the `sem_post' function. */
404251875Speter#undef HAVE_SEM_POST
405251875Speter
406251875Speter/* Define if SEM_UNDO is defined in sys/sem.h */
407251875Speter#undef HAVE_SEM_UNDO
408251875Speter
409251875Speter/* Define to 1 if you have the `sem_unlink' function. */
410251875Speter#undef HAVE_SEM_UNLINK
411251875Speter
412251875Speter/* Define to 1 if you have the `sem_wait' function. */
413251875Speter#undef HAVE_SEM_WAIT
414251875Speter
415251875Speter/* Define to 1 if you have the `sendfile' function. */
416251875Speter#undef HAVE_SENDFILE
417251875Speter
418251875Speter/* Define to 1 if you have the `sendfile64' function. */
419251875Speter#undef HAVE_SENDFILE64
420251875Speter
421251875Speter/* Define to 1 if you have the `sendfilev' function. */
422251875Speter#undef HAVE_SENDFILEV
423251875Speter
424251875Speter/* Define to 1 if you have the `sendfilev64' function. */
425251875Speter#undef HAVE_SENDFILEV64
426251875Speter
427251875Speter/* Define to 1 if you have the `send_file' function. */
428251875Speter#undef HAVE_SEND_FILE
429251875Speter
430251875Speter/* Define to 1 if you have the `setenv' function. */
431251875Speter#undef HAVE_SETENV
432251875Speter
433251875Speter/* Define to 1 if you have the `setrlimit' function. */
434251875Speter#undef HAVE_SETRLIMIT
435251875Speter
436251875Speter/* Define to 1 if you have the `setsid' function. */
437251875Speter#undef HAVE_SETSID
438251875Speter
439251875Speter/* Define to 1 if you have the `set_h_errno' function. */
440251875Speter#undef HAVE_SET_H_ERRNO
441251875Speter
442251875Speter/* Define to 1 if you have the `shmat' function. */
443251875Speter#undef HAVE_SHMAT
444251875Speter
445251875Speter/* Define to 1 if you have the `shmctl' function. */
446251875Speter#undef HAVE_SHMCTL
447251875Speter
448251875Speter/* Define to 1 if you have the `shmdt' function. */
449251875Speter#undef HAVE_SHMDT
450251875Speter
451251875Speter/* Define to 1 if you have the `shmget' function. */
452251875Speter#undef HAVE_SHMGET
453251875Speter
454251875Speter/* Define to 1 if you have the `shm_open' function. */
455251875Speter#undef HAVE_SHM_OPEN
456251875Speter
457251875Speter/* Define to 1 if you have the `shm_unlink' function. */
458251875Speter#undef HAVE_SHM_UNLINK
459251875Speter
460251875Speter/* Define to 1 if you have the `sigaction' function. */
461251875Speter#undef HAVE_SIGACTION
462251875Speter
463251875Speter/* Define to 1 if you have the <signal.h> header file. */
464251875Speter#undef HAVE_SIGNAL_H
465251875Speter
466251875Speter/* Define to 1 if you have the `sigsuspend' function. */
467251875Speter#undef HAVE_SIGSUSPEND
468251875Speter
469251875Speter/* Define to 1 if you have the `sigwait' function. */
470251875Speter#undef HAVE_SIGWAIT
471251875Speter
472251875Speter/* Whether you have socklen_t */
473251875Speter#undef HAVE_SOCKLEN_T
474251875Speter
475251875Speter/* Define if the SOCK_CLOEXEC flag is supported */
476251875Speter#undef HAVE_SOCK_CLOEXEC
477251875Speter
478251875Speter/* Define if SO_ACCEPTFILTER is defined in sys/socket.h */
479251875Speter#undef HAVE_SO_ACCEPTFILTER
480251875Speter
481251875Speter/* Define to 1 if you have the <stdarg.h> header file. */
482251875Speter#undef HAVE_STDARG_H
483251875Speter
484251875Speter/* Define to 1 if you have the <stddef.h> header file. */
485251875Speter#undef HAVE_STDDEF_H
486251875Speter
487251875Speter/* Define to 1 if you have the <stdint.h> header file. */
488251875Speter#undef HAVE_STDINT_H
489251875Speter
490251875Speter/* Define to 1 if you have the <stdio.h> header file. */
491251875Speter#undef HAVE_STDIO_H
492251875Speter
493251875Speter/* Define to 1 if you have the <stdlib.h> header file. */
494251875Speter#undef HAVE_STDLIB_H
495251875Speter
496251875Speter/* Define to 1 if you have the `strcasecmp' function. */
497251875Speter#undef HAVE_STRCASECMP
498251875Speter
499251875Speter/* Define to 1 if you have the `strdup' function. */
500251875Speter#undef HAVE_STRDUP
501251875Speter
502251875Speter/* Define to 1 if you have the `strerror_r' function. */
503251875Speter#undef HAVE_STRERROR_R
504251875Speter
505251875Speter/* Define to 1 if you have the `stricmp' function. */
506251875Speter#undef HAVE_STRICMP
507251875Speter
508251875Speter/* Define to 1 if you have the <strings.h> header file. */
509251875Speter#undef HAVE_STRINGS_H
510251875Speter
511251875Speter/* Define to 1 if you have the <string.h> header file. */
512251875Speter#undef HAVE_STRING_H
513251875Speter
514251875Speter/* Define to 1 if you have the `strncasecmp' function. */
515251875Speter#undef HAVE_STRNCASECMP
516251875Speter
517251875Speter/* Define to 1 if you have the `strnicmp' function. */
518251875Speter#undef HAVE_STRNICMP
519251875Speter
520251875Speter/* Define to 1 if you have the `strstr' function. */
521251875Speter#undef HAVE_STRSTR
522251875Speter
523251875Speter/* Define if struct impreq was found */
524251875Speter#undef HAVE_STRUCT_IPMREQ
525251875Speter
526251875Speter/* Define to 1 if `st_atimensec' is a member of `struct stat'. */
527251875Speter#undef HAVE_STRUCT_STAT_ST_ATIMENSEC
528251875Speter
529251875Speter/* Define to 1 if `st_atime_n' is a member of `struct stat'. */
530251875Speter#undef HAVE_STRUCT_STAT_ST_ATIME_N
531251875Speter
532251875Speter/* Define to 1 if `st_atim.tv_nsec' is a member of `struct stat'. */
533251875Speter#undef HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC
534251875Speter
535251875Speter/* Define to 1 if `st_blocks' is a member of `struct stat'. */
536251875Speter#undef HAVE_STRUCT_STAT_ST_BLOCKS
537251875Speter
538251875Speter/* Define to 1 if `st_ctimensec' is a member of `struct stat'. */
539251875Speter#undef HAVE_STRUCT_STAT_ST_CTIMENSEC
540251875Speter
541251875Speter/* Define to 1 if `st_ctime_n' is a member of `struct stat'. */
542251875Speter#undef HAVE_STRUCT_STAT_ST_CTIME_N
543251875Speter
544251875Speter/* Define to 1 if `st_ctim.tv_nsec' is a member of `struct stat'. */
545251875Speter#undef HAVE_STRUCT_STAT_ST_CTIM_TV_NSEC
546251875Speter
547251875Speter/* Define to 1 if `st_mtimensec' is a member of `struct stat'. */
548251875Speter#undef HAVE_STRUCT_STAT_ST_MTIMENSEC
549251875Speter
550251875Speter/* Define to 1 if `st_mtime_n' is a member of `struct stat'. */
551251875Speter#undef HAVE_STRUCT_STAT_ST_MTIME_N
552251875Speter
553251875Speter/* Define to 1 if `st_mtim.tv_nsec' is a member of `struct stat'. */
554251875Speter#undef HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC
555251875Speter
556251875Speter/* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */
557251875Speter#undef HAVE_STRUCT_TM_TM_GMTOFF
558251875Speter
559251875Speter/* Define to 1 if `__tm_gmtoff' is a member of `struct tm'. */
560251875Speter#undef HAVE_STRUCT_TM___TM_GMTOFF
561251875Speter
562251875Speter/* Define to 1 if you have the <sysapi.h> header file. */
563251875Speter#undef HAVE_SYSAPI_H
564251875Speter
565251875Speter/* Define to 1 if you have the <sysgtime.h> header file. */
566251875Speter#undef HAVE_SYSGTIME_H
567251875Speter
568251875Speter/* Define to 1 if you have the <sys/file.h> header file. */
569251875Speter#undef HAVE_SYS_FILE_H
570251875Speter
571251875Speter/* Define to 1 if you have the <sys/ioctl.h> header file. */
572251875Speter#undef HAVE_SYS_IOCTL_H
573251875Speter
574251875Speter/* Define to 1 if you have the <sys/ipc.h> header file. */
575251875Speter#undef HAVE_SYS_IPC_H
576251875Speter
577251875Speter/* Define to 1 if you have the <sys/mman.h> header file. */
578251875Speter#undef HAVE_SYS_MMAN_H
579251875Speter
580251875Speter/* Define to 1 if you have the <sys/mutex.h> header file. */
581251875Speter#undef HAVE_SYS_MUTEX_H
582251875Speter
583251875Speter/* Define to 1 if you have the <sys/param.h> header file. */
584251875Speter#undef HAVE_SYS_PARAM_H
585251875Speter
586251875Speter/* Define to 1 if you have the <sys/poll.h> header file. */
587251875Speter#undef HAVE_SYS_POLL_H
588251875Speter
589251875Speter/* Define to 1 if you have the <sys/resource.h> header file. */
590251875Speter#undef HAVE_SYS_RESOURCE_H
591251875Speter
592251875Speter/* Define to 1 if you have the <sys/select.h> header file. */
593251875Speter#undef HAVE_SYS_SELECT_H
594251875Speter
595251875Speter/* Define to 1 if you have the <sys/sem.h> header file. */
596251875Speter#undef HAVE_SYS_SEM_H
597251875Speter
598251875Speter/* Define to 1 if you have the <sys/sendfile.h> header file. */
599251875Speter#undef HAVE_SYS_SENDFILE_H
600251875Speter
601251875Speter/* Define to 1 if you have the <sys/shm.h> header file. */
602251875Speter#undef HAVE_SYS_SHM_H
603251875Speter
604251875Speter/* Define to 1 if you have the <sys/signal.h> header file. */
605251875Speter#undef HAVE_SYS_SIGNAL_H
606251875Speter
607251875Speter/* Define to 1 if you have the <sys/socket.h> header file. */
608251875Speter#undef HAVE_SYS_SOCKET_H
609251875Speter
610251875Speter/* Define to 1 if you have the <sys/sockio.h> header file. */
611251875Speter#undef HAVE_SYS_SOCKIO_H
612251875Speter
613251875Speter/* Define to 1 if you have the <sys/stat.h> header file. */
614251875Speter#undef HAVE_SYS_STAT_H
615251875Speter
616251875Speter/* Define to 1 if you have the <sys/sysctl.h> header file. */
617251875Speter#undef HAVE_SYS_SYSCTL_H
618251875Speter
619251875Speter/* Define to 1 if you have the <sys/syslimits.h> header file. */
620251875Speter#undef HAVE_SYS_SYSLIMITS_H
621251875Speter
622251875Speter/* Define to 1 if you have the <sys/time.h> header file. */
623251875Speter#undef HAVE_SYS_TIME_H
624251875Speter
625251875Speter/* Define to 1 if you have the <sys/types.h> header file. */
626251875Speter#undef HAVE_SYS_TYPES_H
627251875Speter
628251875Speter/* Define to 1 if you have the <sys/uio.h> header file. */
629251875Speter#undef HAVE_SYS_UIO_H
630251875Speter
631251875Speter/* Define to 1 if you have the <sys/un.h> header file. */
632251875Speter#undef HAVE_SYS_UN_H
633251875Speter
634251875Speter/* Define to 1 if you have the <sys/uuid.h> header file. */
635251875Speter#undef HAVE_SYS_UUID_H
636251875Speter
637251875Speter/* Define to 1 if you have the <sys/wait.h> header file. */
638251875Speter#undef HAVE_SYS_WAIT_H
639251875Speter
640251875Speter/* Define if TCP_CORK is defined in netinet/tcp.h */
641251875Speter#undef HAVE_TCP_CORK
642251875Speter
643251875Speter/* Define if TCP_NODELAY and TCP_CORK can be enabled at the same time */
644251875Speter#undef HAVE_TCP_NODELAY_WITH_CORK
645251875Speter
646251875Speter/* Define if TCP_NOPUSH is defined in netinet/tcp.h */
647251875Speter#undef HAVE_TCP_NOPUSH
648251875Speter
649251875Speter/* Define to 1 if you have the <termios.h> header file. */
650251875Speter#undef HAVE_TERMIOS_H
651251875Speter
652251875Speter/* Define to 1 if you have the <time.h> header file. */
653251875Speter#undef HAVE_TIME_H
654251875Speter
655251875Speter/* Define to 1 if you have the <tpfeq.h> header file. */
656251875Speter#undef HAVE_TPFEQ_H
657251875Speter
658251875Speter/* Define to 1 if you have the <tpfio.h> header file. */
659251875Speter#undef HAVE_TPFIO_H
660251875Speter
661251875Speter/* Define if truerand is supported */
662251875Speter#undef HAVE_TRUERAND
663251875Speter
664251875Speter/* Define to 1 if you have the <unistd.h> header file. */
665251875Speter#undef HAVE_UNISTD_H
666251875Speter
667251875Speter/* Define to 1 if you have the <unix.h> header file. */
668251875Speter#undef HAVE_UNIX_H
669251875Speter
670251875Speter/* Define to 1 if you have the `unsetenv' function. */
671251875Speter#undef HAVE_UNSETENV
672251875Speter
673251875Speter/* Define to 1 if you have the `utime' function. */
674251875Speter#undef HAVE_UTIME
675251875Speter
676251875Speter/* Define to 1 if you have the `utimes' function. */
677251875Speter#undef HAVE_UTIMES
678251875Speter
679251875Speter/* Define to 1 if you have the `uuid_create' function. */
680251875Speter#undef HAVE_UUID_CREATE
681251875Speter
682251875Speter/* Define to 1 if you have the `uuid_generate' function. */
683251875Speter#undef HAVE_UUID_GENERATE
684251875Speter
685251875Speter/* Define to 1 if you have the <uuid.h> header file. */
686251875Speter#undef HAVE_UUID_H
687251875Speter
688251875Speter/* Define to 1 if you have the <uuid/uuid.h> header file. */
689251875Speter#undef HAVE_UUID_UUID_H
690251875Speter
691251875Speter/* Define if C compiler supports VLA */
692251875Speter#undef HAVE_VLA
693251875Speter
694251875Speter/* Define to 1 if you have the `waitpid' function. */
695251875Speter#undef HAVE_WAITPID
696251875Speter
697251875Speter/* Define to 1 if you have the <windows.h> header file. */
698251875Speter#undef HAVE_WINDOWS_H
699251875Speter
700251875Speter/* Define to 1 if you have the <winsock2.h> header file. */
701251875Speter#undef HAVE_WINSOCK2_H
702251875Speter
703251875Speter/* Define to 1 if you have the `writev' function. */
704251875Speter#undef HAVE_WRITEV
705251875Speter
706251875Speter/* Define for z/OS pthread API nuances */
707251875Speter#undef HAVE_ZOS_PTHREADS
708251875Speter
709251875Speter/* Define to the sub-directory in which libtool stores uninstalled libraries.
710251875Speter   */
711251875Speter#undef LT_OBJDIR
712251875Speter
713251875Speter/* Define if EAI_ error codes from getaddrinfo are negative */
714251875Speter#undef NEGATIVE_EAI
715251875Speter
716251875Speter/* Define to the address where bug reports for this package should be sent. */
717251875Speter#undef PACKAGE_BUGREPORT
718251875Speter
719251875Speter/* Define to the full name of this package. */
720251875Speter#undef PACKAGE_NAME
721251875Speter
722251875Speter/* Define to the full name and version of this package. */
723251875Speter#undef PACKAGE_STRING
724251875Speter
725251875Speter/* Define to the one symbol short name of this package. */
726251875Speter#undef PACKAGE_TARNAME
727251875Speter
728251875Speter/* Define to the home page for this package. */
729251875Speter#undef PACKAGE_URL
730251875Speter
731251875Speter/* Define to the version of this package. */
732251875Speter#undef PACKAGE_VERSION
733251875Speter
734251875Speter/* Define if POSIX semaphores affect threads within the process */
735251875Speter#undef POSIXSEM_IS_GLOBAL
736251875Speter
737251875Speter/* Define on PowerPC 405 where errata 77 applies */
738251875Speter#undef PPC405_ERRATA
739251875Speter
740251875Speter/* Define if pthread_attr_getdetachstate() has one arg */
741251875Speter#undef PTHREAD_ATTR_GETDETACHSTATE_TAKES_ONE_ARG
742251875Speter
743251875Speter/* Define if pthread_getspecific() has two args */
744251875Speter#undef PTHREAD_GETSPECIFIC_TAKES_TWO_ARGS
745251875Speter
746251875Speter/* Define if readdir is thread safe */
747251875Speter#undef READDIR_IS_THREAD_SAFE
748251875Speter
749251875Speter/* Define to 1 if the `setpgrp' function takes no argument. */
750251875Speter#undef SETPGRP_VOID
751251875Speter
752251875Speter/* */
753251875Speter#undef SIGWAIT_TAKES_ONE_ARG
754251875Speter
755251875Speter/* The size of `char', as computed by sizeof. */
756251875Speter#undef SIZEOF_CHAR
757251875Speter
758251875Speter/* The size of ino_t */
759251875Speter#undef SIZEOF_INO_T
760251875Speter
761251875Speter/* The size of `int', as computed by sizeof. */
762251875Speter#undef SIZEOF_INT
763251875Speter
764251875Speter/* The size of `long', as computed by sizeof. */
765251875Speter#undef SIZEOF_LONG
766251875Speter
767251875Speter/* The size of `long long', as computed by sizeof. */
768251875Speter#undef SIZEOF_LONG_LONG
769251875Speter
770251875Speter/* The size of off_t */
771251875Speter#undef SIZEOF_OFF_T
772251875Speter
773251875Speter/* The size of pid_t */
774251875Speter#undef SIZEOF_PID_T
775251875Speter
776251875Speter/* The size of `short', as computed by sizeof. */
777251875Speter#undef SIZEOF_SHORT
778251875Speter
779251875Speter/* The size of size_t */
780251875Speter#undef SIZEOF_SIZE_T
781251875Speter
782251875Speter/* The size of ssize_t */
783251875Speter#undef SIZEOF_SSIZE_T
784251875Speter
785251875Speter/* The size of struct iovec */
786251875Speter#undef SIZEOF_STRUCT_IOVEC
787251875Speter
788251875Speter/* The size of `void*', as computed by sizeof. */
789251875Speter#undef SIZEOF_VOIDP
790251875Speter
791251875Speter/* If using the C implementation of alloca, define if you know the
792251875Speter   direction of stack growth for your system; otherwise it will be
793251875Speter   automatically deduced at runtime.
794251875Speter	STACK_DIRECTION > 0 => grows toward higher addresses
795251875Speter	STACK_DIRECTION < 0 => grows toward lower addresses
796251875Speter	STACK_DIRECTION = 0 => direction of growth unknown */
797251875Speter#undef STACK_DIRECTION
798251875Speter
799251875Speter/* Define to 1 if you have the ANSI C header files. */
800251875Speter#undef STDC_HEADERS
801251875Speter
802251875Speter/* Define if strerror returns int */
803251875Speter#undef STRERROR_R_RC_INT
804251875Speter
805251875Speter/* Define if SysV semaphores affect threads within the process */
806251875Speter#undef SYSVSEM_IS_GLOBAL
807251875Speter
808251875Speter/* Define if use of generic atomics is requested */
809251875Speter#undef USE_ATOMICS_GENERIC
810251875Speter
811251875Speter/* Define if BeOS Semaphores will be used */
812251875Speter#undef USE_BEOSSEM
813251875Speter
814251875Speter/* Define if SVR4-style fcntl() will be used */
815251875Speter#undef USE_FCNTL_SERIALIZE
816251875Speter
817251875Speter/* Define if 4.2BSD-style flock() will be used */
818251875Speter#undef USE_FLOCK_SERIALIZE
819251875Speter
820251875Speter/* Define if BeOS areas will be used */
821251875Speter#undef USE_SHMEM_BEOS
822251875Speter
823251875Speter/* Define if BeOS areas will be used */
824251875Speter#undef USE_SHMEM_BEOS_ANON
825251875Speter
826251875Speter/* Define if 4.4BSD-style mmap() via MAP_ANON will be used */
827251875Speter#undef USE_SHMEM_MMAP_ANON
828251875Speter
829251875Speter/* Define if mmap() via POSIX.1 shm_open() on temporary file will be used */
830251875Speter#undef USE_SHMEM_MMAP_SHM
831251875Speter
832251875Speter/* Define if Classical mmap() on temporary file will be used */
833251875Speter#undef USE_SHMEM_MMAP_TMP
834251875Speter
835251875Speter/* Define if SVR4-style mmap() on /dev/zero will be used */
836251875Speter#undef USE_SHMEM_MMAP_ZERO
837251875Speter
838251875Speter/* Define if OS/2 DosAllocSharedMem() will be used */
839251875Speter#undef USE_SHMEM_OS2
840251875Speter
841251875Speter/* Define if OS/2 DosAllocSharedMem() will be used */
842251875Speter#undef USE_SHMEM_OS2_ANON
843251875Speter
844251875Speter/* Define if SysV IPC shmget() will be used */
845251875Speter#undef USE_SHMEM_SHMGET
846251875Speter
847251875Speter/* Define if SysV IPC shmget() will be used */
848251875Speter#undef USE_SHMEM_SHMGET_ANON
849251875Speter
850251875Speter/* Define if Windows shared memory will be used */
851251875Speter#undef USE_SHMEM_WIN32
852251875Speter
853251875Speter/* Define if Windows CreateFileMapping() will be used */
854251875Speter#undef USE_SHMEM_WIN32_ANON
855251875Speter
856251875Speter/* Enable extensions on AIX 3, Interix.  */
857251875Speter#ifndef _ALL_SOURCE
858251875Speter# undef _ALL_SOURCE
859251875Speter#endif
860251875Speter/* Enable GNU extensions on systems that have them.  */
861251875Speter#ifndef _GNU_SOURCE
862251875Speter# undef _GNU_SOURCE
863251875Speter#endif
864251875Speter/* Enable threading extensions on Solaris.  */
865251875Speter#ifndef _POSIX_PTHREAD_SEMANTICS
866251875Speter# undef _POSIX_PTHREAD_SEMANTICS
867251875Speter#endif
868251875Speter/* Enable extensions on HP NonStop.  */
869251875Speter#ifndef _TANDEM_SOURCE
870251875Speter# undef _TANDEM_SOURCE
871251875Speter#endif
872251875Speter/* Enable general extensions on Solaris.  */
873251875Speter#ifndef __EXTENSIONS__
874251875Speter# undef __EXTENSIONS__
875251875Speter#endif
876251875Speter
877251875Speter
878251875Speter/* Define if SysV IPC semget() will be used */
879251875Speter#undef USE_SYSVSEM_SERIALIZE
880251875Speter
881251875Speter/* Define if apr_wait_for_io_or_timeout() uses poll(2) */
882251875Speter#undef WAITIO_USES_POLL
883251875Speter
884251875Speter/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
885251875Speter   significant byte first (like Motorola and SPARC, unlike Intel). */
886251875Speter#if defined AC_APPLE_UNIVERSAL_BUILD
887251875Speter# if defined __BIG_ENDIAN__
888251875Speter#  define WORDS_BIGENDIAN 1
889251875Speter# endif
890251875Speter#else
891251875Speter# ifndef WORDS_BIGENDIAN
892251875Speter#  undef WORDS_BIGENDIAN
893251875Speter# endif
894251875Speter#endif
895251875Speter
896251875Speter/* Define to 1 if on MINIX. */
897251875Speter#undef _MINIX
898251875Speter
899251875Speter/* Define to 2 if the system does not provide POSIX.1 features except with
900251875Speter   this defined. */
901251875Speter#undef _POSIX_1_SOURCE
902251875Speter
903251875Speter/* Define to 1 if you need to in order for `stat' and other things to work. */
904251875Speter#undef _POSIX_SOURCE
905251875Speter
906251875Speter/* Define to empty if `const' does not conform to ANSI C. */
907251875Speter#undef const
908251875Speter
909251875Speter/* Define to `int' if <sys/types.h> doesn't define. */
910251875Speter#undef gid_t
911251875Speter
912251875Speter/* Define to `__inline__' or `__inline' if that's what the C compiler
913251875Speter   calls it, or to nothing if 'inline' is not supported under any name.  */
914251875Speter#ifndef __cplusplus
915251875Speter#undef inline
916251875Speter#endif
917251875Speter
918251875Speter/* Define to `long int' if <sys/types.h> does not define. */
919251875Speter#undef off_t
920251875Speter
921251875Speter/* Define to `int' if <sys/types.h> does not define. */
922251875Speter#undef pid_t
923251875Speter
924251875Speter/* Define to `unsigned int' if <sys/types.h> does not define. */
925251875Speter#undef size_t
926251875Speter
927251875Speter/* Define to `int' if <sys/types.h> does not define. */
928251875Speter#undef ssize_t
929251875Speter
930251875Speter/* Define to `int' if <sys/types.h> doesn't define. */
931251875Speter#undef uid_t
932251875Speter
933251875Speter
934251875Speter/* switch this on if we have a BeOS version below BONE */
935269847Speter#if defined(BEOS) && !defined(HAVE_BONE_VERSION)
936251875Speter#define BEOS_R5 1
937251875Speter#else
938251875Speter#define BEOS_BONE 1
939251875Speter#endif
940251875Speter
941251875Speter/*
942251875Speter * Darwin 10's default compiler (gcc42) builds for both 64 and
943251875Speter * 32 bit architectures unless specifically told not to.
944251875Speter * In those cases, we need to override types depending on how
945251875Speter * we're being built at compile time.
946251875Speter * NOTE: This is an ugly work-around for Darwin's
947251875Speter * concept of universal binaries, a single package
948251875Speter * (executable, lib, etc...) which contains both 32
949251875Speter * and 64 bit versions. The issue is that if APR is
950251875Speter * built universally, if something else is compiled
951251875Speter * against it, some bit sizes will depend on whether
952251875Speter * it is 32 or 64 bit. This is determined by the __LP64__
953251875Speter * flag. Since we need to support both, we have to
954251875Speter * handle OS X unqiuely.
955251875Speter */
956251875Speter#ifdef DARWIN_10
957251875Speter
958251875Speter#undef APR_OFF_T_STRFN
959251875Speter#undef APR_INT64_STRFN
960251875Speter#undef SIZEOF_LONG
961251875Speter#undef SIZEOF_SIZE_T
962251875Speter#undef SIZEOF_SSIZE_T
963251875Speter#undef SIZEOF_VOIDP
964251875Speter#undef SIZEOF_STRUCT_IOVEC
965251875Speter
966251875Speter#ifdef __LP64__
967251875Speter #define APR_INT64_STRFN strtol
968251875Speter #define SIZEOF_LONG    8
969251875Speter #define SIZEOF_SIZE_T  8
970251875Speter #define SIZEOF_SSIZE_T 8
971251875Speter #define SIZEOF_VOIDP   8
972251875Speter #define SIZEOF_STRUCT_IOVEC 16
973251875Speter#else
974251875Speter #define APR_INT64_STRFN strtoll
975251875Speter #define SIZEOF_LONG    4
976251875Speter #define SIZEOF_SIZE_T  4
977251875Speter #define SIZEOF_SSIZE_T 4
978251875Speter #define SIZEOF_VOIDP   4
979251875Speter #define SIZEOF_STRUCT_IOVEC 8
980251875Speter#endif
981251875Speter
982251875Speter#undef APR_OFF_T_STRFN
983251875Speter#define APR_OFF_T_STRFN APR_INT64_STRFN
984251875Speter 
985251875Speter
986251875Speter#undef SETPGRP_VOID
987251875Speter#ifdef __DARWIN_UNIX03
988251875Speter #define SETPGRP_VOID 1
989251875Speter#else
990251875Speter/* #undef SETPGRP_VOID */
991251875Speter#endif
992251875Speter 
993251875Speter#endif /* DARWIN_10 */
994251875Speter
995251875Speter/*
996251875Speter * Include common private declarations.
997251875Speter */
998251875Speter#include "../apr_private_common.h"
999251875Speter#endif /* APR_PRIVATE_H */
1000251875Speter
1001