1 /* include/arch/unix/apr_private.h.in. Generated from configure.in by autoheader. */
6 /* Various #defines we need to know about */
8 #undef EGD_DEFAULT_SOCKET
13 /* Cross process serialization techniques */
14 #undef USE_FLOCK_SERIALIZE
15 #undef USE_SYSVSEM_SERIALIZE
16 #undef USE_FCNTL_SERIALIZE
17 #undef USE_PROC_PTHREAD_SERIALIZE
18 #undef USE_PTHREAD_SERIALIZE
20 #undef POSIXSEM_IS_GLOBAL
21 #undef SYSVSEM_IS_GLOBAL
22 #undef FCNTL_IS_GLOBAL
23 #undef FLOCK_IS_GLOBAL
28 /* Define if crypt_r has uses CRYPTD */
31 /* Define if crypt_r uses struct crypt_data */
32 #undef CRYPT_R_STRUCT_CRYPT_DATA
34 /* Define to path of random device */
37 /* Define if DSO support uses dlfcn.h */
40 /* Define if DSO support uses dyld.h */
43 /* Define if DSO support uses shl_load */
46 /* Define to list of paths to EGD sockets */
47 #undef EGD_DEFAULT_SOCKET
49 /* Define if fcntl locks affect threads within the process */
50 #undef FCNTL_IS_GLOBAL
52 /* Define if flock locks affect threads within the process */
53 #undef FLOCK_IS_GLOBAL
55 /* Define if gethostbyaddr is thread safe */
56 #undef GETHOSTBYADDR_IS_THREAD_SAFE
58 /* Define if gethostbyname is thread safe */
59 #undef GETHOSTBYNAME_IS_THREAD_SAFE
61 /* Define if gethostbyname_r has the glibc style */
62 #undef GETHOSTBYNAME_R_GLIBC2
64 /* Define if gethostbyname_r has the hostent_data for the third argument */
65 #undef GETHOSTBYNAME_R_HOSTENT_DATA
67 /* Define to 1 if you have the `alloca' function. */
70 /* Define to 1 if you have the <alloca.h> header file. */
73 /* Define to 1 if you have the <arpa/inet.h> header file. */
74 #undef HAVE_ARPA_INET_H
76 /* Define if BONE_VERSION is defined in sys/socket.h */
77 #undef HAVE_BONE_VERSION
79 /* Define to 1 if you have the <ByteOrder.h> header file. */
80 #undef HAVE_BYTEORDER_H
82 /* Define to 1 if you have the `calloc' function. */
85 /* Define to 1 if you have the <conio.h> header file. */
88 /* Define to 1 if you have the `create_area' function. */
89 #undef HAVE_CREATE_AREA
91 /* Define to 1 if you have the <crypt.h> header file. */
94 /* Define to 1 if you have the `crypt_r' function. */
97 /* Define to 1 if you have the <ctype.h> header file. */
100 /* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you
102 #undef HAVE_DECL_SYS_SIGLIST
104 /* Define to 1 if you have the <dirent.h> header file. */
107 /* Define to 1 if you have the <dir.h> header file. */
110 /* Define to 1 if you have the <dlfcn.h> header file. */
113 /* Define to 1 if you have the `dlopen' function. */
116 /* Define to 1 if you have the `dlsym' function. */
119 /* Define to 1 if you have the <dl.h> header file. */
122 /* Define if EGD is supported */
125 /* Define to 1 if you have the <errno.h> header file. */
128 /* Define to 1 if you have the <fcntl.h> header file. */
131 /* Define to 1 if you have the `flock' function. */
134 /* Define to 1 if you have the `fork' function. */
137 /* Define if fstat64 can be used */
140 /* Define if F_SETLK is defined in fcntl.h */
143 /* Define to 1 if you have the `gai_strerror' function. */
144 #undef HAVE_GAI_STRERROR
146 /* Define if getaddrinfo exists and works well enough for APR */
147 #undef HAVE_GETADDRINFO
149 /* Define to 1 if you have the `getenv' function. */
152 /* Define to 1 if you have the `getgrgid_r' function. */
153 #undef HAVE_GETGRGID_R
155 /* Define to 1 if you have the `getgrnam_r' function. */
156 #undef HAVE_GETGRNAM_R
158 /* Define to 1 if you have the `gethostbyaddr_r' function. */
159 #undef HAVE_GETHOSTBYADDR_R
161 /* Define to 1 if you have the `gethostbyname_r' function. */
162 #undef HAVE_GETHOSTBYNAME_R
164 /* Define if getnameinfo exists */
165 #undef HAVE_GETNAMEINFO
167 /* Define to 1 if you have the `getpass' function. */
170 /* Define to 1 if you have the `getpassphrase' function. */
171 #undef HAVE_GETPASSPHRASE
173 /* Define to 1 if you have the `getpwnam_r' function. */
174 #undef HAVE_GETPWNAM_R
176 /* Define to 1 if you have the `getpwuid_r' function. */
177 #undef HAVE_GETPWUID_R
179 /* Define to 1 if you have the `getrlimit' function. */
180 #undef HAVE_GETRLIMIT
182 /* Define to 1 if you have the `gmtime_r' function. */
185 /* Define if struct tm has a tm_gmtoff field */
188 /* Define to 1 if you have the <grp.h> header file. */
191 /* Define to 1 if you have the `hstrerror' function. */
192 #undef HAVE_HSTRERROR
194 /* Define to 1 if you have the <inttypes.h> header file. */
195 #undef HAVE_INTTYPES_H
197 /* Define to 1 if you have the <io.h> header file. */
200 /* Define to 1 if you have the `isinf' function. */
203 /* Define to 1 if you have the `isnan' function. */
206 /* Define to 1 if you have the <kernel/OS.h> header file. */
207 #undef HAVE_KERNEL_OS_H
209 /* Define to 1 if you have the <langinfo.h> header file. */
210 #undef HAVE_LANGINFO_H
212 /* Define to 1 if you have the `bsd' library (-lbsd). */
215 /* Define to 1 if you have the `nsl' library (-lnsl). */
218 /* Define to 1 if you have the `resolv' library (-lresolv). */
219 #undef HAVE_LIBRESOLV
221 /* Define to 1 if you have the `sendfile' library (-lsendfile). */
222 #undef HAVE_LIBSENDFILE
224 /* Define to 1 if you have the `socket' library (-lsocket). */
225 #undef HAVE_LIBSOCKET
227 /* Define to 1 if you have the `truerand' library (-ltruerand). */
228 #undef HAVE_LIBTRUERAND
230 /* Define to 1 if you have the <limits.h> header file. */
233 /* Define to 1 if you have the `localtime_r' function. */
234 #undef HAVE_LOCALTIME_R
236 /* Define if LOCK_EX is defined in sys/file.h */
239 /* Define to 1 if you have the <mach-o/dyld.h> header file. */
240 #undef HAVE_MACH_O_DYLD_H
242 /* Define to 1 if you have the <malloc.h> header file. */
245 /* Define if MAP_ANON is defined in sys/mman.h */
248 /* Define to 1 if you have the `memchr' function. */
251 /* Define to 1 if you have the `memmove' function. */
254 /* Define to 1 if you have the <memory.h> header file. */
257 /* Define to 1 if you have the `mkstemp' function. */
260 /* Define to 1 if you have the `mmap' function. */
263 /* Define to 1 if you have the `munmap' function. */
266 /* Define to 1 if you have the <netdb.h> header file. */
269 /* Define to 1 if you have the <netinet/in.h> header file. */
270 #undef HAVE_NETINET_IN_H
272 /* Define to 1 if you have the <netinet/sctp.h> header file. */
273 #undef HAVE_NETINET_SCTP_H
275 /* Define to 1 if you have the <netinet/sctp_uio.h> header file. */
276 #undef HAVE_NETINET_SCTP_UIO_H
278 /* Defined if netinet/tcp.h is present */
279 #undef HAVE_NETINET_TCP_H
281 /* Define to 1 if you have the <net/errno.h> header file. */
282 #undef HAVE_NET_ERRNO_H
284 /* Define to 1 if you have the `nl_langinfo' function. */
285 #undef HAVE_NL_LANGINFO
287 /* Define to 1 if you have the `NSLinkModule' function. */
288 #undef HAVE_NSLINKMODULE
290 /* Define to 1 if you have the <os2.h> header file. */
293 /* Define to 1 if you have the <osreldate.h> header file. */
294 #undef HAVE_OSRELDATE_H
296 /* Define to 1 if you have the `poll' function. */
299 /* Define if POLLIN is defined */
302 /* Define to 1 if you have the <poll.h> header file. */
305 /* Define to 1 if you have the <process.h> header file. */
306 #undef HAVE_PROCESS_H
308 /* Define to 1 if you have the <pthread.h> header file. */
309 #undef HAVE_PTHREAD_H
311 /* Define to 1 if you have the `pthread_key_delete' function. */
312 #undef HAVE_PTHREAD_KEY_DELETE
314 /* Define to 1 if you have the `pthread_mutexattr_setpshared' function. */
315 #undef HAVE_PTHREAD_MUTEXATTR_SETPSHARED
317 /* Define if recursive pthread mutexes are available */
318 #undef HAVE_PTHREAD_MUTEX_RECURSIVE
320 /* Define if cross-process robust mutexes are available */
321 #undef HAVE_PTHREAD_MUTEX_ROBUST
323 /* Define if PTHREAD_PROCESS_SHARED is defined in pthread.h */
324 #undef HAVE_PTHREAD_PROCESS_SHARED
326 /* Define if pthread rwlocks are available */
327 #undef HAVE_PTHREAD_RWLOCKS
329 /* Define to 1 if you have the `pthread_rwlock_init' function. */
330 #undef HAVE_PTHREAD_RWLOCK_INIT
332 /* Define to 1 if you have the `putenv' function. */
335 /* Define to 1 if you have the <pwd.h> header file. */
338 /* Define to 1 if you have the <semaphore.h> header file. */
339 #undef HAVE_SEMAPHORE_H
341 /* Define to 1 if you have the `semctl' function. */
344 /* Define to 1 if you have the `semget' function. */
347 /* Define to 1 if you have the `sem_close' function. */
348 #undef HAVE_SEM_CLOSE
350 /* Define to 1 if you have the `sem_post' function. */
353 /* Define if SEM_UNDO is defined in sys/sem.h */
356 /* Define to 1 if you have the `sem_unlink' function. */
357 #undef HAVE_SEM_UNLINK
359 /* Define to 1 if you have the `sem_wait' function. */
362 /* Define to 1 if you have the `sendfile' function. */
365 /* Define to 1 if you have the `sendfilev' function. */
366 #undef HAVE_SENDFILEV
368 /* Define to 1 if you have the `send_file' function. */
369 #undef HAVE_SEND_FILE
371 /* Define to 1 if you have the `setenv' function. */
374 /* Define to 1 if you have the `setrlimit' function. */
375 #undef HAVE_SETRLIMIT
377 /* Define to 1 if you have the `setsid' function. */
380 /* Define to 1 if you have the `set_h_errno' function. */
381 #undef HAVE_SET_H_ERRNO
383 /* Define to 1 if you have the `shmat' function. */
386 /* Define to 1 if you have the `shmctl' function. */
389 /* Define to 1 if you have the `shmdt' function. */
392 /* Define to 1 if you have the `shmget' function. */
395 /* Define to 1 if you have the `shm_open' function. */
398 /* Define to 1 if you have the `shm_unlink' function. */
399 #undef HAVE_SHM_UNLINK
401 /* Define to 1 if you have the `sigaction' function. */
402 #undef HAVE_SIGACTION
404 /* Define to 1 if you have the <signal.h> header file. */
407 /* Define to 1 if you have the `sigsuspend' function. */
408 #undef HAVE_SIGSUSPEND
410 /* Define to 1 if you have the `sigwait' function. */
413 /* Whether you have socklen_t */
414 #undef HAVE_SOCKLEN_T
416 /* Define if SO_ACCEPTFILTER is defined in sys/socket.h */
417 #undef HAVE_SO_ACCEPTFILTER
419 /* Define to 1 if you have the <stdarg.h> header file. */
422 /* Define to 1 if you have the <stddef.h> header file. */
425 /* Define to 1 if you have the <stdint.h> header file. */
428 /* Define to 1 if you have the <stdio.h> header file. */
431 /* Define to 1 if you have the <stdlib.h> header file. */
434 /* Define to 1 if you have the `strcasecmp' function. */
435 #undef HAVE_STRCASECMP
437 /* Define to 1 if you have the `strdup' function. */
440 /* Define to 1 if you have the `strerror_r' function. */
441 #undef HAVE_STRERROR_R
443 /* Define to 1 if you have the `stricmp' function. */
446 /* Define to 1 if you have the <strings.h> header file. */
447 #undef HAVE_STRINGS_H
449 /* Define to 1 if you have the <string.h> header file. */
452 /* Define to 1 if you have the `strncasecmp' function. */
453 #undef HAVE_STRNCASECMP
455 /* Define to 1 if you have the `strnicmp' function. */
458 /* Define to 1 if you have the `strstr' function. */
461 /* Define to 1 if you have the <sysapi.h> header file. */
464 /* Define to 1 if you have the <sysgtime.h> header file. */
465 #undef HAVE_SYSGTIME_H
467 /* Define to 1 if you have the <sys/file.h> header file. */
468 #undef HAVE_SYS_FILE_H
470 /* Define to 1 if you have the <sys/ioctl.h> header file. */
471 #undef HAVE_SYS_IOCTL_H
473 /* Define to 1 if you have the <sys/ipc.h> header file. */
474 #undef HAVE_SYS_IPC_H
476 /* Define to 1 if you have the <sys/mman.h> header file. */
477 #undef HAVE_SYS_MMAN_H
479 /* Define to 1 if you have the <sys/mutex.h> header file. */
480 #undef HAVE_SYS_MUTEX_H
482 /* Define to 1 if you have the <sys/poll.h> header file. */
483 #undef HAVE_SYS_POLL_H
485 /* Define to 1 if you have the <sys/resource.h> header file. */
486 #undef HAVE_SYS_RESOURCE_H
488 /* Define to 1 if you have the <sys/select.h> header file. */
489 #undef HAVE_SYS_SELECT_H
491 /* Define to 1 if you have the <sys/sem.h> header file. */
492 #undef HAVE_SYS_SEM_H
494 /* Define to 1 if you have the <sys/sendfile.h> header file. */
495 #undef HAVE_SYS_SENDFILE_H
497 /* Define to 1 if you have the <sys/shm.h> header file. */
498 #undef HAVE_SYS_SHM_H
500 /* Define to 1 if you have the <sys/signal.h> header file. */
501 #undef HAVE_SYS_SIGNAL_H
503 /* Define to 1 if you have the <sys/socket.h> header file. */
504 #undef HAVE_SYS_SOCKET_H
506 /* Define to 1 if you have the <sys/sockio.h> header file. */
507 #undef HAVE_SYS_SOCKIO_H
509 /* Define to 1 if you have the <sys/stat.h> header file. */
510 #undef HAVE_SYS_STAT_H
512 /* Define to 1 if you have the <sys/sysctl.h> header file. */
513 #undef HAVE_SYS_SYSCTL_H
515 /* Define to 1 if you have the <sys/syslimits.h> header file. */
516 #undef HAVE_SYS_SYSLIMITS_H
518 /* Define to 1 if you have the <sys/time.h> header file. */
519 #undef HAVE_SYS_TIME_H
521 /* Define to 1 if you have the <sys/types.h> header file. */
522 #undef HAVE_SYS_TYPES_H
524 /* Define to 1 if you have the <sys/uio.h> header file. */
525 #undef HAVE_SYS_UIO_H
527 /* Define to 1 if you have the <sys/un.h> header file. */
530 /* Define to 1 if you have the <sys/wait.h> header file. */
531 #undef HAVE_SYS_WAIT_H
533 /* Define if TCP_CORK is defined in netinet/tcp.h */
536 /* Define if TCP_NOPUSH is defined in netinet/tcp.h */
537 #undef HAVE_TCP_NOPUSH
539 /* Define to 1 if you have the <termios.h> header file. */
540 #undef HAVE_TERMIOS_H
542 /* Define to 1 if you have the <time.h> header file. */
545 /* Define to 1 if you have the <tpfeq.h> header file. */
548 /* Define to 1 if you have the <tpfio.h> header file. */
551 /* Define if truerand is supported */
554 /* Define to 1 if you have the <unistd.h> header file. */
557 /* Define to 1 if you have the <unix.h> header file. */
560 /* Define to 1 if you have the `unsetenv' function. */
563 /* Define to 1 if you have the `utime' function. */
566 /* Define to 1 if you have the `utimes' function. */
569 /* Define if C compiler supports VLA */
572 /* Define to 1 if you have the `waitpid' function. */
575 /* Define to 1 if you have the `writev' function. */
578 /* Define if EAI_ error codes from getaddrinfo are negative */
581 /* Define to the address where bug reports for this package should be sent. */
582 #undef PACKAGE_BUGREPORT
584 /* Define to the full name of this package. */
587 /* Define to the full name and version of this package. */
588 #undef PACKAGE_STRING
590 /* Define to the one symbol short name of this package. */
591 #undef PACKAGE_TARNAME
593 /* Define to the version of this package. */
594 #undef PACKAGE_VERSION
596 /* Define if POSIX semaphores affect threads within the process */
597 #undef POSIXSEM_IS_GLOBAL
599 /* Define if pthread_attr_getdetachstate() has one arg */
600 #undef PTHREAD_ATTR_GETDETACHSTATE_TAKES_ONE_ARG
602 /* Define if pthread_getspecific() has two args */
603 #undef PTHREAD_GETSPECIFIC_TAKES_TWO_ARGS
605 /* Define if readdir is thread safe */
606 #undef READDIR_IS_THREAD_SAFE
608 /* Define if resolv.h's res_state has the fields retrans/rety */
609 #undef RESOLV_RETRANSRETRY
611 /* Define to 1 if the `setpgrp' function takes no argument. */
615 #undef SIGWAIT_TAKES_ONE_ARG
617 /* The size of `char', as computed by sizeof. */
620 /* The size of `int', as computed by sizeof. */
623 /* The size of `long', as computed by sizeof. */
626 /* The size of `long double', as computed by sizeof. */
627 #undef SIZEOF_LONG_DOUBLE
629 /* The size of `long long', as computed by sizeof. */
630 #undef SIZEOF_LONG_LONG
632 /* The size of off_t */
635 /* The size of pid_t */
638 /* The size of `short', as computed by sizeof. */
641 /* The size of size_t */
644 /* The size of ssize_t */
645 #undef SIZEOF_SSIZE_T
647 /* The size of `void*', as computed by sizeof. */
650 /* Define to 1 if you have the ANSI C header files. */
653 /* Define if strerror returns int */
654 #undef STRERROR_R_RC_INT
656 /* Define if SysV semaphores affect threads within the process */
657 #undef SYSVSEM_IS_GLOBAL
659 /* Enable extensions on AIX 3, Interix. */
663 /* Enable GNU extensions on systems that have them. */
667 /* Enable threading extensions on Solaris. */
668 #ifndef _POSIX_PTHREAD_SEMANTICS
669 # undef _POSIX_PTHREAD_SEMANTICS
671 /* Enable extensions on HP NonStop. */
672 #ifndef _TANDEM_SOURCE
673 # undef _TANDEM_SOURCE
675 /* Enable general extensions on Solaris. */
676 #ifndef __EXTENSIONS__
677 # undef __EXTENSIONS__
681 /* Define if APR supports threads */
684 /* Define to 1 if on MINIX. */
687 /* Define to 2 if the system does not provide POSIX.1 features except with
689 #undef _POSIX_1_SOURCE
691 /* Define to 1 if you need to in order for `stat' and other things to work. */
694 /* Define to empty if `const' does not conform to ANSI C. */
697 /* Define to `int' if <sys/types.h> doesn't define. */
700 /* Define to `__inline__' or `__inline' if that's what the C compiler
701 calls it, or to nothing if 'inline' is not supported under any name. */
706 /* Define to `long int' if <sys/types.h> does not define. */
709 /* Define to `int' if <sys/types.h> does not define. */
712 /* Define to `unsigned int' if <sys/types.h> does not define. */
715 /* Define to `int' if <sys/types.h> does not define. */
718 /* Define to `int' if <sys/types.h> doesn't define. */
721 /* Make sure we have ssize_t defined to be something */
724 /* switch this on if we have a BeOS version below BONE */
725 #if BEOS && !HAVE_BONE_VERSION
731 #ifdef SIGWAIT_TAKES_ONE_ARG
732 #define apr_sigwait(a,b) ((*(b)=sigwait((a)))<0?-1:0)
734 #define apr_sigwait(a,b) sigwait((a),(b))
738 * Include common private declarations.
740 #include "../apr_private_common.h"
742 #endif /* APR_PRIVATE_H */