apr_private.h.in revision 269847
133965Sjdp/* include/arch/unix/apr_private.h.in.  Generated from configure.in by autoheader.  */
2218822Sdim
378828Sobrien
433965Sjdp#ifndef APR_PRIVATE_H
533965Sjdp#define APR_PRIVATE_H
6130561Sobrien
733965Sjdp
8130561Sobrien/* Define if building universal (internal helper macro) */
9130561Sobrien#undef AC_APPLE_UNIVERSAL_BUILD
10130561Sobrien
11130561Sobrien/* Define if apr_allocator should use mmap */
1233965Sjdp#undef APR_ALLOCATOR_USES_MMAP
13130561Sobrien
14130561Sobrien/* Define as function which can be used for conversion of strings to
15130561Sobrien   apr_int64_t */
16130561Sobrien#undef APR_INT64_STRFN
1733965Sjdp
18130561Sobrien/* Define as function used for conversion of strings to apr_off_t */
19130561Sobrien#undef APR_OFF_T_STRFN
20218822Sdim
2133965Sjdp/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
2233965Sjdp   systems. This function is required for `alloca.c' support on those systems.
2333965Sjdp   */
2433965Sjdp#undef CRAY_STACKSEG_END
2533965Sjdp
2633965Sjdp/* Define to 1 if using `alloca.c'. */
2733965Sjdp#undef C_ALLOCA
2833965Sjdp
2933965Sjdp/* Define to path of random device */
3033965Sjdp#undef DEV_RANDOM
3177298Sobrien
3277298Sobrien/* Define if struct dirent has an inode member */
3377298Sobrien#undef DIRENT_INODE
3477298Sobrien
3577298Sobrien/* Define if struct dirent has a d_type member */
3633965Sjdp#undef DIRENT_TYPE
3733965Sjdp
3833965Sjdp/* Define if DSO support uses dlfcn.h */
3933965Sjdp#undef DSO_USE_DLFCN
4033965Sjdp
4133965Sjdp/* Define if DSO support uses dyld.h */
4233965Sjdp#undef DSO_USE_DYLD
4333965Sjdp
4433965Sjdp/* Define if DSO support uses shl_load */
4533965Sjdp#undef DSO_USE_SHL
4633965Sjdp
4733965Sjdp/* Define to list of paths to EGD sockets */
4889857Sobrien#undef EGD_DEFAULT_SOCKET
4989857Sobrien
5033965Sjdp/* Define if fcntl locks affect threads within the process */
5133965Sjdp#undef FCNTL_IS_GLOBAL
5289857Sobrien
5389857Sobrien/* Define if fcntl returns EACCES when F_SETLK is already held */
5433965Sjdp#undef FCNTL_TRYACQUIRE_EACCES
5577298Sobrien
5689857Sobrien/* Define if flock locks affect threads within the process */
5789857Sobrien#undef FLOCK_IS_GLOBAL
5877298Sobrien
5977298Sobrien/* Define if gethostbyaddr is thread safe */
6089857Sobrien#undef GETHOSTBYADDR_IS_THREAD_SAFE
6189857Sobrien
6277298Sobrien/* Define if gethostbyname is thread safe */
6333965Sjdp#undef GETHOSTBYNAME_IS_THREAD_SAFE
6433965Sjdp
6533965Sjdp/* Define if gethostbyname_r has the glibc style */
6633965Sjdp#undef GETHOSTBYNAME_R_GLIBC2
6733965Sjdp
68218822Sdim/* Define if gethostbyname_r has the hostent_data for the third argument */
6933965Sjdp#undef GETHOSTBYNAME_R_HOSTENT_DATA
70218822Sdim
7133965Sjdp/* Define if getservbyname is thread safe */
72218822Sdim#undef GETSERVBYNAME_IS_THREAD_SAFE
7333965Sjdp
74218822Sdim/* Define if getservbyname_r has the glibc style */
7533965Sjdp#undef GETSERVBYNAME_R_GLIBC2
7633965Sjdp
7733965Sjdp/* Define if getservbyname_r has the OSF/1 style */
78218822Sdim#undef GETSERVBYNAME_R_OSF1
79218822Sdim
80218822Sdim/* Define if getservbyname_r has the Solaris style */
81218822Sdim#undef GETSERVBYNAME_R_SOLARIS
82218822Sdim
83218822Sdim/* Define if accept4 function is supported */
84218822Sdim#undef HAVE_ACCEPT4
85218822Sdim
86218822Sdim/* Define if async i/o supports message q's */
87218822Sdim#undef HAVE_AIO_MSGQ
88218822Sdim
89218822Sdim/* Define to 1 if you have `alloca', as a function or macro. */
90218822Sdim#undef HAVE_ALLOCA
91218822Sdim
92218822Sdim/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
93218822Sdim   */
9433965Sjdp#undef HAVE_ALLOCA_H
9533965Sjdp
9633965Sjdp/* Define to 1 if you have the <arpa/inet.h> header file. */
9733965Sjdp#undef HAVE_ARPA_INET_H
98218822Sdim
9933965Sjdp/* Define if compiler provides atomic builtins */
10033965Sjdp#undef HAVE_ATOMIC_BUILTINS
10133965Sjdp
10233965Sjdp/* Define if BONE_VERSION is defined in sys/socket.h */
10333965Sjdp#undef HAVE_BONE_VERSION
10489857Sobrien
10589857Sobrien/* Define to 1 if you have the <ByteOrder.h> header file. */
10689857Sobrien#undef HAVE_BYTEORDER_H
10789857Sobrien
10889857Sobrien/* Define to 1 if you have the `calloc' function. */
10989857Sobrien#undef HAVE_CALLOC
11089857Sobrien
11189857Sobrien/* Define to 1 if you have the <conio.h> header file. */
11289857Sobrien#undef HAVE_CONIO_H
11389857Sobrien
11489857Sobrien/* Define to 1 if you have the `create_area' function. */
11589857Sobrien#undef HAVE_CREATE_AREA
11689857Sobrien
11789857Sobrien/* Define to 1 if you have the `create_sem' function. */
11889857Sobrien#undef HAVE_CREATE_SEM
11989857Sobrien
12089857Sobrien/* Define to 1 if you have the <crypt.h> header file. */
12189857Sobrien#undef HAVE_CRYPT_H
12289857Sobrien
12389857Sobrien/* Define to 1 if you have the <ctype.h> header file. */
12489857Sobrien#undef HAVE_CTYPE_H
12589857Sobrien
12689857Sobrien/* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you
12789857Sobrien   don't. */
12889857Sobrien#undef HAVE_DECL_SYS_SIGLIST
12933965Sjdp
13033965Sjdp/* Define to 1 if you have the <dirent.h> header file. */
131218822Sdim#undef HAVE_DIRENT_H
13277298Sobrien
13333965Sjdp/* Define to 1 if you have the <dir.h> header file. */
13433965Sjdp#undef HAVE_DIR_H
13533965Sjdp
13633965Sjdp/* Define to 1 if you have the <dlfcn.h> header file. */
13733965Sjdp#undef HAVE_DLFCN_H
13833965Sjdp
139218822Sdim/* Define to 1 if you have the <dl.h> header file. */
14033965Sjdp#undef HAVE_DL_H
14133965Sjdp
14233965Sjdp/* Define if dup3 function is supported */
14333965Sjdp#undef HAVE_DUP3
14433965Sjdp
14533965Sjdp/* Define if EGD is supported */
14689857Sobrien#undef HAVE_EGD
14789857Sobrien
14889857Sobrien/* Define if the epoll interface is supported */
14989857Sobrien#undef HAVE_EPOLL
15089857Sobrien
15189857Sobrien/* Define if epoll_create1 function is supported */
15289857Sobrien#undef HAVE_EPOLL_CREATE1
15389857Sobrien
15489857Sobrien/* Define to 1 if you have the <errno.h> header file. */
15589857Sobrien#undef HAVE_ERRNO_H
15689857Sobrien
15789857Sobrien/* Define to 1 if you have the <fcntl.h> header file. */
15889857Sobrien#undef HAVE_FCNTL_H
15989857Sobrien
16089857Sobrien/* Define to 1 if you have the `fdatasync' function. */
16189857Sobrien#undef HAVE_FDATASYNC
16289857Sobrien
16389857Sobrien/* Define to 1 if you have the `flock' function. */
16489857Sobrien#undef HAVE_FLOCK
16589857Sobrien
16689857Sobrien/* Define to 1 if you have the `fork' function. */
16789857Sobrien#undef HAVE_FORK
16889857Sobrien
16989857Sobrien/* Define if F_SETLK is defined in fcntl.h */
17089857Sobrien#undef HAVE_F_SETLK
17133965Sjdp
17233965Sjdp/* Define if getaddrinfo accepts the AI_ADDRCONFIG flag */
17389857Sobrien#undef HAVE_GAI_ADDRCONFIG
17477298Sobrien
17533965Sjdp/* Define to 1 if you have the `gai_strerror' function. */
17633965Sjdp#undef HAVE_GAI_STRERROR
17733965Sjdp
17833965Sjdp/* Define if getaddrinfo exists and works well enough for APR */
17933965Sjdp#undef HAVE_GETADDRINFO
18033965Sjdp
181218822Sdim/* Define to 1 if you have the `getenv' function. */
18233965Sjdp#undef HAVE_GETENV
18333965Sjdp
18433965Sjdp/* Define to 1 if you have the `getgrgid_r' function. */
18533965Sjdp#undef HAVE_GETGRGID_R
18677298Sobrien
18789857Sobrien/* Define to 1 if you have the `getgrnam_r' function. */
18889857Sobrien#undef HAVE_GETGRNAM_R
18977298Sobrien
19078828Sobrien/* Define to 1 if you have the `gethostbyaddr_r' function. */
19133965Sjdp#undef HAVE_GETHOSTBYADDR_R
19233965Sjdp
19389857Sobrien/* Define to 1 if you have the `gethostbyname_r' function. */
19489857Sobrien#undef HAVE_GETHOSTBYNAME_R
19589857Sobrien
19689857Sobrien/* Define to 1 if you have the `getifaddrs' function. */
19789857Sobrien#undef HAVE_GETIFADDRS
19889857Sobrien
19989857Sobrien/* Define if getnameinfo exists */
20089857Sobrien#undef HAVE_GETNAMEINFO
20177298Sobrien
20289857Sobrien/* Define to 1 if you have the `getpass' function. */
20389857Sobrien#undef HAVE_GETPASS
20433965Sjdp
20577298Sobrien/* Define to 1 if you have the `getpassphrase' function. */
20689857Sobrien#undef HAVE_GETPASSPHRASE
20789857Sobrien
20833965Sjdp/* Define to 1 if you have the `getpwnam_r' function. */
20989857Sobrien#undef HAVE_GETPWNAM_R
21089857Sobrien
21189857Sobrien/* Define to 1 if you have the `getpwuid_r' function. */
21289857Sobrien#undef HAVE_GETPWUID_R
21333965Sjdp
214130561Sobrien/* Define to 1 if you have the `getrlimit' function. */
21589857Sobrien#undef HAVE_GETRLIMIT
21689857Sobrien
21789857Sobrien/* Define to 1 if you have the `getservbyname_r' function. */
21889857Sobrien#undef HAVE_GETSERVBYNAME_R
21989857Sobrien
22089857Sobrien/* Define to 1 if you have the `gmtime_r' function. */
22189857Sobrien#undef HAVE_GMTIME_R
22289857Sobrien
22389857Sobrien/* Define to 1 if you have the <grp.h> header file. */
22489857Sobrien#undef HAVE_GRP_H
22589857Sobrien
22689857Sobrien/* Define if hstrerror is present */
22789857Sobrien#undef HAVE_HSTRERROR
22889857Sobrien
22989857Sobrien/* Define to 1 if you have the <inttypes.h> header file. */
23089857Sobrien#undef HAVE_INTTYPES_H
23189857Sobrien
23289857Sobrien/* Define to 1 if you have the <io.h> header file. */
23389857Sobrien#undef HAVE_IO_H
23489857Sobrien
23533965Sjdp/* Define to 1 if you have the `isinf' function. */
23633965Sjdp#undef HAVE_ISINF
23789857Sobrien
23889857Sobrien/* Define to 1 if you have the `isnan' function. */
23933965Sjdp#undef HAVE_ISNAN
24033965Sjdp
241218822Sdim/* Define to 1 if you have the <kernel/OS.h> header file. */
24277298Sobrien#undef HAVE_KERNEL_OS_H
24333965Sjdp
24433965Sjdp/* Define to 1 if you have the `kqueue' function. */
24533965Sjdp#undef HAVE_KQUEUE
24633965Sjdp
24733965Sjdp/* Define to 1 if you have the <langinfo.h> header file. */
24833965Sjdp#undef HAVE_LANGINFO_H
249218822Sdim
25033965Sjdp/* Define to 1 if you have the `bsd' library (-lbsd). */
25133965Sjdp#undef HAVE_LIBBSD
25233965Sjdp
25333965Sjdp/* Define to 1 if you have the `sendfile' library (-lsendfile). */
254130561Sobrien#undef HAVE_LIBSENDFILE
255130561Sobrien
25677298Sobrien/* Define to 1 if you have the `truerand' library (-ltruerand). */
25789857Sobrien#undef HAVE_LIBTRUERAND
25889857Sobrien
25989857Sobrien/* Define to 1 if you have the <limits.h> header file. */
26089857Sobrien#undef HAVE_LIMITS_H
26189857Sobrien
26289857Sobrien/* Define to 1 if you have the `localtime_r' function. */
26389857Sobrien#undef HAVE_LOCALTIME_R
26489857Sobrien
26589857Sobrien/* Define if LOCK_EX is defined in sys/file.h */
26689857Sobrien#undef HAVE_LOCK_EX
26777298Sobrien
26889857Sobrien/* Define to 1 if you have the <mach-o/dyld.h> header file. */
26989857Sobrien#undef HAVE_MACH_O_DYLD_H
27033965Sjdp
27177298Sobrien/* Define to 1 if you have the <malloc.h> header file. */
27289857Sobrien#undef HAVE_MALLOC_H
27389857Sobrien
27433965Sjdp/* Define if MAP_ANON is defined in sys/mman.h */
27589857Sobrien#undef HAVE_MAP_ANON
27689857Sobrien
27789857Sobrien/* Define to 1 if you have the `memchr' function. */
27889857Sobrien#undef HAVE_MEMCHR
27933965Sjdp
280130561Sobrien/* Define to 1 if you have the `memmove' function. */
28189857Sobrien#undef HAVE_MEMMOVE
28289857Sobrien
28389857Sobrien/* Define to 1 if you have the <memory.h> header file. */
28489857Sobrien#undef HAVE_MEMORY_H
28589857Sobrien
28689857Sobrien/* Define to 1 if you have the `mkstemp' function. */
28789857Sobrien#undef HAVE_MKSTEMP
28889857Sobrien
28989857Sobrien/* Define to 1 if you have the `mkstemp64' function. */
29089857Sobrien#undef HAVE_MKSTEMP64
29189857Sobrien
29289857Sobrien/* Define to 1 if you have the `mmap' function. */
29389857Sobrien#undef HAVE_MMAP
29489857Sobrien
29589857Sobrien/* Define to 1 if you have the `mmap64' function. */
29689857Sobrien#undef HAVE_MMAP64
29789857Sobrien
29889857Sobrien/* Define to 1 if you have the `munmap' function. */
29989857Sobrien#undef HAVE_MUNMAP
30089857Sobrien
30189857Sobrien/* Define to 1 if you have the <netdb.h> header file. */
30289857Sobrien#undef HAVE_NETDB_H
30389857Sobrien
30489857Sobrien/* Define to 1 if you have the <netinet/in.h> header file. */
30533965Sjdp#undef HAVE_NETINET_IN_H
30689857Sobrien
30789857Sobrien/* Define to 1 if you have the <netinet/sctp.h> header file. */
30833965Sjdp#undef HAVE_NETINET_SCTP_H
30933965Sjdp
310218822Sdim/* Define to 1 if you have the <netinet/sctp_uio.h> header file. */
31177298Sobrien#undef HAVE_NETINET_SCTP_UIO_H
31233965Sjdp
31333965Sjdp/* Defined if netinet/tcp.h is present */
31433965Sjdp#undef HAVE_NETINET_TCP_H
31533965Sjdp
31633965Sjdp/* Define to 1 if you have the <net/errno.h> header file. */
31733965Sjdp#undef HAVE_NET_ERRNO_H
318218822Sdim
31933965Sjdp/* Define to 1 if you have the `nl_langinfo' function. */
32033965Sjdp#undef HAVE_NL_LANGINFO
32133965Sjdp
32233965Sjdp/* Define to 1 if you have the <os2.h> header file. */
32333965Sjdp#undef HAVE_OS2_H
324218822Sdim
32533965Sjdp/* Define to 1 if you have the <osreldate.h> header file. */
32689857Sobrien#undef HAVE_OSRELDATE_H
32789857Sobrien
32889857Sobrien/* Define to 1 if you have the <OS.h> header file. */
32989857Sobrien#undef HAVE_OS_H
33089857Sobrien
33189857Sobrien/* Define to 1 if you have the `poll' function. */
33289857Sobrien#undef HAVE_POLL
33389857Sobrien
33489857Sobrien/* Define if POLLIN is defined */
33589857Sobrien#undef HAVE_POLLIN
33689857Sobrien
33789857Sobrien/* Define to 1 if you have the <poll.h> header file. */
33889857Sobrien#undef HAVE_POLL_H
33989857Sobrien
34033965Sjdp/* Define to 1 if you have the `port_create' function. */
34177298Sobrien#undef HAVE_PORT_CREATE
342130561Sobrien
343130561Sobrien/* Define to 1 if you have the <process.h> header file. */
344130561Sobrien#undef HAVE_PROCESS_H
345130561Sobrien
346130561Sobrien/* Define to 1 if you have the `pthread_attr_setguardsize' function. */
34789857Sobrien#undef HAVE_PTHREAD_ATTR_SETGUARDSIZE
34833965Sjdp
34933965Sjdp/* Define to 1 if you have the <pthread.h> header file. */
35033965Sjdp#undef HAVE_PTHREAD_H
35133965Sjdp
35233965Sjdp/* Define to 1 if you have the `pthread_key_delete' function. */
35333965Sjdp#undef HAVE_PTHREAD_KEY_DELETE
35433965Sjdp
35533965Sjdp/* Define to 1 if you have the `pthread_mutexattr_setpshared' function. */
35633965Sjdp#undef HAVE_PTHREAD_MUTEXATTR_SETPSHARED
35733965Sjdp
35833965Sjdp/* Define if recursive pthread mutexes are available */
35933965Sjdp#undef HAVE_PTHREAD_MUTEX_RECURSIVE
36033965Sjdp
36133965Sjdp/* Define if cross-process robust mutexes are available */
36233965Sjdp#undef HAVE_PTHREAD_MUTEX_ROBUST
36333965Sjdp
36433965Sjdp/* Define if PTHREAD_PROCESS_SHARED is defined in pthread.h */
36533965Sjdp#undef HAVE_PTHREAD_PROCESS_SHARED
36633965Sjdp
36733965Sjdp/* Define if pthread rwlocks are available */
36889857Sobrien#undef HAVE_PTHREAD_RWLOCKS
36977298Sobrien
37033965Sjdp/* Define to 1 if you have the `pthread_rwlock_init' function. */
37133965Sjdp#undef HAVE_PTHREAD_RWLOCK_INIT
372218822Sdim
37377298Sobrien/* Define to 1 if you have the `pthread_yield' function. */
37433965Sjdp#undef HAVE_PTHREAD_YIELD
37533965Sjdp
37633965Sjdp/* Define to 1 if you have the `putenv' function. */
37733965Sjdp#undef HAVE_PUTENV
37833965Sjdp
37933965Sjdp/* Define to 1 if you have the <pwd.h> header file. */
380218822Sdim#undef HAVE_PWD_H
38133965Sjdp
38233965Sjdp/* Define to 1 if you have the `readdir64_r' function. */
38333965Sjdp#undef HAVE_READDIR64_R
38433965Sjdp
385130561Sobrien/* Define to 1 if you have the <sched.h> header file. */
386130561Sobrien#undef HAVE_SCHED_H
38777298Sobrien
38889857Sobrien/* Define to 1 if you have the `sched_yield' function. */
38989857Sobrien#undef HAVE_SCHED_YIELD
39089857Sobrien
39189857Sobrien/* Define to 1 if you have the <semaphore.h> header file. */
39289857Sobrien#undef HAVE_SEMAPHORE_H
39389857Sobrien
39489857Sobrien/* Define to 1 if you have the `semctl' function. */
39589857Sobrien#undef HAVE_SEMCTL
39689857Sobrien
39789857Sobrien/* Define to 1 if you have the `semget' function. */
39889857Sobrien#undef HAVE_SEMGET
39989857Sobrien
40089857Sobrien/* Define to 1 if you have the `sem_close' function. */
40189857Sobrien#undef HAVE_SEM_CLOSE
40233965Sjdp
40377298Sobrien/* Define to 1 if you have the `sem_post' function. */
40489857Sobrien#undef HAVE_SEM_POST
40589857Sobrien
40633965Sjdp/* Define if SEM_UNDO is defined in sys/sem.h */
40733965Sjdp#undef HAVE_SEM_UNDO
40833965Sjdp
40933965Sjdp/* Define to 1 if you have the `sem_unlink' function. */
41033965Sjdp#undef HAVE_SEM_UNLINK
41133965Sjdp
41233965Sjdp/* Define to 1 if you have the `sem_wait' function. */
41333965Sjdp#undef HAVE_SEM_WAIT
41433965Sjdp
41533965Sjdp/* Define to 1 if you have the `sendfile' function. */
41633965Sjdp#undef HAVE_SENDFILE
41733965Sjdp
41833965Sjdp/* Define to 1 if you have the `sendfile64' function. */
41933965Sjdp#undef HAVE_SENDFILE64
42033965Sjdp
42133965Sjdp/* Define to 1 if you have the `sendfilev' function. */
42233965Sjdp#undef HAVE_SENDFILEV
42333965Sjdp
42433965Sjdp/* Define to 1 if you have the `sendfilev64' function. */
42533965Sjdp#undef HAVE_SENDFILEV64
42633965Sjdp
42733965Sjdp/* Define to 1 if you have the `send_file' function. */
42889857Sobrien#undef HAVE_SEND_FILE
42977298Sobrien
43033965Sjdp/* Define to 1 if you have the `setenv' function. */
43133965Sjdp#undef HAVE_SETENV
432218822Sdim
43377298Sobrien/* Define to 1 if you have the `setrlimit' function. */
43433965Sjdp#undef HAVE_SETRLIMIT
43533965Sjdp
43633965Sjdp/* Define to 1 if you have the `setsid' function. */
43733965Sjdp#undef HAVE_SETSID
43833965Sjdp
43933965Sjdp/* Define to 1 if you have the `set_h_errno' function. */
440218822Sdim#undef HAVE_SET_H_ERRNO
44133965Sjdp
44233965Sjdp/* Define to 1 if you have the `shmat' function. */
44333965Sjdp#undef HAVE_SHMAT
44433965Sjdp
44577298Sobrien/* Define to 1 if you have the `shmctl' function. */
44689857Sobrien#undef HAVE_SHMCTL
44789857Sobrien
44833965Sjdp/* Define to 1 if you have the `shmdt' function. */
449130561Sobrien#undef HAVE_SHMDT
450130561Sobrien
451130561Sobrien/* Define to 1 if you have the `shmget' function. */
452130561Sobrien#undef HAVE_SHMGET
45333965Sjdp
454130561Sobrien/* Define to 1 if you have the `shm_open' function. */
455130561Sobrien#undef HAVE_SHM_OPEN
456130561Sobrien
457130561Sobrien/* Define to 1 if you have the `shm_unlink' function. */
458130561Sobrien#undef HAVE_SHM_UNLINK
459130561Sobrien
460130561Sobrien/* Define to 1 if you have the `sigaction' function. */
461130561Sobrien#undef HAVE_SIGACTION
462130561Sobrien
463130561Sobrien/* Define to 1 if you have the <signal.h> header file. */
464130561Sobrien#undef HAVE_SIGNAL_H
465130561Sobrien
466130561Sobrien/* Define to 1 if you have the `sigsuspend' function. */
467130561Sobrien#undef HAVE_SIGSUSPEND
468130561Sobrien
469130561Sobrien/* Define to 1 if you have the `sigwait' function. */
470130561Sobrien#undef HAVE_SIGWAIT
471130561Sobrien
472130561Sobrien/* Whether you have socklen_t */
473130561Sobrien#undef HAVE_SOCKLEN_T
474130561Sobrien
475130561Sobrien/* Define if the SOCK_CLOEXEC flag is supported */
476130561Sobrien#undef HAVE_SOCK_CLOEXEC
477130561Sobrien
478130561Sobrien/* Define if SO_ACCEPTFILTER is defined in sys/socket.h */
479130561Sobrien#undef HAVE_SO_ACCEPTFILTER
480130561Sobrien
481130561Sobrien/* Define to 1 if you have the <stdarg.h> header file. */
482130561Sobrien#undef HAVE_STDARG_H
483130561Sobrien
484130561Sobrien/* Define to 1 if you have the <stddef.h> header file. */
48533965Sjdp#undef HAVE_STDDEF_H
486218822Sdim
48777298Sobrien/* Define to 1 if you have the <stdint.h> header file. */
48833965Sjdp#undef HAVE_STDINT_H
48933965Sjdp
49033965Sjdp/* Define to 1 if you have the <stdio.h> header file. */
49133965Sjdp#undef HAVE_STDIO_H
49233965Sjdp
49333965Sjdp/* Define to 1 if you have the <stdlib.h> header file. */
494218822Sdim#undef HAVE_STDLIB_H
49533965Sjdp
49633965Sjdp/* Define to 1 if you have the `strcasecmp' function. */
49733965Sjdp#undef HAVE_STRCASECMP
49833965Sjdp
499130561Sobrien/* Define to 1 if you have the `strdup' function. */
500130561Sobrien#undef HAVE_STRDUP
50177298Sobrien
50289857Sobrien/* Define to 1 if you have the `strerror_r' function. */
50389857Sobrien#undef HAVE_STRERROR_R
50433965Sjdp
505130561Sobrien/* Define to 1 if you have the `stricmp' function. */
506130561Sobrien#undef HAVE_STRICMP
507130561Sobrien
508130561Sobrien/* Define to 1 if you have the <strings.h> header file. */
509130561Sobrien#undef HAVE_STRINGS_H
510130561Sobrien
511130561Sobrien/* Define to 1 if you have the <string.h> header file. */
512130561Sobrien#undef HAVE_STRING_H
513130561Sobrien
514130561Sobrien/* Define to 1 if you have the `strncasecmp' function. */
515130561Sobrien#undef HAVE_STRNCASECMP
516130561Sobrien
517130561Sobrien/* Define to 1 if you have the `strnicmp' function. */
518130561Sobrien#undef HAVE_STRNICMP
519130561Sobrien
520130561Sobrien/* Define to 1 if you have the `strstr' function. */
521130561Sobrien#undef HAVE_STRSTR
522130561Sobrien
523130561Sobrien/* Define if struct impreq was found */
524130561Sobrien#undef HAVE_STRUCT_IPMREQ
525130561Sobrien
526130561Sobrien/* Define to 1 if `st_atimensec' is a member of `struct stat'. */
527130561Sobrien#undef HAVE_STRUCT_STAT_ST_ATIMENSEC
528130561Sobrien
529130561Sobrien/* Define to 1 if `st_atime_n' is a member of `struct stat'. */
530130561Sobrien#undef HAVE_STRUCT_STAT_ST_ATIME_N
531130561Sobrien
532130561Sobrien/* Define to 1 if `st_atim.tv_nsec' is a member of `struct stat'. */
533130561Sobrien#undef HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC
53433965Sjdp
53533965Sjdp/* Define to 1 if `st_blocks' is a member of `struct stat'. */
536218822Sdim#undef HAVE_STRUCT_STAT_ST_BLOCKS
53777298Sobrien
53833965Sjdp/* Define to 1 if `st_ctimensec' is a member of `struct stat'. */
53933965Sjdp#undef HAVE_STRUCT_STAT_ST_CTIMENSEC
54033965Sjdp
54133965Sjdp/* Define to 1 if `st_ctime_n' is a member of `struct stat'. */
54233965Sjdp#undef HAVE_STRUCT_STAT_ST_CTIME_N
54333965Sjdp
544218822Sdim/* Define to 1 if `st_ctim.tv_nsec' is a member of `struct stat'. */
54533965Sjdp#undef HAVE_STRUCT_STAT_ST_CTIM_TV_NSEC
54633965Sjdp
54733965Sjdp/* Define to 1 if `st_mtimensec' is a member of `struct stat'. */
54833965Sjdp#undef HAVE_STRUCT_STAT_ST_MTIMENSEC
54977298Sobrien
550130561Sobrien/* Define to 1 if `st_mtime_n' is a member of `struct stat'. */
551130561Sobrien#undef HAVE_STRUCT_STAT_ST_MTIME_N
552130561Sobrien
553130561Sobrien/* Define to 1 if `st_mtim.tv_nsec' is a member of `struct stat'. */
554130561Sobrien#undef HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC
555130561Sobrien
556130561Sobrien/* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */
557130561Sobrien#undef HAVE_STRUCT_TM_TM_GMTOFF
558130561Sobrien
559130561Sobrien/* Define to 1 if `__tm_gmtoff' is a member of `struct tm'. */
560130561Sobrien#undef HAVE_STRUCT_TM___TM_GMTOFF
561130561Sobrien
562130561Sobrien/* Define to 1 if you have the <sysapi.h> header file. */
56333965Sjdp#undef HAVE_SYSAPI_H
56433965Sjdp
56577298Sobrien/* Define to 1 if you have the <sysgtime.h> header file. */
566130561Sobrien#undef HAVE_SYSGTIME_H
56733965Sjdp
56877298Sobrien/* Define to 1 if you have the <sys/file.h> header file. */
569130561Sobrien#undef HAVE_SYS_FILE_H
57033965Sjdp
57133965Sjdp/* Define to 1 if you have the <sys/ioctl.h> header file. */
57233965Sjdp#undef HAVE_SYS_IOCTL_H
57333965Sjdp
57433965Sjdp/* Define to 1 if you have the <sys/ipc.h> header file. */
575218822Sdim#undef HAVE_SYS_IPC_H
57677298Sobrien
57733965Sjdp/* Define to 1 if you have the <sys/mman.h> header file. */
57833965Sjdp#undef HAVE_SYS_MMAN_H
57933965Sjdp
58033965Sjdp/* Define to 1 if you have the <sys/mutex.h> header file. */
58133965Sjdp#undef HAVE_SYS_MUTEX_H
58233965Sjdp
583218822Sdim/* Define to 1 if you have the <sys/param.h> header file. */
58433965Sjdp#undef HAVE_SYS_PARAM_H
58533965Sjdp
58633965Sjdp/* Define to 1 if you have the <sys/poll.h> header file. */
58733965Sjdp#undef HAVE_SYS_POLL_H
588130561Sobrien
589130561Sobrien/* Define to 1 if you have the <sys/resource.h> header file. */
59077298Sobrien#undef HAVE_SYS_RESOURCE_H
591130561Sobrien
592130561Sobrien/* Define to 1 if you have the <sys/select.h> header file. */
593130561Sobrien#undef HAVE_SYS_SELECT_H
594130561Sobrien
595130561Sobrien/* Define to 1 if you have the <sys/sem.h> header file. */
596130561Sobrien#undef HAVE_SYS_SEM_H
597130561Sobrien
59877298Sobrien/* Define to 1 if you have the <sys/sendfile.h> header file. */
599130561Sobrien#undef HAVE_SYS_SENDFILE_H
600130561Sobrien
60133965Sjdp/* Define to 1 if you have the <sys/shm.h> header file. */
602130561Sobrien#undef HAVE_SYS_SHM_H
603130561Sobrien
604130561Sobrien/* Define to 1 if you have the <sys/signal.h> header file. */
605130561Sobrien#undef HAVE_SYS_SIGNAL_H
606130561Sobrien
607130561Sobrien/* Define to 1 if you have the <sys/socket.h> header file. */
608130561Sobrien#undef HAVE_SYS_SOCKET_H
60977298Sobrien
610130561Sobrien/* Define to 1 if you have the <sys/sockio.h> header file. */
611130561Sobrien#undef HAVE_SYS_SOCKIO_H
61233965Sjdp
613130561Sobrien/* Define to 1 if you have the <sys/stat.h> header file. */
61433965Sjdp#undef HAVE_SYS_STAT_H
61577298Sobrien
61689857Sobrien/* Define to 1 if you have the <sys/sysctl.h> header file. */
61733965Sjdp#undef HAVE_SYS_SYSCTL_H
61877298Sobrien
61989857Sobrien/* Define to 1 if you have the <sys/syslimits.h> header file. */
62033965Sjdp#undef HAVE_SYS_SYSLIMITS_H
62133965Sjdp
62233965Sjdp/* Define to 1 if you have the <sys/time.h> header file. */
62333965Sjdp#undef HAVE_SYS_TIME_H
62433965Sjdp
625218822Sdim/* Define to 1 if you have the <sys/types.h> header file. */
62677298Sobrien#undef HAVE_SYS_TYPES_H
62733965Sjdp
62833965Sjdp/* Define to 1 if you have the <sys/uio.h> header file. */
62933965Sjdp#undef HAVE_SYS_UIO_H
63033965Sjdp
63133965Sjdp/* Define to 1 if you have the <sys/un.h> header file. */
63233965Sjdp#undef HAVE_SYS_UN_H
633218822Sdim
63433965Sjdp/* Define to 1 if you have the <sys/uuid.h> header file. */
63533965Sjdp#undef HAVE_SYS_UUID_H
63633965Sjdp
63789857Sobrien/* Define to 1 if you have the <sys/wait.h> header file. */
63833965Sjdp#undef HAVE_SYS_WAIT_H
63933965Sjdp
640218822Sdim/* Define if TCP_CORK is defined in netinet/tcp.h */
64177298Sobrien#undef HAVE_TCP_CORK
64233965Sjdp
64333965Sjdp/* Define if TCP_NODELAY and TCP_CORK can be enabled at the same time */
64433965Sjdp#undef HAVE_TCP_NODELAY_WITH_CORK
64533965Sjdp
64633965Sjdp/* Define if TCP_NOPUSH is defined in netinet/tcp.h */
64733965Sjdp#undef HAVE_TCP_NOPUSH
648218822Sdim
64933965Sjdp/* Define to 1 if you have the <termios.h> header file. */
65033965Sjdp#undef HAVE_TERMIOS_H
65133965Sjdp
65289857Sobrien/* Define to 1 if you have the <time.h> header file. */
65333965Sjdp#undef HAVE_TIME_H
65433965Sjdp
655218822Sdim/* Define to 1 if you have the <tpfeq.h> header file. */
65677298Sobrien#undef HAVE_TPFEQ_H
65733965Sjdp
65833965Sjdp/* Define to 1 if you have the <tpfio.h> header file. */
65933965Sjdp#undef HAVE_TPFIO_H
66033965Sjdp
66133965Sjdp/* Define if truerand is supported */
66233965Sjdp#undef HAVE_TRUERAND
663218822Sdim
66433965Sjdp/* Define to 1 if you have the <unistd.h> header file. */
66533965Sjdp#undef HAVE_UNISTD_H
66633965Sjdp
66733965Sjdp/* Define to 1 if you have the <unix.h> header file. */
66833965Sjdp#undef HAVE_UNIX_H
66933965Sjdp
67033965Sjdp/* Define to 1 if you have the `unsetenv' function. */
67133965Sjdp#undef HAVE_UNSETENV
67233965Sjdp
67333965Sjdp/* Define to 1 if you have the `utime' function. */
67433965Sjdp#undef HAVE_UTIME
67533965Sjdp
67633965Sjdp/* Define to 1 if you have the `utimes' function. */
67733965Sjdp#undef HAVE_UTIMES
67833965Sjdp
67933965Sjdp/* Define to 1 if you have the `uuid_create' function. */
68033965Sjdp#undef HAVE_UUID_CREATE
68133965Sjdp
68233965Sjdp/* Define to 1 if you have the `uuid_generate' function. */
68333965Sjdp#undef HAVE_UUID_GENERATE
68433965Sjdp
68533965Sjdp/* Define to 1 if you have the <uuid.h> header file. */
68633965Sjdp#undef HAVE_UUID_H
68733965Sjdp
68833965Sjdp/* Define to 1 if you have the <uuid/uuid.h> header file. */
68933965Sjdp#undef HAVE_UUID_UUID_H
69089857Sobrien
69133965Sjdp/* Define if C compiler supports VLA */
69233965Sjdp#undef HAVE_VLA
693218822Sdim
69477298Sobrien/* Define to 1 if you have the `waitpid' function. */
69533965Sjdp#undef HAVE_WAITPID
69633965Sjdp
69733965Sjdp/* Define to 1 if you have the <windows.h> header file. */
69833965Sjdp#undef HAVE_WINDOWS_H
69933965Sjdp
70033965Sjdp/* Define to 1 if you have the <winsock2.h> header file. */
701218822Sdim#undef HAVE_WINSOCK2_H
70233965Sjdp
70333965Sjdp/* Define to 1 if you have the `writev' function. */
70433965Sjdp#undef HAVE_WRITEV
70533965Sjdp
706130561Sobrien/* Define for z/OS pthread API nuances */
707130561Sobrien#undef HAVE_ZOS_PTHREADS
70833965Sjdp
70933965Sjdp/* Define to the sub-directory in which libtool stores uninstalled libraries.
71033965Sjdp   */
71133965Sjdp#undef LT_OBJDIR
71233965Sjdp
71333965Sjdp/* Define if EAI_ error codes from getaddrinfo are negative */
71433965Sjdp#undef NEGATIVE_EAI
71533965Sjdp
71633965Sjdp/* Define to the address where bug reports for this package should be sent. */
71733965Sjdp#undef PACKAGE_BUGREPORT
71833965Sjdp
71933965Sjdp/* Define to the full name of this package. */
72033965Sjdp#undef PACKAGE_NAME
72133965Sjdp
72233965Sjdp/* Define to the full name and version of this package. */
72333965Sjdp#undef PACKAGE_STRING
72433965Sjdp
72533965Sjdp/* Define to the one symbol short name of this package. */
72633965Sjdp#undef PACKAGE_TARNAME
72789857Sobrien
72833965Sjdp/* Define to the home page for this package. */
72933965Sjdp#undef PACKAGE_URL
730218822Sdim
73177298Sobrien/* Define to the version of this package. */
73233965Sjdp#undef PACKAGE_VERSION
73333965Sjdp
73433965Sjdp/* Define if POSIX semaphores affect threads within the process */
73533965Sjdp#undef POSIXSEM_IS_GLOBAL
73633965Sjdp
73733965Sjdp/* Define on PowerPC 405 where errata 77 applies */
738218822Sdim#undef PPC405_ERRATA
73933965Sjdp
74033965Sjdp/* Define if pthread_attr_getdetachstate() has one arg */
74133965Sjdp#undef PTHREAD_ATTR_GETDETACHSTATE_TAKES_ONE_ARG
74233965Sjdp
74333965Sjdp/* Define if pthread_getspecific() has two args */
74489857Sobrien#undef PTHREAD_GETSPECIFIC_TAKES_TWO_ARGS
74589857Sobrien
74633965Sjdp/* Define if readdir is thread safe */
74733965Sjdp#undef READDIR_IS_THREAD_SAFE
748218822Sdim
74977298Sobrien/* Define to 1 if the `setpgrp' function takes no argument. */
75033965Sjdp#undef SETPGRP_VOID
75133965Sjdp
75233965Sjdp/* */
75333965Sjdp#undef SIGWAIT_TAKES_ONE_ARG
75433965Sjdp
75533965Sjdp/* The size of `char', as computed by sizeof. */
756218822Sdim#undef SIZEOF_CHAR
75733965Sjdp
75833965Sjdp/* The size of ino_t */
75933965Sjdp#undef SIZEOF_INO_T
76033965Sjdp
761130561Sobrien/* The size of `int', as computed by sizeof. */
762130561Sobrien#undef SIZEOF_INT
76333965Sjdp
76489857Sobrien/* The size of `long', as computed by sizeof. */
76589857Sobrien#undef SIZEOF_LONG
76633965Sjdp
76733965Sjdp/* The size of `long long', as computed by sizeof. */
768218822Sdim#undef SIZEOF_LONG_LONG
76977298Sobrien
77033965Sjdp/* The size of off_t */
77133965Sjdp#undef SIZEOF_OFF_T
772
773/* The size of pid_t */
774#undef SIZEOF_PID_T
775
776/* The size of `short', as computed by sizeof. */
777#undef SIZEOF_SHORT
778
779/* The size of size_t */
780#undef SIZEOF_SIZE_T
781
782/* The size of ssize_t */
783#undef SIZEOF_SSIZE_T
784
785/* The size of struct iovec */
786#undef SIZEOF_STRUCT_IOVEC
787
788/* The size of `void*', as computed by sizeof. */
789#undef SIZEOF_VOIDP
790
791/* If using the C implementation of alloca, define if you know the
792   direction of stack growth for your system; otherwise it will be
793   automatically deduced at runtime.
794	STACK_DIRECTION > 0 => grows toward higher addresses
795	STACK_DIRECTION < 0 => grows toward lower addresses
796	STACK_DIRECTION = 0 => direction of growth unknown */
797#undef STACK_DIRECTION
798
799/* Define to 1 if you have the ANSI C header files. */
800#undef STDC_HEADERS
801
802/* Define if strerror returns int */
803#undef STRERROR_R_RC_INT
804
805/* Define if SysV semaphores affect threads within the process */
806#undef SYSVSEM_IS_GLOBAL
807
808/* Define if use of generic atomics is requested */
809#undef USE_ATOMICS_GENERIC
810
811/* Define if BeOS Semaphores will be used */
812#undef USE_BEOSSEM
813
814/* Define if SVR4-style fcntl() will be used */
815#undef USE_FCNTL_SERIALIZE
816
817/* Define if 4.2BSD-style flock() will be used */
818#undef USE_FLOCK_SERIALIZE
819
820/* Define if BeOS areas will be used */
821#undef USE_SHMEM_BEOS
822
823/* Define if BeOS areas will be used */
824#undef USE_SHMEM_BEOS_ANON
825
826/* Define if 4.4BSD-style mmap() via MAP_ANON will be used */
827#undef USE_SHMEM_MMAP_ANON
828
829/* Define if mmap() via POSIX.1 shm_open() on temporary file will be used */
830#undef USE_SHMEM_MMAP_SHM
831
832/* Define if Classical mmap() on temporary file will be used */
833#undef USE_SHMEM_MMAP_TMP
834
835/* Define if SVR4-style mmap() on /dev/zero will be used */
836#undef USE_SHMEM_MMAP_ZERO
837
838/* Define if OS/2 DosAllocSharedMem() will be used */
839#undef USE_SHMEM_OS2
840
841/* Define if OS/2 DosAllocSharedMem() will be used */
842#undef USE_SHMEM_OS2_ANON
843
844/* Define if SysV IPC shmget() will be used */
845#undef USE_SHMEM_SHMGET
846
847/* Define if SysV IPC shmget() will be used */
848#undef USE_SHMEM_SHMGET_ANON
849
850/* Define if Windows shared memory will be used */
851#undef USE_SHMEM_WIN32
852
853/* Define if Windows CreateFileMapping() will be used */
854#undef USE_SHMEM_WIN32_ANON
855
856/* Enable extensions on AIX 3, Interix.  */
857#ifndef _ALL_SOURCE
858# undef _ALL_SOURCE
859#endif
860/* Enable GNU extensions on systems that have them.  */
861#ifndef _GNU_SOURCE
862# undef _GNU_SOURCE
863#endif
864/* Enable threading extensions on Solaris.  */
865#ifndef _POSIX_PTHREAD_SEMANTICS
866# undef _POSIX_PTHREAD_SEMANTICS
867#endif
868/* Enable extensions on HP NonStop.  */
869#ifndef _TANDEM_SOURCE
870# undef _TANDEM_SOURCE
871#endif
872/* Enable general extensions on Solaris.  */
873#ifndef __EXTENSIONS__
874# undef __EXTENSIONS__
875#endif
876
877
878/* Define if SysV IPC semget() will be used */
879#undef USE_SYSVSEM_SERIALIZE
880
881/* Define if apr_wait_for_io_or_timeout() uses poll(2) */
882#undef WAITIO_USES_POLL
883
884/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
885   significant byte first (like Motorola and SPARC, unlike Intel). */
886#if defined AC_APPLE_UNIVERSAL_BUILD
887# if defined __BIG_ENDIAN__
888#  define WORDS_BIGENDIAN 1
889# endif
890#else
891# ifndef WORDS_BIGENDIAN
892#  undef WORDS_BIGENDIAN
893# endif
894#endif
895
896/* Define to 1 if on MINIX. */
897#undef _MINIX
898
899/* Define to 2 if the system does not provide POSIX.1 features except with
900   this defined. */
901#undef _POSIX_1_SOURCE
902
903/* Define to 1 if you need to in order for `stat' and other things to work. */
904#undef _POSIX_SOURCE
905
906/* Define to empty if `const' does not conform to ANSI C. */
907#undef const
908
909/* Define to `int' if <sys/types.h> doesn't define. */
910#undef gid_t
911
912/* Define to `__inline__' or `__inline' if that's what the C compiler
913   calls it, or to nothing if 'inline' is not supported under any name.  */
914#ifndef __cplusplus
915#undef inline
916#endif
917
918/* Define to `long int' if <sys/types.h> does not define. */
919#undef off_t
920
921/* Define to `int' if <sys/types.h> does not define. */
922#undef pid_t
923
924/* Define to `unsigned int' if <sys/types.h> does not define. */
925#undef size_t
926
927/* Define to `int' if <sys/types.h> does not define. */
928#undef ssize_t
929
930/* Define to `int' if <sys/types.h> doesn't define. */
931#undef uid_t
932
933
934/* switch this on if we have a BeOS version below BONE */
935#if defined(BEOS) && !defined(HAVE_BONE_VERSION)
936#define BEOS_R5 1
937#else
938#define BEOS_BONE 1
939#endif
940
941/*
942 * Darwin 10's default compiler (gcc42) builds for both 64 and
943 * 32 bit architectures unless specifically told not to.
944 * In those cases, we need to override types depending on how
945 * we're being built at compile time.
946 * NOTE: This is an ugly work-around for Darwin's
947 * concept of universal binaries, a single package
948 * (executable, lib, etc...) which contains both 32
949 * and 64 bit versions. The issue is that if APR is
950 * built universally, if something else is compiled
951 * against it, some bit sizes will depend on whether
952 * it is 32 or 64 bit. This is determined by the __LP64__
953 * flag. Since we need to support both, we have to
954 * handle OS X unqiuely.
955 */
956#ifdef DARWIN_10
957
958#undef APR_OFF_T_STRFN
959#undef APR_INT64_STRFN
960#undef SIZEOF_LONG
961#undef SIZEOF_SIZE_T
962#undef SIZEOF_SSIZE_T
963#undef SIZEOF_VOIDP
964#undef SIZEOF_STRUCT_IOVEC
965
966#ifdef __LP64__
967 #define APR_INT64_STRFN strtol
968 #define SIZEOF_LONG    8
969 #define SIZEOF_SIZE_T  8
970 #define SIZEOF_SSIZE_T 8
971 #define SIZEOF_VOIDP   8
972 #define SIZEOF_STRUCT_IOVEC 16
973#else
974 #define APR_INT64_STRFN strtoll
975 #define SIZEOF_LONG    4
976 #define SIZEOF_SIZE_T  4
977 #define SIZEOF_SSIZE_T 4
978 #define SIZEOF_VOIDP   4
979 #define SIZEOF_STRUCT_IOVEC 8
980#endif
981
982#undef APR_OFF_T_STRFN
983#define APR_OFF_T_STRFN APR_INT64_STRFN
984 
985
986#undef SETPGRP_VOID
987#ifdef __DARWIN_UNIX03
988 #define SETPGRP_VOID 1
989#else
990/* #undef SETPGRP_VOID */
991#endif
992 
993#endif /* DARWIN_10 */
994
995/*
996 * Include common private declarations.
997 */
998#include "../apr_private_common.h"
999#endif /* APR_PRIVATE_H */
1000
1001