1 /* orconfig.h.in. Generated from configure.ac by autoheader. */
3 /* Define if building universal (internal helper macro) */
4 #undef AC_APPLE_UNIVERSAL_BUILD
6 /* tor's build directory */
9 /* tor's configuration directory */
12 /* Defined if we have a curve25519 implementation */
13 #undef CURVE25519_ENABLED
15 /* Define to 1 iff memset(0) sets doubles to 0.0 */
16 #undef DOUBLE_0_REP_IS_ZERO_BYTES
18 /* Defined if we try to use freelists for buffer RAM chunks */
19 #undef ENABLE_BUF_FREELISTS
21 /* Defined if we default to host local appdata paths on Windows */
22 #undef ENABLE_LOCAL_APPDATA
24 /* Defined if we try to use mempools for cells being relayed */
25 #undef ENABLE_MEMPOOLS
27 /* Defined if we will try to use multithreading */
30 /* Define if enum is always signed */
31 #undef ENUM_VALS_ARE_SIGNED
33 /* Define to nothing if C supports flexible array members, and to 1 if it does
34 not. That way, with a declaration like `struct s { int n; double
35 d[FLEXIBLE_ARRAY_MEMBER]; };', the struct hack can be used with pre-C99
36 compilers. When computing the size of such an object, don't use 'sizeof
37 (struct s)' as it overestimates the size. Use 'offsetof (struct s, d)'
38 instead. Don't use 'offsetof (struct s, d[0])', as this doesn't work with
39 MSVC and with C++ compilers. */
40 #undef FLEXIBLE_ARRAY_MEMBER
42 /* Define to 1 if you have the `accept4' function. */
45 /* Define to 1 if you have the <arpa/inet.h> header file. */
46 #undef HAVE_ARPA_INET_H
48 /* Define to 1 if you have the <assert.h> header file. */
51 /* Define to 1 if you have the `backtrace' function. */
54 /* Define to 1 if you have the `backtrace_symbols_fd' function. */
55 #undef HAVE_BACKTRACE_SYMBOLS_FD
57 /* Define to 1 if you have the `clock_gettime' function. */
58 #undef HAVE_CLOCK_GETTIME
60 /* Define to 1 if you have the <crt_externs.h> header file. */
61 #undef HAVE_CRT_EXTERNS_H
63 /* Define to 1 if you have the <crypto_scalarmult_curve25519.h> header file.
65 #undef HAVE_CRYPTO_SCALARMULT_CURVE25519_H
67 /* Define to 1 if you have the <cygwin/signal.h> header file. */
68 #undef HAVE_CYGWIN_SIGNAL_H
70 /* Define to 1 if you have the declaration of `mlockall', and to 0 if you
72 #undef HAVE_DECL_MLOCKALL
74 /* Define to 1 if you have the <dmalloc.h> header file. */
77 /* Define to 1 if you have the `dmalloc_strdup' function. */
78 #undef HAVE_DMALLOC_STRDUP
80 /* Define to 1 if you have the `dmalloc_strndup' function. */
81 #undef HAVE_DMALLOC_STRNDUP
83 /* Define to 1 if you have the <errno.h> header file. */
86 /* Define to 1 if you have the <event2/bufferevent_ssl.h> header file. */
87 #undef HAVE_EVENT2_BUFFEREVENT_SSL_H
89 /* Define to 1 if you have the <event2/dns.h> header file. */
90 #undef HAVE_EVENT2_DNS_H
92 /* Define to 1 if you have the <event2/event.h> header file. */
93 #undef HAVE_EVENT2_EVENT_H
95 /* Define to 1 if you have the `event_base_loopexit' function. */
96 #undef HAVE_EVENT_BASE_LOOPEXIT
98 /* Define to 1 if you have the `event_get_method' function. */
99 #undef HAVE_EVENT_GET_METHOD
101 /* Define to 1 if you have the `event_get_version' function. */
102 #undef HAVE_EVENT_GET_VERSION
104 /* Define to 1 if you have the `event_get_version_number' function. */
105 #undef HAVE_EVENT_GET_VERSION_NUMBER
107 /* Define to 1 if you have the `event_set_log_callback' function. */
108 #undef HAVE_EVENT_SET_LOG_CALLBACK
110 /* Define to 1 if you have the `evutil_secure_rng_init' function. */
111 #undef HAVE_EVUTIL_SECURE_RNG_INIT
113 /* Define to 1 if you have the `evutil_secure_rng_set_urandom_device_file'
115 #undef HAVE_EVUTIL_SECURE_RNG_SET_URANDOM_DEVICE_FILE
117 /* Define to 1 if you have the <execinfo.h> header file. */
118 #undef HAVE_EXECINFO_H
120 /* Defined if we have extern char **environ already declared */
121 #undef HAVE_EXTERN_ENVIRON_DECLARED
123 /* Define to 1 if you have the <fcntl.h> header file. */
126 /* Define to 1 if you have the `flock' function. */
129 /* Define to 1 if you have the `ftime' function. */
132 /* Define to 1 if you have the `getaddrinfo' function. */
133 #undef HAVE_GETADDRINFO
135 /* Define this if you have any gethostbyname_r() */
136 #undef HAVE_GETHOSTBYNAME_R
138 /* Define this if gethostbyname_r takes 3 arguments */
139 #undef HAVE_GETHOSTBYNAME_R_3_ARG
141 /* Define this if gethostbyname_r takes 5 arguments */
142 #undef HAVE_GETHOSTBYNAME_R_5_ARG
144 /* Define this if gethostbyname_r takes 6 arguments */
145 #undef HAVE_GETHOSTBYNAME_R_6_ARG
147 /* Define to 1 if you have the `getifaddrs' function. */
148 #undef HAVE_GETIFADDRS
150 /* Define to 1 if you have the `getresgid' function. */
151 #undef HAVE_GETRESGID
153 /* Define to 1 if you have the `getresuid' function. */
154 #undef HAVE_GETRESUID
156 /* Define to 1 if you have the `getrlimit' function. */
157 #undef HAVE_GETRLIMIT
159 /* Define to 1 if you have the `gettimeofday' function. */
160 #undef HAVE_GETTIMEOFDAY
162 /* Define to 1 if you have the `gmtime_r' function. */
165 /* Define to 1 if you have the <grp.h> header file. */
168 /* Define to 1 if you have the <ifaddrs.h> header file. */
169 #undef HAVE_IFADDRS_H
171 /* Define to 1 if you have the `inet_aton' function. */
172 #undef HAVE_INET_ATON
174 /* Define to 1 if you have the <inttypes.h> header file. */
175 #undef HAVE_INTTYPES_H
177 /* Define to 1 if you have the `ioctl' function. */
180 /* Define to 1 if you have the `issetugid' function. */
181 #undef HAVE_ISSETUGID
183 /* Define to 1 if you have the <limits.h> header file. */
186 /* Define to 1 if you have the <linux/netfilter_ipv4.h> header file. */
187 #undef HAVE_LINUX_NETFILTER_IPV4_H
189 /* Define to 1 if you have the <linux/types.h> header file. */
190 #undef HAVE_LINUX_TYPES_H
192 /* Define to 1 if you have the `llround' function. */
195 /* Define to 1 if you have the `localtime_r' function. */
196 #undef HAVE_LOCALTIME_R
198 /* Define to 1 if you have the `lround' function. */
201 /* Define to 1 if you have the <machine/limits.h> header file. */
202 #undef HAVE_MACHINE_LIMITS_H
204 /* Defined if the compiler supports __FUNCTION__ */
205 #undef HAVE_MACRO__FUNCTION__
207 /* Defined if the compiler supports __FUNC__ */
208 #undef HAVE_MACRO__FUNC__
210 /* Defined if the compiler supports __func__ */
211 #undef HAVE_MACRO__func__
213 /* Define to 1 if you have the `mallinfo' function. */
216 /* Define to 1 if you have the <malloc.h> header file. */
219 /* Define to 1 if you have the <malloc/malloc.h> header file. */
220 #undef HAVE_MALLOC_MALLOC_H
222 /* Define to 1 if you have the <malloc_np.h> header file. */
223 #undef HAVE_MALLOC_NP_H
225 /* Define to 1 if you have the `memmem' function. */
228 /* Define to 1 if you have the <memory.h> header file. */
231 /* Define to 1 if you have the `mlockall' function. */
234 /* Define to 1 if you have the <nacl/crypto_scalarmult_curve25519.h> header
236 #undef HAVE_NACL_CRYPTO_SCALARMULT_CURVE25519_H
238 /* Define to 1 if you have the <netdb.h> header file. */
241 /* Define to 1 if you have the <netinet/in6.h> header file. */
242 #undef HAVE_NETINET_IN6_H
244 /* Define to 1 if you have the <netinet/in.h> header file. */
245 #undef HAVE_NETINET_IN_H
247 /* Define to 1 if you have the <net/if.h> header file. */
250 /* Define to 1 if you have the <net/pfvar.h> header file. */
251 #undef HAVE_NET_PFVAR_H
253 /* Define to 1 if you have the `prctl' function. */
256 /* Define to 1 if you have the `pthread_create' function. */
257 #undef HAVE_PTHREAD_CREATE
259 /* Define to 1 if you have the <pthread.h> header file. */
260 #undef HAVE_PTHREAD_H
262 /* Define to 1 if you have the <pwd.h> header file. */
265 /* Define to 1 if you have the `rint' function. */
268 /* Define to 1 if the system has the type `rlim_t'. */
271 /* Define to 1 if the system has the type `sa_family_t'. */
272 #undef HAVE_SA_FAMILY_T
274 /* Define to 1 if you have the <seccomp.h> header file. */
275 #undef HAVE_SECCOMP_H
277 /* Define to 1 if you have the `sigaction' function. */
278 #undef HAVE_SIGACTION
280 /* Define to 1 if you have the <signal.h> header file. */
283 /* Define to 1 if you have the `socketpair' function. */
284 #undef HAVE_SOCKETPAIR
286 /* Define to 1 if the system has the type `ssize_t'. */
289 /* Define to 1 if you have the <stdint.h> header file. */
292 /* Define to 1 if you have the <stdlib.h> header file. */
295 /* Define to 1 if you have the <strings.h> header file. */
296 #undef HAVE_STRINGS_H
298 /* Define to 1 if you have the <string.h> header file. */
301 /* Define to 1 if you have the `strlcat' function. */
304 /* Define to 1 if you have the `strlcpy' function. */
307 /* Define to 1 if you have the `strptime' function. */
310 /* Define to 1 if you have the `strtok_r' function. */
313 /* Define to 1 if you have the `strtoull' function. */
316 /* Define to 1 if `min_heap_idx' is a member of `struct event'. */
317 #undef HAVE_STRUCT_EVENT_MIN_HEAP_IDX
319 /* Define to 1 if the system has the type `struct in6_addr'. */
320 #undef HAVE_STRUCT_IN6_ADDR
322 /* Define to 1 if `s6_addr16' is a member of `struct in6_addr'. */
323 #undef HAVE_STRUCT_IN6_ADDR_S6_ADDR16
325 /* Define to 1 if `s6_addr32' is a member of `struct in6_addr'. */
326 #undef HAVE_STRUCT_IN6_ADDR_S6_ADDR32
328 /* Define to 1 if the system has the type `struct sockaddr_in6'. */
329 #undef HAVE_STRUCT_SOCKADDR_IN6
331 /* Define to 1 if `sin6_len' is a member of `struct sockaddr_in6'. */
332 #undef HAVE_STRUCT_SOCKADDR_IN6_SIN6_LEN
334 /* Define to 1 if `sin_len' is a member of `struct sockaddr_in'. */
335 #undef HAVE_STRUCT_SOCKADDR_IN_SIN_LEN
337 /* Define to 1 if `get_cipher_by_char' is a member of `struct ssl_method_st'.
339 #undef HAVE_STRUCT_SSL_METHOD_ST_GET_CIPHER_BY_CHAR
341 /* Define to 1 if `tv_sec' is a member of `struct timeval'. */
342 #undef HAVE_STRUCT_TIMEVAL_TV_SEC
344 /* Define to 1 if you have the `sysconf' function. */
347 /* Define to 1 if you have the `sysctl' function. */
350 /* Define to 1 if you have the <syslog.h> header file. */
353 /* Define to 1 if you have the <sys/fcntl.h> header file. */
354 #undef HAVE_SYS_FCNTL_H
356 /* Define to 1 if you have the <sys/file.h> header file. */
357 #undef HAVE_SYS_FILE_H
359 /* Define to 1 if you have the <sys/ioctl.h> header file. */
360 #undef HAVE_SYS_IOCTL_H
362 /* Define to 1 if you have the <sys/limits.h> header file. */
363 #undef HAVE_SYS_LIMITS_H
365 /* Define to 1 if you have the <sys/mman.h> header file. */
366 #undef HAVE_SYS_MMAN_H
368 /* Define to 1 if you have the <sys/param.h> header file. */
369 #undef HAVE_SYS_PARAM_H
371 /* Define to 1 if you have the <sys/prctl.h> header file. */
372 #undef HAVE_SYS_PRCTL_H
374 /* Define to 1 if you have the <sys/resource.h> header file. */
375 #undef HAVE_SYS_RESOURCE_H
377 /* Define to 1 if you have the <sys/select.h> header file. */
378 #undef HAVE_SYS_SELECT_H
380 /* Define to 1 if you have the <sys/socket.h> header file. */
381 #undef HAVE_SYS_SOCKET_H
383 /* Define to 1 if you have the <sys/stat.h> header file. */
384 #undef HAVE_SYS_STAT_H
386 /* Define to 1 if you have the <sys/sysctl.h> header file. */
387 #undef HAVE_SYS_SYSCTL_H
389 /* Define to 1 if you have the <sys/syslimits.h> header file. */
390 #undef HAVE_SYS_SYSLIMITS_H
392 /* Define to 1 if you have the <sys/time.h> header file. */
393 #undef HAVE_SYS_TIME_H
395 /* Define to 1 if you have the <sys/types.h> header file. */
396 #undef HAVE_SYS_TYPES_H
398 /* Define to 1 if you have the <sys/ucontext.h> header file. */
399 #undef HAVE_SYS_UCONTEXT_H
401 /* Define to 1 if you have the <sys/un.h> header file. */
404 /* Define to 1 if you have the <sys/utime.h> header file. */
405 #undef HAVE_SYS_UTIME_H
407 /* Define to 1 if you have the <sys/wait.h> header file. */
408 #undef HAVE_SYS_WAIT_H
410 /* Define to 1 if you have the <time.h> header file. */
413 /* Define to 1 if you have the <ucontext.h> header file. */
414 #undef HAVE_UCONTEXT_H
416 /* Define to 1 if the system has the type `uint'. */
419 /* Define to 1 if you have the `uname' function. */
422 /* Define to 1 if you have the <unistd.h> header file. */
425 /* Define to 1 if you have the `usleep' function. */
428 /* Define to 1 if you have the <utime.h> header file. */
431 /* Define to 1 if the system has the type `u_char'. */
434 /* Define to 1 if you have the `vasprintf' function. */
435 #undef HAVE_VASPRINTF
437 /* Define to 1 if you have the `_NSGetEnviron' function. */
438 #undef HAVE__NSGETENVIRON
440 /* Define to 1 if you have the `_vscprintf' function. */
441 #undef HAVE__VSCPRINTF
443 /* Defined if we want to keep track of how much of each kind of resource we
445 #undef INSTRUMENT_DOWNLOADS
447 /* name of the syslog facility */
450 /* Define to 1 iff malloc(0) returns a pointer */
451 #undef MALLOC_ZERO_WORKS
453 /* Define to 1 if we are building with UPnP. */
456 /* libminiupnpc version 1.5 found */
459 /* Define to 1 if we are building with nat-pmp. */
462 /* Define to 1 iff memset(0) sets pointers to NULL */
463 #undef NULL_REP_IS_ZERO_BYTES
465 /* "Define to handle pf on OpenBSD properly" */
468 /* Name of package */
471 /* Define to the address where bug reports for this package should be sent. */
472 #undef PACKAGE_BUGREPORT
474 /* Define to the full name of this package. */
477 /* Define to the full name and version of this package. */
478 #undef PACKAGE_STRING
480 /* Define to the one symbol short name of this package. */
481 #undef PACKAGE_TARNAME
483 /* Define to the home page for this package. */
486 /* Define to the version of this package. */
487 #undef PACKAGE_VERSION
489 /* How to access the PC from a struct ucontext */
490 #undef PC_FROM_UCONTEXT
492 /* Define to 1 iff right-shifting a negative value performs sign-extension */
493 #undef RSHIFT_DOES_SIGN_EXTEND
495 /* The size of `cell_t', as computed by sizeof. */
498 /* The size of `char', as computed by sizeof. */
501 /* The size of `int', as computed by sizeof. */
504 /* The size of `int16_t', as computed by sizeof. */
505 #undef SIZEOF_INT16_T
507 /* The size of `int32_t', as computed by sizeof. */
508 #undef SIZEOF_INT32_T
510 /* The size of `int64_t', as computed by sizeof. */
511 #undef SIZEOF_INT64_T
513 /* The size of `int8_t', as computed by sizeof. */
516 /* The size of `intptr_t', as computed by sizeof. */
517 #undef SIZEOF_INTPTR_T
519 /* The size of `long', as computed by sizeof. */
522 /* The size of `long long', as computed by sizeof. */
523 #undef SIZEOF_LONG_LONG
525 /* The size of `pid_t', as computed by sizeof. */
528 /* The size of `short', as computed by sizeof. */
531 /* The size of `size_t', as computed by sizeof. */
534 /* The size of `socklen_t', as computed by sizeof. */
535 #undef SIZEOF_SOCKLEN_T
537 /* The size of `time_t', as computed by sizeof. */
540 /* The size of `uint16_t', as computed by sizeof. */
541 #undef SIZEOF_UINT16_T
543 /* The size of `uint32_t', as computed by sizeof. */
544 #undef SIZEOF_UINT32_T
546 /* The size of `uint64_t', as computed by sizeof. */
547 #undef SIZEOF_UINT64_T
549 /* The size of `uint8_t', as computed by sizeof. */
550 #undef SIZEOF_UINT8_T
552 /* The size of `uintptr_t', as computed by sizeof. */
553 #undef SIZEOF_UINTPTR_T
555 /* The size of `void *', as computed by sizeof. */
558 /* The size of `__int64', as computed by sizeof. */
559 #undef SIZEOF___INT64
561 /* Define to 1 if you have the ANSI C header files. */
564 /* Define if time_t is signed */
565 #undef TIME_T_IS_SIGNED
567 /* Defined if we're going to use Libevent's buffered IO API */
568 #undef USE_BUFFEREVENTS
570 /* Defined if we should use an internal curve25519_donna{,_c64} implementation
572 #undef USE_CURVE25519_DONNA
574 /* Defined if we should use a curve25519 from nacl */
575 #undef USE_CURVE25519_NACL
577 /* Debug memory allocation library */
580 /* "Define to enable transparent proxy support" */
581 #undef USE_TRANSPARENT
583 /* Define to 1 iff we represent negative integers with two's complement */
584 #undef USING_TWOS_COMPLEMENT
586 /* Version number of package */
589 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
590 significant byte first (like Motorola and SPARC, unlike Intel). */
591 #if defined AC_APPLE_UNIVERSAL_BUILD
592 # if defined __BIG_ENDIAN__
593 # define WORDS_BIGENDIAN 1
596 # ifndef WORDS_BIGENDIAN
597 # undef WORDS_BIGENDIAN
601 /* Enable large inode numbers on Mac OS X 10.5. */
602 #ifndef _DARWIN_USE_64_BIT_INODE
603 # define _DARWIN_USE_64_BIT_INODE 1
606 /* Number of bits in a file offset, on hosts where this is settable. */
607 #undef _FILE_OFFSET_BITS
609 /* Define for large files, on AIX-style hosts. */
612 /* Define on some platforms to activate x_r() functions in time.h */
615 /* Define to `unsigned short' if <sys/types.h> does not define. */
618 /* Define to `unsigned long' if <sys/types.h> does not define. */
621 /* Define to `unsigned long long' if <sys/types.h> does not define. */
624 /* Define to `unsigned char' if <sys/types.h> does not define. */