]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - contrib/apr/include/arch/unix/apr_private.h.in
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / contrib / apr / include / arch / unix / apr_private.h.in
1 /* include/arch/unix/apr_private.h.in.  Generated from configure.in by autoheader.  */
2
3
4 #ifndef APR_PRIVATE_H
5 #define APR_PRIVATE_H
6
7
8 /* Define if building universal (internal helper macro) */
9 #undef AC_APPLE_UNIVERSAL_BUILD
10
11 /* Define if apr_allocator should use mmap */
12 #undef APR_ALLOCATOR_USES_MMAP
13
14 /* Define as function which can be used for conversion of strings to
15    apr_int64_t */
16 #undef APR_INT64_STRFN
17
18 /* Define as function used for conversion of strings to apr_off_t */
19 #undef APR_OFF_T_STRFN
20
21 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
22    systems. This function is required for `alloca.c' support on those systems.
23    */
24 #undef CRAY_STACKSEG_END
25
26 /* Define to 1 if using `alloca.c'. */
27 #undef C_ALLOCA
28
29 /* Define to path of random device */
30 #undef DEV_RANDOM
31
32 /* Define if struct dirent has an inode member */
33 #undef DIRENT_INODE
34
35 /* Define if struct dirent has a d_type member */
36 #undef DIRENT_TYPE
37
38 /* Define if DSO support uses dlfcn.h */
39 #undef DSO_USE_DLFCN
40
41 /* Define if DSO support uses dyld.h */
42 #undef DSO_USE_DYLD
43
44 /* Define if DSO support uses shl_load */
45 #undef DSO_USE_SHL
46
47 /* Define to list of paths to EGD sockets */
48 #undef EGD_DEFAULT_SOCKET
49
50 /* Define if fcntl locks affect threads within the process */
51 #undef FCNTL_IS_GLOBAL
52
53 /* Define if fcntl returns EACCES when F_SETLK is already held */
54 #undef FCNTL_TRYACQUIRE_EACCES
55
56 /* Define if flock locks affect threads within the process */
57 #undef FLOCK_IS_GLOBAL
58
59 /* Define if gethostbyaddr is thread safe */
60 #undef GETHOSTBYADDR_IS_THREAD_SAFE
61
62 /* Define if gethostbyname is thread safe */
63 #undef GETHOSTBYNAME_IS_THREAD_SAFE
64
65 /* Define if gethostbyname_r has the glibc style */
66 #undef GETHOSTBYNAME_R_GLIBC2
67
68 /* Define if gethostbyname_r has the hostent_data for the third argument */
69 #undef GETHOSTBYNAME_R_HOSTENT_DATA
70
71 /* Define if getservbyname is thread safe */
72 #undef GETSERVBYNAME_IS_THREAD_SAFE
73
74 /* Define if getservbyname_r has the glibc style */
75 #undef GETSERVBYNAME_R_GLIBC2
76
77 /* Define if getservbyname_r has the OSF/1 style */
78 #undef GETSERVBYNAME_R_OSF1
79
80 /* Define if getservbyname_r has the Solaris style */
81 #undef GETSERVBYNAME_R_SOLARIS
82
83 /* Define if accept4 function is supported */
84 #undef HAVE_ACCEPT4
85
86 /* Define to 1 if you have `alloca', as a function or macro. */
87 #undef HAVE_ALLOCA
88
89 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
90    */
91 #undef HAVE_ALLOCA_H
92
93 /* Define to 1 if you have the <arpa/inet.h> header file. */
94 #undef HAVE_ARPA_INET_H
95
96 /* Define if compiler provides atomic builtins */
97 #undef HAVE_ATOMIC_BUILTINS
98
99 /* Define if BONE_VERSION is defined in sys/socket.h */
100 #undef HAVE_BONE_VERSION
101
102 /* Define to 1 if you have the <ByteOrder.h> header file. */
103 #undef HAVE_BYTEORDER_H
104
105 /* Define to 1 if you have the `calloc' function. */
106 #undef HAVE_CALLOC
107
108 /* Define to 1 if you have the <conio.h> header file. */
109 #undef HAVE_CONIO_H
110
111 /* Define to 1 if you have the `create_area' function. */
112 #undef HAVE_CREATE_AREA
113
114 /* Define to 1 if you have the `create_sem' function. */
115 #undef HAVE_CREATE_SEM
116
117 /* Define to 1 if you have the <crypt.h> header file. */
118 #undef HAVE_CRYPT_H
119
120 /* Define to 1 if you have the <ctype.h> header file. */
121 #undef HAVE_CTYPE_H
122
123 /* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you
124    don't. */
125 #undef HAVE_DECL_SYS_SIGLIST
126
127 /* Define to 1 if you have the <dirent.h> header file. */
128 #undef HAVE_DIRENT_H
129
130 /* Define to 1 if you have the <dir.h> header file. */
131 #undef HAVE_DIR_H
132
133 /* Define to 1 if you have the <dlfcn.h> header file. */
134 #undef HAVE_DLFCN_H
135
136 /* Define to 1 if you have the <dl.h> header file. */
137 #undef HAVE_DL_H
138
139 /* Define if dup3 function is supported */
140 #undef HAVE_DUP3
141
142 /* Define if EGD is supported */
143 #undef HAVE_EGD
144
145 /* Define if the epoll interface is supported */
146 #undef HAVE_EPOLL
147
148 /* Define if epoll_create1 function is supported */
149 #undef HAVE_EPOLL_CREATE1
150
151 /* Define to 1 if you have the <errno.h> header file. */
152 #undef HAVE_ERRNO_H
153
154 /* Define to 1 if you have the <fcntl.h> header file. */
155 #undef HAVE_FCNTL_H
156
157 /* Define to 1 if you have the `fdatasync' function. */
158 #undef HAVE_FDATASYNC
159
160 /* Define to 1 if you have the `flock' function. */
161 #undef HAVE_FLOCK
162
163 /* Define to 1 if you have the `fork' function. */
164 #undef HAVE_FORK
165
166 /* Define if F_SETLK is defined in fcntl.h */
167 #undef HAVE_F_SETLK
168
169 /* Define if getaddrinfo accepts the AI_ADDRCONFIG flag */
170 #undef HAVE_GAI_ADDRCONFIG
171
172 /* Define to 1 if you have the `gai_strerror' function. */
173 #undef HAVE_GAI_STRERROR
174
175 /* Define if getaddrinfo exists and works well enough for APR */
176 #undef HAVE_GETADDRINFO
177
178 /* Define to 1 if you have the `getenv' function. */
179 #undef HAVE_GETENV
180
181 /* Define to 1 if you have the `getgrgid_r' function. */
182 #undef HAVE_GETGRGID_R
183
184 /* Define to 1 if you have the `getgrnam_r' function. */
185 #undef HAVE_GETGRNAM_R
186
187 /* Define to 1 if you have the `gethostbyaddr_r' function. */
188 #undef HAVE_GETHOSTBYADDR_R
189
190 /* Define to 1 if you have the `gethostbyname_r' function. */
191 #undef HAVE_GETHOSTBYNAME_R
192
193 /* Define to 1 if you have the `getifaddrs' function. */
194 #undef HAVE_GETIFADDRS
195
196 /* Define if getnameinfo exists */
197 #undef HAVE_GETNAMEINFO
198
199 /* Define to 1 if you have the `getpass' function. */
200 #undef HAVE_GETPASS
201
202 /* Define to 1 if you have the `getpassphrase' function. */
203 #undef HAVE_GETPASSPHRASE
204
205 /* Define to 1 if you have the `getpwnam_r' function. */
206 #undef HAVE_GETPWNAM_R
207
208 /* Define to 1 if you have the `getpwuid_r' function. */
209 #undef HAVE_GETPWUID_R
210
211 /* Define to 1 if you have the `getrlimit' function. */
212 #undef HAVE_GETRLIMIT
213
214 /* Define to 1 if you have the `getservbyname_r' function. */
215 #undef HAVE_GETSERVBYNAME_R
216
217 /* Define to 1 if you have the `gmtime_r' function. */
218 #undef HAVE_GMTIME_R
219
220 /* Define to 1 if you have the <grp.h> header file. */
221 #undef HAVE_GRP_H
222
223 /* Define if hstrerror is present */
224 #undef HAVE_HSTRERROR
225
226 /* Define to 1 if you have the <inttypes.h> header file. */
227 #undef HAVE_INTTYPES_H
228
229 /* Define to 1 if you have the <io.h> header file. */
230 #undef HAVE_IO_H
231
232 /* Define to 1 if you have the `isinf' function. */
233 #undef HAVE_ISINF
234
235 /* Define to 1 if you have the `isnan' function. */
236 #undef HAVE_ISNAN
237
238 /* Define to 1 if you have the <kernel/OS.h> header file. */
239 #undef HAVE_KERNEL_OS_H
240
241 /* Define to 1 if you have the `kqueue' function. */
242 #undef HAVE_KQUEUE
243
244 /* Define to 1 if you have the <langinfo.h> header file. */
245 #undef HAVE_LANGINFO_H
246
247 /* Define to 1 if you have the `bsd' library (-lbsd). */
248 #undef HAVE_LIBBSD
249
250 /* Define to 1 if you have the `sendfile' library (-lsendfile). */
251 #undef HAVE_LIBSENDFILE
252
253 /* Define to 1 if you have the `truerand' library (-ltruerand). */
254 #undef HAVE_LIBTRUERAND
255
256 /* Define to 1 if you have the <limits.h> header file. */
257 #undef HAVE_LIMITS_H
258
259 /* Define to 1 if you have the `localtime_r' function. */
260 #undef HAVE_LOCALTIME_R
261
262 /* Define if LOCK_EX is defined in sys/file.h */
263 #undef HAVE_LOCK_EX
264
265 /* Define to 1 if you have the <mach-o/dyld.h> header file. */
266 #undef HAVE_MACH_O_DYLD_H
267
268 /* Define to 1 if you have the <malloc.h> header file. */
269 #undef HAVE_MALLOC_H
270
271 /* Define if MAP_ANON is defined in sys/mman.h */
272 #undef HAVE_MAP_ANON
273
274 /* Define to 1 if you have the `memchr' function. */
275 #undef HAVE_MEMCHR
276
277 /* Define to 1 if you have the `memmove' function. */
278 #undef HAVE_MEMMOVE
279
280 /* Define to 1 if you have the <memory.h> header file. */
281 #undef HAVE_MEMORY_H
282
283 /* Define to 1 if you have the `mkstemp' function. */
284 #undef HAVE_MKSTEMP
285
286 /* Define to 1 if you have the `mkstemp64' function. */
287 #undef HAVE_MKSTEMP64
288
289 /* Define to 1 if you have the `mmap' function. */
290 #undef HAVE_MMAP
291
292 /* Define to 1 if you have the `mmap64' function. */
293 #undef HAVE_MMAP64
294
295 /* Define to 1 if you have the `munmap' function. */
296 #undef HAVE_MUNMAP
297
298 /* Define to 1 if you have the <netdb.h> header file. */
299 #undef HAVE_NETDB_H
300
301 /* Define to 1 if you have the <netinet/in.h> header file. */
302 #undef HAVE_NETINET_IN_H
303
304 /* Define to 1 if you have the <netinet/sctp.h> header file. */
305 #undef HAVE_NETINET_SCTP_H
306
307 /* Define to 1 if you have the <netinet/sctp_uio.h> header file. */
308 #undef HAVE_NETINET_SCTP_UIO_H
309
310 /* Defined if netinet/tcp.h is present */
311 #undef HAVE_NETINET_TCP_H
312
313 /* Define to 1 if you have the <net/errno.h> header file. */
314 #undef HAVE_NET_ERRNO_H
315
316 /* Define to 1 if you have the `nl_langinfo' function. */
317 #undef HAVE_NL_LANGINFO
318
319 /* Define to 1 if you have the <os2.h> header file. */
320 #undef HAVE_OS2_H
321
322 /* Define to 1 if you have the <osreldate.h> header file. */
323 #undef HAVE_OSRELDATE_H
324
325 /* Define to 1 if you have the <OS.h> header file. */
326 #undef HAVE_OS_H
327
328 /* Define to 1 if you have the `poll' function. */
329 #undef HAVE_POLL
330
331 /* Define if POLLIN is defined */
332 #undef HAVE_POLLIN
333
334 /* Define to 1 if you have the <poll.h> header file. */
335 #undef HAVE_POLL_H
336
337 /* Define to 1 if you have the `port_create' function. */
338 #undef HAVE_PORT_CREATE
339
340 /* Define to 1 if you have the <process.h> header file. */
341 #undef HAVE_PROCESS_H
342
343 /* Define to 1 if you have the `pthread_attr_setguardsize' function. */
344 #undef HAVE_PTHREAD_ATTR_SETGUARDSIZE
345
346 /* Define to 1 if you have the <pthread.h> header file. */
347 #undef HAVE_PTHREAD_H
348
349 /* Define to 1 if you have the `pthread_key_delete' function. */
350 #undef HAVE_PTHREAD_KEY_DELETE
351
352 /* Define to 1 if you have the `pthread_mutexattr_setpshared' function. */
353 #undef HAVE_PTHREAD_MUTEXATTR_SETPSHARED
354
355 /* Define if recursive pthread mutexes are available */
356 #undef HAVE_PTHREAD_MUTEX_RECURSIVE
357
358 /* Define if cross-process robust mutexes are available */
359 #undef HAVE_PTHREAD_MUTEX_ROBUST
360
361 /* Define if PTHREAD_PROCESS_SHARED is defined in pthread.h */
362 #undef HAVE_PTHREAD_PROCESS_SHARED
363
364 /* Define if pthread rwlocks are available */
365 #undef HAVE_PTHREAD_RWLOCKS
366
367 /* Define to 1 if you have the `pthread_rwlock_init' function. */
368 #undef HAVE_PTHREAD_RWLOCK_INIT
369
370 /* Define to 1 if you have the `pthread_yield' function. */
371 #undef HAVE_PTHREAD_YIELD
372
373 /* Define to 1 if you have the `putenv' function. */
374 #undef HAVE_PUTENV
375
376 /* Define to 1 if you have the <pwd.h> header file. */
377 #undef HAVE_PWD_H
378
379 /* Define to 1 if you have the `readdir64_r' function. */
380 #undef HAVE_READDIR64_R
381
382 /* Define to 1 if you have the <sched.h> header file. */
383 #undef HAVE_SCHED_H
384
385 /* Define to 1 if you have the `sched_yield' function. */
386 #undef HAVE_SCHED_YIELD
387
388 /* Define to 1 if you have the <semaphore.h> header file. */
389 #undef HAVE_SEMAPHORE_H
390
391 /* Define to 1 if you have the `semctl' function. */
392 #undef HAVE_SEMCTL
393
394 /* Define to 1 if you have the `semget' function. */
395 #undef HAVE_SEMGET
396
397 /* Define to 1 if you have the `sem_close' function. */
398 #undef HAVE_SEM_CLOSE
399
400 /* Define to 1 if you have the `sem_post' function. */
401 #undef HAVE_SEM_POST
402
403 /* Define if SEM_UNDO is defined in sys/sem.h */
404 #undef HAVE_SEM_UNDO
405
406 /* Define to 1 if you have the `sem_unlink' function. */
407 #undef HAVE_SEM_UNLINK
408
409 /* Define to 1 if you have the `sem_wait' function. */
410 #undef HAVE_SEM_WAIT
411
412 /* Define to 1 if you have the `sendfile' function. */
413 #undef HAVE_SENDFILE
414
415 /* Define to 1 if you have the `sendfile64' function. */
416 #undef HAVE_SENDFILE64
417
418 /* Define to 1 if you have the `sendfilev' function. */
419 #undef HAVE_SENDFILEV
420
421 /* Define to 1 if you have the `sendfilev64' function. */
422 #undef HAVE_SENDFILEV64
423
424 /* Define to 1 if you have the `send_file' function. */
425 #undef HAVE_SEND_FILE
426
427 /* Define to 1 if you have the `setenv' function. */
428 #undef HAVE_SETENV
429
430 /* Define to 1 if you have the `setrlimit' function. */
431 #undef HAVE_SETRLIMIT
432
433 /* Define to 1 if you have the `setsid' function. */
434 #undef HAVE_SETSID
435
436 /* Define to 1 if you have the `set_h_errno' function. */
437 #undef HAVE_SET_H_ERRNO
438
439 /* Define to 1 if you have the `shmat' function. */
440 #undef HAVE_SHMAT
441
442 /* Define to 1 if you have the `shmctl' function. */
443 #undef HAVE_SHMCTL
444
445 /* Define to 1 if you have the `shmdt' function. */
446 #undef HAVE_SHMDT
447
448 /* Define to 1 if you have the `shmget' function. */
449 #undef HAVE_SHMGET
450
451 /* Define to 1 if you have the `shm_open' function. */
452 #undef HAVE_SHM_OPEN
453
454 /* Define to 1 if you have the `shm_unlink' function. */
455 #undef HAVE_SHM_UNLINK
456
457 /* Define to 1 if you have the `sigaction' function. */
458 #undef HAVE_SIGACTION
459
460 /* Define to 1 if you have the <signal.h> header file. */
461 #undef HAVE_SIGNAL_H
462
463 /* Define to 1 if you have the `sigsuspend' function. */
464 #undef HAVE_SIGSUSPEND
465
466 /* Define to 1 if you have the `sigwait' function. */
467 #undef HAVE_SIGWAIT
468
469 /* Whether you have socklen_t */
470 #undef HAVE_SOCKLEN_T
471
472 /* Define if the SOCK_CLOEXEC flag is supported */
473 #undef HAVE_SOCK_CLOEXEC
474
475 /* Define if SO_ACCEPTFILTER is defined in sys/socket.h */
476 #undef HAVE_SO_ACCEPTFILTER
477
478 /* Define to 1 if you have the <stdarg.h> header file. */
479 #undef HAVE_STDARG_H
480
481 /* Define to 1 if you have the <stddef.h> header file. */
482 #undef HAVE_STDDEF_H
483
484 /* Define to 1 if you have the <stdint.h> header file. */
485 #undef HAVE_STDINT_H
486
487 /* Define to 1 if you have the <stdio.h> header file. */
488 #undef HAVE_STDIO_H
489
490 /* Define to 1 if you have the <stdlib.h> header file. */
491 #undef HAVE_STDLIB_H
492
493 /* Define to 1 if you have the `strcasecmp' function. */
494 #undef HAVE_STRCASECMP
495
496 /* Define to 1 if you have the `strdup' function. */
497 #undef HAVE_STRDUP
498
499 /* Define to 1 if you have the `strerror_r' function. */
500 #undef HAVE_STRERROR_R
501
502 /* Define to 1 if you have the `stricmp' function. */
503 #undef HAVE_STRICMP
504
505 /* Define to 1 if you have the <strings.h> header file. */
506 #undef HAVE_STRINGS_H
507
508 /* Define to 1 if you have the <string.h> header file. */
509 #undef HAVE_STRING_H
510
511 /* Define to 1 if you have the `strncasecmp' function. */
512 #undef HAVE_STRNCASECMP
513
514 /* Define to 1 if you have the `strnicmp' function. */
515 #undef HAVE_STRNICMP
516
517 /* Define to 1 if you have the `strstr' function. */
518 #undef HAVE_STRSTR
519
520 /* Define if struct impreq was found */
521 #undef HAVE_STRUCT_IPMREQ
522
523 /* Define to 1 if `st_atimensec' is a member of `struct stat'. */
524 #undef HAVE_STRUCT_STAT_ST_ATIMENSEC
525
526 /* Define to 1 if `st_atime_n' is a member of `struct stat'. */
527 #undef HAVE_STRUCT_STAT_ST_ATIME_N
528
529 /* Define to 1 if `st_atim.tv_nsec' is a member of `struct stat'. */
530 #undef HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC
531
532 /* Define to 1 if `st_blocks' is a member of `struct stat'. */
533 #undef HAVE_STRUCT_STAT_ST_BLOCKS
534
535 /* Define to 1 if `st_ctimensec' is a member of `struct stat'. */
536 #undef HAVE_STRUCT_STAT_ST_CTIMENSEC
537
538 /* Define to 1 if `st_ctime_n' is a member of `struct stat'. */
539 #undef HAVE_STRUCT_STAT_ST_CTIME_N
540
541 /* Define to 1 if `st_ctim.tv_nsec' is a member of `struct stat'. */
542 #undef HAVE_STRUCT_STAT_ST_CTIM_TV_NSEC
543
544 /* Define to 1 if `st_mtimensec' is a member of `struct stat'. */
545 #undef HAVE_STRUCT_STAT_ST_MTIMENSEC
546
547 /* Define to 1 if `st_mtime_n' is a member of `struct stat'. */
548 #undef HAVE_STRUCT_STAT_ST_MTIME_N
549
550 /* Define to 1 if `st_mtim.tv_nsec' is a member of `struct stat'. */
551 #undef HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC
552
553 /* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */
554 #undef HAVE_STRUCT_TM_TM_GMTOFF
555
556 /* Define to 1 if `__tm_gmtoff' is a member of `struct tm'. */
557 #undef HAVE_STRUCT_TM___TM_GMTOFF
558
559 /* Define to 1 if you have the <sysapi.h> header file. */
560 #undef HAVE_SYSAPI_H
561
562 /* Define to 1 if you have the <sysgtime.h> header file. */
563 #undef HAVE_SYSGTIME_H
564
565 /* Define to 1 if you have the <sys/file.h> header file. */
566 #undef HAVE_SYS_FILE_H
567
568 /* Define to 1 if you have the <sys/ioctl.h> header file. */
569 #undef HAVE_SYS_IOCTL_H
570
571 /* Define to 1 if you have the <sys/ipc.h> header file. */
572 #undef HAVE_SYS_IPC_H
573
574 /* Define to 1 if you have the <sys/mman.h> header file. */
575 #undef HAVE_SYS_MMAN_H
576
577 /* Define to 1 if you have the <sys/mutex.h> header file. */
578 #undef HAVE_SYS_MUTEX_H
579
580 /* Define to 1 if you have the <sys/param.h> header file. */
581 #undef HAVE_SYS_PARAM_H
582
583 /* Define to 1 if you have the <sys/poll.h> header file. */
584 #undef HAVE_SYS_POLL_H
585
586 /* Define to 1 if you have the <sys/resource.h> header file. */
587 #undef HAVE_SYS_RESOURCE_H
588
589 /* Define to 1 if you have the <sys/select.h> header file. */
590 #undef HAVE_SYS_SELECT_H
591
592 /* Define to 1 if you have the <sys/sem.h> header file. */
593 #undef HAVE_SYS_SEM_H
594
595 /* Define to 1 if you have the <sys/sendfile.h> header file. */
596 #undef HAVE_SYS_SENDFILE_H
597
598 /* Define to 1 if you have the <sys/shm.h> header file. */
599 #undef HAVE_SYS_SHM_H
600
601 /* Define to 1 if you have the <sys/signal.h> header file. */
602 #undef HAVE_SYS_SIGNAL_H
603
604 /* Define to 1 if you have the <sys/socket.h> header file. */
605 #undef HAVE_SYS_SOCKET_H
606
607 /* Define to 1 if you have the <sys/sockio.h> header file. */
608 #undef HAVE_SYS_SOCKIO_H
609
610 /* Define to 1 if you have the <sys/stat.h> header file. */
611 #undef HAVE_SYS_STAT_H
612
613 /* Define to 1 if you have the <sys/sysctl.h> header file. */
614 #undef HAVE_SYS_SYSCTL_H
615
616 /* Define to 1 if you have the <sys/syslimits.h> header file. */
617 #undef HAVE_SYS_SYSLIMITS_H
618
619 /* Define to 1 if you have the <sys/time.h> header file. */
620 #undef HAVE_SYS_TIME_H
621
622 /* Define to 1 if you have the <sys/types.h> header file. */
623 #undef HAVE_SYS_TYPES_H
624
625 /* Define to 1 if you have the <sys/uio.h> header file. */
626 #undef HAVE_SYS_UIO_H
627
628 /* Define to 1 if you have the <sys/un.h> header file. */
629 #undef HAVE_SYS_UN_H
630
631 /* Define to 1 if you have the <sys/uuid.h> header file. */
632 #undef HAVE_SYS_UUID_H
633
634 /* Define to 1 if you have the <sys/wait.h> header file. */
635 #undef HAVE_SYS_WAIT_H
636
637 /* Define if TCP_CORK is defined in netinet/tcp.h */
638 #undef HAVE_TCP_CORK
639
640 /* Define if TCP_NODELAY and TCP_CORK can be enabled at the same time */
641 #undef HAVE_TCP_NODELAY_WITH_CORK
642
643 /* Define if TCP_NOPUSH is defined in netinet/tcp.h */
644 #undef HAVE_TCP_NOPUSH
645
646 /* Define to 1 if you have the <termios.h> header file. */
647 #undef HAVE_TERMIOS_H
648
649 /* Define to 1 if you have the <time.h> header file. */
650 #undef HAVE_TIME_H
651
652 /* Define to 1 if you have the <tpfeq.h> header file. */
653 #undef HAVE_TPFEQ_H
654
655 /* Define to 1 if you have the <tpfio.h> header file. */
656 #undef HAVE_TPFIO_H
657
658 /* Define if truerand is supported */
659 #undef HAVE_TRUERAND
660
661 /* Define to 1 if you have the <unistd.h> header file. */
662 #undef HAVE_UNISTD_H
663
664 /* Define to 1 if you have the <unix.h> header file. */
665 #undef HAVE_UNIX_H
666
667 /* Define to 1 if you have the `unsetenv' function. */
668 #undef HAVE_UNSETENV
669
670 /* Define to 1 if you have the `utime' function. */
671 #undef HAVE_UTIME
672
673 /* Define to 1 if you have the `utimes' function. */
674 #undef HAVE_UTIMES
675
676 /* Define to 1 if you have the `uuid_create' function. */
677 #undef HAVE_UUID_CREATE
678
679 /* Define to 1 if you have the `uuid_generate' function. */
680 #undef HAVE_UUID_GENERATE
681
682 /* Define to 1 if you have the <uuid.h> header file. */
683 #undef HAVE_UUID_H
684
685 /* Define to 1 if you have the <uuid/uuid.h> header file. */
686 #undef HAVE_UUID_UUID_H
687
688 /* Define if C compiler supports VLA */
689 #undef HAVE_VLA
690
691 /* Define to 1 if you have the `waitpid' function. */
692 #undef HAVE_WAITPID
693
694 /* Define to 1 if you have the <windows.h> header file. */
695 #undef HAVE_WINDOWS_H
696
697 /* Define to 1 if you have the <winsock2.h> header file. */
698 #undef HAVE_WINSOCK2_H
699
700 /* Define to 1 if you have the `writev' function. */
701 #undef HAVE_WRITEV
702
703 /* Define for z/OS pthread API nuances */
704 #undef HAVE_ZOS_PTHREADS
705
706 /* Define to the sub-directory in which libtool stores uninstalled libraries.
707    */
708 #undef LT_OBJDIR
709
710 /* Define if EAI_ error codes from getaddrinfo are negative */
711 #undef NEGATIVE_EAI
712
713 /* Define to the address where bug reports for this package should be sent. */
714 #undef PACKAGE_BUGREPORT
715
716 /* Define to the full name of this package. */
717 #undef PACKAGE_NAME
718
719 /* Define to the full name and version of this package. */
720 #undef PACKAGE_STRING
721
722 /* Define to the one symbol short name of this package. */
723 #undef PACKAGE_TARNAME
724
725 /* Define to the home page for this package. */
726 #undef PACKAGE_URL
727
728 /* Define to the version of this package. */
729 #undef PACKAGE_VERSION
730
731 /* Define if POSIX semaphores affect threads within the process */
732 #undef POSIXSEM_IS_GLOBAL
733
734 /* Define on PowerPC 405 where errata 77 applies */
735 #undef PPC405_ERRATA
736
737 /* Define if pthread_attr_getdetachstate() has one arg */
738 #undef PTHREAD_ATTR_GETDETACHSTATE_TAKES_ONE_ARG
739
740 /* Define if pthread_getspecific() has two args */
741 #undef PTHREAD_GETSPECIFIC_TAKES_TWO_ARGS
742
743 /* Define if readdir is thread safe */
744 #undef READDIR_IS_THREAD_SAFE
745
746 /* Define to 1 if the `setpgrp' function takes no argument. */
747 #undef SETPGRP_VOID
748
749 /* */
750 #undef SIGWAIT_TAKES_ONE_ARG
751
752 /* The size of `char', as computed by sizeof. */
753 #undef SIZEOF_CHAR
754
755 /* The size of ino_t */
756 #undef SIZEOF_INO_T
757
758 /* The size of `int', as computed by sizeof. */
759 #undef SIZEOF_INT
760
761 /* The size of `long', as computed by sizeof. */
762 #undef SIZEOF_LONG
763
764 /* The size of `long long', as computed by sizeof. */
765 #undef SIZEOF_LONG_LONG
766
767 /* The size of off_t */
768 #undef SIZEOF_OFF_T
769
770 /* The size of pid_t */
771 #undef SIZEOF_PID_T
772
773 /* The size of `short', as computed by sizeof. */
774 #undef SIZEOF_SHORT
775
776 /* The size of size_t */
777 #undef SIZEOF_SIZE_T
778
779 /* The size of ssize_t */
780 #undef SIZEOF_SSIZE_T
781
782 /* The size of struct iovec */
783 #undef SIZEOF_STRUCT_IOVEC
784
785 /* The size of `void*', as computed by sizeof. */
786 #undef SIZEOF_VOIDP
787
788 /* If using the C implementation of alloca, define if you know the
789    direction of stack growth for your system; otherwise it will be
790    automatically deduced at runtime.
791         STACK_DIRECTION > 0 => grows toward higher addresses
792         STACK_DIRECTION < 0 => grows toward lower addresses
793         STACK_DIRECTION = 0 => direction of growth unknown */
794 #undef STACK_DIRECTION
795
796 /* Define to 1 if you have the ANSI C header files. */
797 #undef STDC_HEADERS
798
799 /* Define if strerror returns int */
800 #undef STRERROR_R_RC_INT
801
802 /* Define if SysV semaphores affect threads within the process */
803 #undef SYSVSEM_IS_GLOBAL
804
805 /* Define if use of generic atomics is requested */
806 #undef USE_ATOMICS_GENERIC
807
808 /* Define if BeOS Semaphores will be used */
809 #undef USE_BEOSSEM
810
811 /* Define if SVR4-style fcntl() will be used */
812 #undef USE_FCNTL_SERIALIZE
813
814 /* Define if 4.2BSD-style flock() will be used */
815 #undef USE_FLOCK_SERIALIZE
816
817 /* Define if BeOS areas will be used */
818 #undef USE_SHMEM_BEOS
819
820 /* Define if BeOS areas will be used */
821 #undef USE_SHMEM_BEOS_ANON
822
823 /* Define if 4.4BSD-style mmap() via MAP_ANON will be used */
824 #undef USE_SHMEM_MMAP_ANON
825
826 /* Define if mmap() via POSIX.1 shm_open() on temporary file will be used */
827 #undef USE_SHMEM_MMAP_SHM
828
829 /* Define if Classical mmap() on temporary file will be used */
830 #undef USE_SHMEM_MMAP_TMP
831
832 /* Define if SVR4-style mmap() on /dev/zero will be used */
833 #undef USE_SHMEM_MMAP_ZERO
834
835 /* Define if OS/2 DosAllocSharedMem() will be used */
836 #undef USE_SHMEM_OS2
837
838 /* Define if OS/2 DosAllocSharedMem() will be used */
839 #undef USE_SHMEM_OS2_ANON
840
841 /* Define if SysV IPC shmget() will be used */
842 #undef USE_SHMEM_SHMGET
843
844 /* Define if SysV IPC shmget() will be used */
845 #undef USE_SHMEM_SHMGET_ANON
846
847 /* Define if Windows shared memory will be used */
848 #undef USE_SHMEM_WIN32
849
850 /* Define if Windows CreateFileMapping() will be used */
851 #undef USE_SHMEM_WIN32_ANON
852
853 /* Enable extensions on AIX 3, Interix.  */
854 #ifndef _ALL_SOURCE
855 # undef _ALL_SOURCE
856 #endif
857 /* Enable GNU extensions on systems that have them.  */
858 #ifndef _GNU_SOURCE
859 # undef _GNU_SOURCE
860 #endif
861 /* Enable threading extensions on Solaris.  */
862 #ifndef _POSIX_PTHREAD_SEMANTICS
863 # undef _POSIX_PTHREAD_SEMANTICS
864 #endif
865 /* Enable extensions on HP NonStop.  */
866 #ifndef _TANDEM_SOURCE
867 # undef _TANDEM_SOURCE
868 #endif
869 /* Enable general extensions on Solaris.  */
870 #ifndef __EXTENSIONS__
871 # undef __EXTENSIONS__
872 #endif
873
874
875 /* Define if SysV IPC semget() will be used */
876 #undef USE_SYSVSEM_SERIALIZE
877
878 /* Define if apr_wait_for_io_or_timeout() uses poll(2) */
879 #undef WAITIO_USES_POLL
880
881 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
882    significant byte first (like Motorola and SPARC, unlike Intel). */
883 #if defined AC_APPLE_UNIVERSAL_BUILD
884 # if defined __BIG_ENDIAN__
885 #  define WORDS_BIGENDIAN 1
886 # endif
887 #else
888 # ifndef WORDS_BIGENDIAN
889 #  undef WORDS_BIGENDIAN
890 # endif
891 #endif
892
893 /* Define to 1 if on MINIX. */
894 #undef _MINIX
895
896 /* Define to 2 if the system does not provide POSIX.1 features except with
897    this defined. */
898 #undef _POSIX_1_SOURCE
899
900 /* Define to 1 if you need to in order for `stat' and other things to work. */
901 #undef _POSIX_SOURCE
902
903 /* Define to empty if `const' does not conform to ANSI C. */
904 #undef const
905
906 /* Define to `int' if <sys/types.h> doesn't define. */
907 #undef gid_t
908
909 /* Define to `__inline__' or `__inline' if that's what the C compiler
910    calls it, or to nothing if 'inline' is not supported under any name.  */
911 #ifndef __cplusplus
912 #undef inline
913 #endif
914
915 /* Define to `long int' if <sys/types.h> does not define. */
916 #undef off_t
917
918 /* Define to `int' if <sys/types.h> does not define. */
919 #undef pid_t
920
921 /* Define to `unsigned int' if <sys/types.h> does not define. */
922 #undef size_t
923
924 /* Define to `int' if <sys/types.h> does not define. */
925 #undef ssize_t
926
927 /* Define to `int' if <sys/types.h> doesn't define. */
928 #undef uid_t
929
930
931 /* switch this on if we have a BeOS version below BONE */
932 #if BEOS && !HAVE_BONE_VERSION
933 #define BEOS_R5 1
934 #else
935 #define BEOS_BONE 1
936 #endif
937
938 /*
939  * Darwin 10's default compiler (gcc42) builds for both 64 and
940  * 32 bit architectures unless specifically told not to.
941  * In those cases, we need to override types depending on how
942  * we're being built at compile time.
943  * NOTE: This is an ugly work-around for Darwin's
944  * concept of universal binaries, a single package
945  * (executable, lib, etc...) which contains both 32
946  * and 64 bit versions. The issue is that if APR is
947  * built universally, if something else is compiled
948  * against it, some bit sizes will depend on whether
949  * it is 32 or 64 bit. This is determined by the __LP64__
950  * flag. Since we need to support both, we have to
951  * handle OS X unqiuely.
952  */
953 #ifdef DARWIN_10
954
955 #undef APR_OFF_T_STRFN
956 #undef APR_INT64_STRFN
957 #undef SIZEOF_LONG
958 #undef SIZEOF_SIZE_T
959 #undef SIZEOF_SSIZE_T
960 #undef SIZEOF_VOIDP
961 #undef SIZEOF_STRUCT_IOVEC
962
963 #ifdef __LP64__
964  #define APR_INT64_STRFN strtol
965  #define SIZEOF_LONG    8
966  #define SIZEOF_SIZE_T  8
967  #define SIZEOF_SSIZE_T 8
968  #define SIZEOF_VOIDP   8
969  #define SIZEOF_STRUCT_IOVEC 16
970 #else
971  #define APR_INT64_STRFN strtoll
972  #define SIZEOF_LONG    4
973  #define SIZEOF_SIZE_T  4
974  #define SIZEOF_SSIZE_T 4
975  #define SIZEOF_VOIDP   4
976  #define SIZEOF_STRUCT_IOVEC 8
977 #endif
978
979 #undef APR_OFF_T_STRFN
980 #define APR_OFF_T_STRFN APR_INT64_STRFN
981  
982
983 #undef SETPGRP_VOID
984 #ifdef __DARWIN_UNIX03
985  #define SETPGRP_VOID 1
986 #else
987 /* #undef SETPGRP_VOID */
988 #endif
989  
990 #endif /* DARWIN_10 */
991
992 /*
993  * Include common private declarations.
994  */
995 #include "../apr_private_common.h"
996 #endif /* APR_PRIVATE_H */
997