1
/* include/arch/unix/apr_private.h.in. Generated from configure.in by autoheader. */
3
/* Define as function which can be used for conversion of strings to
7
/* Define as function used for conversion of strings to apr_off_t */
10
/* Define to path of random device */
13
/* Define if struct dirent has an inode member */
16
/* Define if struct dirent has a d_type member */
19
/* Define if DSO support uses dlfcn.h */
22
/* Define if DSO support uses dyld.h */
25
/* Define if DSO support uses shl_load */
28
/* Define to list of paths to EGD sockets */
29
#undef EGD_DEFAULT_SOCKET
31
/* Define if fcntl locks affect threads within the process */
32
#undef FCNTL_IS_GLOBAL
34
/* Define if flock locks affect threads within the process */
35
#undef FLOCK_IS_GLOBAL
37
/* Define if gethostbyaddr is thread safe */
38
#undef GETHOSTBYADDR_IS_THREAD_SAFE
40
/* Define if gethostbyname is thread safe */
41
#undef GETHOSTBYNAME_IS_THREAD_SAFE
43
/* Define if gethostbyname_r has the glibc style */
44
#undef GETHOSTBYNAME_R_GLIBC2
46
/* Define if gethostbyname_r has the hostent_data for the third argument */
47
#undef GETHOSTBYNAME_R_HOSTENT_DATA
49
/* Define to 1 if you have the `alloca' function. */
52
/* Define to 1 if you have the <alloca.h> header file. */
55
/* Define to 1 if you have the <arpa/inet.h> header file. */
56
#undef HAVE_ARPA_INET_H
58
/* Define if BONE_VERSION is defined in sys/socket.h */
59
#undef HAVE_BONE_VERSION
61
/* Define to 1 if you have the <ByteOrder.h> header file. */
62
#undef HAVE_BYTEORDER_H
64
/* Define to 1 if you have the `calloc' function. */
67
/* Define to 1 if you have the <conio.h> header file. */
70
/* Define to 1 if you have the `create_area' function. */
71
#undef HAVE_CREATE_AREA
73
/* Define to 1 if you have the `create_sem' function. */
74
#undef HAVE_CREATE_SEM
76
/* Define to 1 if you have the <crypt.h> header file. */
79
/* Define to 1 if you have the <ctype.h> header file. */
82
/* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you
84
#undef HAVE_DECL_SYS_SIGLIST
86
/* Define to 1 if you have the <dirent.h> header file. */
89
/* Define to 1 if you have the <dir.h> header file. */
92
/* Define to 1 if you have the <dlfcn.h> header file. */
95
/* Define to 1 if you have the <dl.h> header file. */
98
/* Define if EGD is supported */
101
/* Define if the epoll interface is supported */
104
/* Define to 1 if you have the <errno.h> header file. */
107
/* Define to 1 if you have the <fcntl.h> header file. */
110
/* Define to 1 if you have the `flock' function. */
113
/* Define to 1 if you have the `fork' function. */
116
/* Define if F_SETLK is defined in fcntl.h */
119
/* Define if getaddrinfo accepts the AI_ADDRCONFIG flag */
120
#undef HAVE_GAI_ADDRCONFIG
122
/* Define to 1 if you have the `gai_strerror' function. */
123
#undef HAVE_GAI_STRERROR
125
/* Define if getaddrinfo exists and works well enough for APR */
126
#undef HAVE_GETADDRINFO
128
/* Define to 1 if you have the `getenv' function. */
131
/* Define to 1 if you have the `getgrgid_r' function. */
132
#undef HAVE_GETGRGID_R
134
/* Define to 1 if you have the `getgrnam_r' function. */
135
#undef HAVE_GETGRNAM_R
137
/* Define to 1 if you have the `gethostbyaddr_r' function. */
138
#undef HAVE_GETHOSTBYADDR_R
140
/* Define to 1 if you have the `gethostbyname_r' function. */
141
#undef HAVE_GETHOSTBYNAME_R
143
/* Define to 1 if you have the `getifaddrs' function. */
144
#undef HAVE_GETIFADDRS
146
/* Define if getnameinfo exists */
147
#undef HAVE_GETNAMEINFO
149
/* Define to 1 if you have the `getpass' function. */
152
/* Define to 1 if you have the `getpassphrase' function. */
153
#undef HAVE_GETPASSPHRASE
155
/* Define to 1 if you have the `getpwnam_r' function. */
156
#undef HAVE_GETPWNAM_R
158
/* Define to 1 if you have the `getpwuid_r' function. */
159
#undef HAVE_GETPWUID_R
161
/* Define to 1 if you have the `getrlimit' function. */
162
#undef HAVE_GETRLIMIT
164
/* Define to 1 if you have the `gmtime_r' function. */
167
/* Define to 1 if you have the <grp.h> header file. */
170
/* Define if hstrerror is present */
171
#undef HAVE_HSTRERROR
173
/* Define to 1 if you have the <inttypes.h> header file. */
174
#undef HAVE_INTTYPES_H
176
/* Define to 1 if you have the <io.h> header file. */
179
/* Define to 1 if you have the `isinf' function. */
182
/* Define to 1 if you have the `isnan' function. */
185
/* Define to 1 if you have the <kernel/OS.h> header file. */
186
#undef HAVE_KERNEL_OS_H
188
/* Define to 1 if you have the `kqueue' function. */
191
/* Define to 1 if you have the <langinfo.h> header file. */
192
#undef HAVE_LANGINFO_H
194
/* Define to 1 if you have the `bsd' library (-lbsd). */
197
/* Define to 1 if you have the `sendfile' library (-lsendfile). */
198
#undef HAVE_LIBSENDFILE
200
/* Define to 1 if you have the `truerand' library (-ltruerand). */
201
#undef HAVE_LIBTRUERAND
203
/* Define to 1 if you have the <limits.h> header file. */
206
/* Define to 1 if you have the `localtime_r' function. */
207
#undef HAVE_LOCALTIME_R
209
/* Define if LOCK_EX is defined in sys/file.h */
212
/* Define to 1 if you have the <mach-o/dyld.h> header file. */
213
#undef HAVE_MACH_O_DYLD_H
215
/* Define to 1 if you have the <malloc.h> header file. */
218
/* Define if MAP_ANON is defined in sys/mman.h */
221
/* Define to 1 if you have the `memchr' function. */
224
/* Define to 1 if you have the `memmove' function. */
227
/* Define to 1 if you have the <memory.h> header file. */
230
/* Define to 1 if you have the `mkstemp' function. */
233
/* Define to 1 if you have the `mkstemp64' function. */
234
#undef HAVE_MKSTEMP64
236
/* Define to 1 if you have the `mmap' function. */
239
/* Define to 1 if you have the `mmap64' function. */
242
/* Define to 1 if you have the `munmap' function. */
245
/* Define to 1 if you have the <netdb.h> header file. */
248
/* Define to 1 if you have the <netinet/in.h> header file. */
249
#undef HAVE_NETINET_IN_H
251
/* Define to 1 if you have the <netinet/sctp.h> header file. */
252
#undef HAVE_NETINET_SCTP_H
254
/* Define to 1 if you have the <netinet/sctp_uio.h> header file. */
255
#undef HAVE_NETINET_SCTP_UIO_H
257
/* Defined if netinet/tcp.h is present */
258
#undef HAVE_NETINET_TCP_H
260
/* Define to 1 if you have the <net/errno.h> header file. */
261
#undef HAVE_NET_ERRNO_H
263
/* Define to 1 if you have the `nl_langinfo' function. */
264
#undef HAVE_NL_LANGINFO
266
/* Define to 1 if you have the <os2.h> header file. */
269
/* Define to 1 if you have the <osreldate.h> header file. */
270
#undef HAVE_OSRELDATE_H
272
/* Define to 1 if you have the <OS.h> header file. */
275
/* Define to 1 if you have the `poll' function. */
278
/* Define if POLLIN is defined */
281
/* Define to 1 if you have the <poll.h> header file. */
284
/* Define to 1 if you have the `port_create' function. */
285
#undef HAVE_PORT_CREATE
287
/* Define to 1 if you have the <process.h> header file. */
288
#undef HAVE_PROCESS_H
290
/* Define to 1 if you have the `pthread_attr_setguardsize' function. */
291
#undef HAVE_PTHREAD_ATTR_SETGUARDSIZE
293
/* Define to 1 if you have the <pthread.h> header file. */
294
#undef HAVE_PTHREAD_H
296
/* Define to 1 if you have the `pthread_key_delete' function. */
297
#undef HAVE_PTHREAD_KEY_DELETE
299
/* Define to 1 if you have the `pthread_mutexattr_setpshared' function. */
300
#undef HAVE_PTHREAD_MUTEXATTR_SETPSHARED
302
/* Define if recursive pthread mutexes are available */
303
#undef HAVE_PTHREAD_MUTEX_RECURSIVE
305
/* Define if cross-process robust mutexes are available */
306
#undef HAVE_PTHREAD_MUTEX_ROBUST
308
/* Define if PTHREAD_PROCESS_SHARED is defined in pthread.h */
309
#undef HAVE_PTHREAD_PROCESS_SHARED
311
/* Define if pthread rwlocks are available */
312
#undef HAVE_PTHREAD_RWLOCKS
314
/* Define to 1 if you have the `pthread_rwlock_init' function. */
315
#undef HAVE_PTHREAD_RWLOCK_INIT
317
/* Define to 1 if you have the `putenv' function. */
320
/* Define to 1 if you have the <pwd.h> header file. */
323
/* Define to 1 if you have the <semaphore.h> header file. */
324
#undef HAVE_SEMAPHORE_H
326
/* Define to 1 if you have the `semctl' function. */
329
/* Define to 1 if you have the `semget' function. */
332
/* Define to 1 if you have the `sem_close' function. */
333
#undef HAVE_SEM_CLOSE
335
/* Define to 1 if you have the `sem_post' function. */
338
/* Define if SEM_UNDO is defined in sys/sem.h */
341
/* Define to 1 if you have the `sem_unlink' function. */
342
#undef HAVE_SEM_UNLINK
344
/* Define to 1 if you have the `sem_wait' function. */
347
/* Define to 1 if you have the `sendfile' function. */
350
/* Define to 1 if you have the `sendfile64' function. */
351
#undef HAVE_SENDFILE64
353
/* Define to 1 if you have the `sendfilev' function. */
354
#undef HAVE_SENDFILEV
356
/* Define to 1 if you have the `sendfilev64' function. */
357
#undef HAVE_SENDFILEV64
359
/* Define to 1 if you have the `send_file' function. */
360
#undef HAVE_SEND_FILE
362
/* Define to 1 if you have the `setenv' function. */
365
/* Define to 1 if you have the `setrlimit' function. */
366
#undef HAVE_SETRLIMIT
368
/* Define to 1 if you have the `setsid' function. */
371
/* Define to 1 if you have the `set_h_errno' function. */
372
#undef HAVE_SET_H_ERRNO
374
/* Define to 1 if you have the `shmat' function. */
377
/* Define to 1 if you have the `shmctl' function. */
380
/* Define to 1 if you have the `shmdt' function. */
383
/* Define to 1 if you have the `shmget' function. */
386
/* Define to 1 if you have the `shm_open' function. */
389
/* Define to 1 if you have the `shm_unlink' function. */
390
#undef HAVE_SHM_UNLINK
392
/* Define to 1 if you have the `sigaction' function. */
393
#undef HAVE_SIGACTION
395
/* Define to 1 if you have the <signal.h> header file. */
398
/* Define to 1 if you have the `sigsuspend' function. */
399
#undef HAVE_SIGSUSPEND
401
/* Define to 1 if you have the `sigwait' function. */
404
/* Whether you have socklen_t */
405
#undef HAVE_SOCKLEN_T
407
/* Define if SO_ACCEPTFILTER is defined in sys/socket.h */
408
#undef HAVE_SO_ACCEPTFILTER
410
/* Define to 1 if you have the <stdarg.h> header file. */
413
/* Define to 1 if you have the <stddef.h> header file. */
416
/* Define to 1 if you have the <stdint.h> header file. */
419
/* Define to 1 if you have the <stdio.h> header file. */
422
/* Define to 1 if you have the <stdlib.h> header file. */
425
/* Define to 1 if you have the `strcasecmp' function. */
426
#undef HAVE_STRCASECMP
428
/* Define to 1 if you have the `strdup' function. */
431
/* Define to 1 if you have the `strerror_r' function. */
432
#undef HAVE_STRERROR_R
434
/* Define to 1 if you have the `stricmp' function. */
437
/* Define to 1 if you have the <strings.h> header file. */
438
#undef HAVE_STRINGS_H
440
/* Define to 1 if you have the <string.h> header file. */
443
/* Define to 1 if you have the `strncasecmp' function. */
444
#undef HAVE_STRNCASECMP
446
/* Define to 1 if you have the `strnicmp' function. */
449
/* Define to 1 if you have the `strstr' function. */
452
/* Define if struct impreq was found */
453
#undef HAVE_STRUCT_IPMREQ
455
/* Define to 1 if `tm_gmtoff' is member of `struct tm'. */
456
#undef HAVE_STRUCT_TM_TM_GMTOFF
458
/* Define to 1 if `__tm_gmtoff' is member of `struct tm'. */
459
#undef HAVE_STRUCT_TM___TM_GMTOFF
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/uuid.h> header file. */
531
#undef HAVE_SYS_UUID_H
533
/* Define to 1 if you have the <sys/wait.h> header file. */
534
#undef HAVE_SYS_WAIT_H
536
/* Define if TCP_CORK is defined in netinet/tcp.h */
539
/* Define if TCP_NODELAY and TCP_CORK can be enabled at the same time */
540
#undef HAVE_TCP_NODELAY_WITH_CORK
542
/* Define if TCP_NOPUSH is defined in netinet/tcp.h */
543
#undef HAVE_TCP_NOPUSH
545
/* Define to 1 if you have the <termios.h> header file. */
546
#undef HAVE_TERMIOS_H
548
/* Define to 1 if you have the <time.h> header file. */
551
/* Define to 1 if you have the <tpfeq.h> header file. */
554
/* Define to 1 if you have the <tpfio.h> header file. */
557
/* Define if truerand is supported */
560
/* Define to 1 if you have the <unistd.h> header file. */
563
/* Define to 1 if you have the <unix.h> header file. */
566
/* Define to 1 if you have the `unsetenv' function. */
569
/* Define to 1 if you have the `utime' function. */
572
/* Define to 1 if you have the `utimes' function. */
575
/* Define to 1 if you have the `uuid_create' function. */
576
#undef HAVE_UUID_CREATE
578
/* Define to 1 if you have the `uuid_generate' function. */
579
#undef HAVE_UUID_GENERATE
581
/* Define to 1 if you have the <uuid.h> header file. */
584
/* Define to 1 if you have the <uuid/uuid.h> header file. */
585
#undef HAVE_UUID_UUID_H
587
/* Define if C compiler supports VLA */
590
/* Define to 1 if you have the `waitpid' function. */
593
/* Define to 1 if you have the `writev' function. */
596
/* Define if EAI_ error codes from getaddrinfo are negative */
599
/* Define to the address where bug reports for this package should be sent. */
600
#undef PACKAGE_BUGREPORT
602
/* Define to the full name of this package. */
605
/* Define to the full name and version of this package. */
606
#undef PACKAGE_STRING
608
/* Define to the one symbol short name of this package. */
609
#undef PACKAGE_TARNAME
611
/* Define to the version of this package. */
612
#undef PACKAGE_VERSION
614
/* Define if POSIX semaphores affect threads within the process */
615
#undef POSIXSEM_IS_GLOBAL
617
/* Define if pthread_attr_getdetachstate() has one arg */
618
#undef PTHREAD_ATTR_GETDETACHSTATE_TAKES_ONE_ARG
620
/* Define if pthread_getspecific() has two args */
621
#undef PTHREAD_GETSPECIFIC_TAKES_TWO_ARGS
623
/* Define if readdir is thread safe */
624
#undef READDIR_IS_THREAD_SAFE
626
/* Define to 1 if the `setpgrp' function takes no argument. */
630
#undef SIGWAIT_TAKES_ONE_ARG
632
/* The size of a `char', as computed by sizeof. */
635
/* The size of a `int', as computed by sizeof. */
638
/* The size of a `long', as computed by sizeof. */
641
/* The size of a `long long', as computed by sizeof. */
642
#undef SIZEOF_LONG_LONG
644
/* The size of off_t */
647
/* The size of pid_t */
650
/* The size of a `short', as computed by sizeof. */
653
/* The size of size_t */
656
/* The size of ssize_t */
657
#undef SIZEOF_SSIZE_T
659
/* The size of a `void*', as computed by sizeof. */
662
/* Define to 1 if you have the ANSI C header files. */
665
/* Define if strerror returns int */
666
#undef STRERROR_R_RC_INT
668
/* Define if SysV semaphores affect threads within the process */
669
#undef SYSVSEM_IS_GLOBAL
671
/* Define if BeOS Semaphores will be used */
674
/* Define if SVR4-style fcntl() will be used */
675
#undef USE_FCNTL_SERIALIZE
677
/* Define if 4.2BSD-style flock() will be used */
678
#undef USE_FLOCK_SERIALIZE
680
/* Define if use of generic atomics is requested */
681
#undef USE_GENERIC_ATOMICS
683
/* Define if BeOS areas will be used */
684
#undef USE_SHMEM_BEOS
686
/* Define if BeOS areas will be used */
687
#undef USE_SHMEM_BEOS_ANON
689
/* Define if 4.4BSD-style mmap() via MAP_ANON will be used */
690
#undef USE_SHMEM_MMAP_ANON
692
/* Define if mmap() via POSIX.1 shm_open() on temporary file will be used */
693
#undef USE_SHMEM_MMAP_SHM
695
/* Define if Classical mmap() on temporary file will be used */
696
#undef USE_SHMEM_MMAP_TMP
698
/* Define if SVR4-style mmap() on /dev/zero will be used */
699
#undef USE_SHMEM_MMAP_ZERO
701
/* Define if OS/2 DosAllocSharedMem() will be used */
704
/* Define if OS/2 DosAllocSharedMem() will be used */
705
#undef USE_SHMEM_OS2_ANON
707
/* Define if SysV IPC shmget() will be used */
708
#undef USE_SHMEM_SHMGET
710
/* Define if SysV IPC shmget() will be used */
711
#undef USE_SHMEM_SHMGET_ANON
713
/* Define if SysV IPC semget() will be used */
714
#undef USE_SYSVSEM_SERIALIZE
716
/* Define if apr_wait_for_io_or_timeout() uses poll(2) */
717
#undef WAITIO_USES_POLL
719
/* Define to 1 if your processor stores words with the most significant byte
720
first (like Motorola and SPARC, unlike Intel and VAX). */
721
#undef WORDS_BIGENDIAN
723
/* Define to 1 if on AIX 3.
724
System headers sometimes define this.
725
We just want to avoid a redefinition error message. */
730
/* Define to 1 if on MINIX. */
733
/* Define to 2 if the system does not provide POSIX.1 features except with
735
#undef _POSIX_1_SOURCE
737
/* Define to 1 if you need to in order for `stat' and other things to work. */
740
/* Define to empty if `const' does not conform to ANSI C. */
743
/* Define to `int' if <sys/types.h> doesn't define. */
746
/* Define to `__inline__' or `__inline' if that's what the C compiler
747
calls it, or to nothing if 'inline' is not supported under any name. */
752
/* Define to `long' if <sys/types.h> does not define. */
755
/* Define to `int' if <sys/types.h> does not define. */
758
/* Define to `unsigned' if <sys/types.h> does not define. */
761
/* Define to `int' if <sys/types.h> does not define. */
764
/* Define to `int' if <sys/types.h> doesn't define. */
768
/* switch this on if we have a BeOS version below BONE */
769
#if BEOS && !HAVE_BONE_VERSION
776
* Include common private declarations.
778
#include "../apr_private_common.h"