1 /* Contents kept in sync with config.h.in from neon 0.31.2 */
3 /* Define if building universal (internal helper macro) */
4 /* #undef AC_APPLE_UNIVERSAL_BUILD */
6 /* Define to specific EGD socket path */
9 /* Define if EGD should be supported */
10 /* #undef ENABLE_EGD */
12 /* Define if GSS_C_NT_HOSTBASED_SERVICE is not defined otherwise */
13 /* #undef GSS_C_NT_HOSTBASED_SERVICE */
15 /* Define to 1 if you have the <arpa/inet.h> header file. */
17 #define HAVE_ARPA_INET_H 1
20 /* Define to 1 if you have the `bind_textdomain_codeset' function. */
21 /* #undef HAVE_BIND_TEXTDOMAIN_CODESET */
23 /* Define to 1 if you have the `CRYPTO_set_idptr_callback' function. */
24 /* #undef HAVE_CRYPTO_SET_IDPTR_CALLBACK */
26 /* Define to 1 if you have the declaration of `h_errno', and to 0 if you
29 #define HAVE_DECL_H_ERRNO 1
32 /* Define to 1 if you have the declaration of `stpcpy', and to 0 if you don't.
35 #define HAVE_DECL_STPCPY 1
38 /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
41 #define HAVE_DECL_STRERROR_R 1
44 /* Define to 1 if you have the <dlfcn.h> header file. */
46 #define HAVE_DLFCN_H 1
49 /* Define to 1 if you have the <errno.h> header file. */
50 #define HAVE_ERRNO_H 1
52 /* Define if you have expat */
53 /* #undef HAVE_EXPAT */
55 /* Define to 1 if you have the `fcntl' function. */
60 /* Define to 1 if you have the <fcntl.h> header file. */
62 #define HAVE_FCNTL_H 1
65 /* Define to 1 if you have the `fstat64' function. */
68 /* Define to 1 if you have the `gai_strerror' function. */
69 #define HAVE_GAI_STRERROR 1
71 /* Define to 1 if you have the `gethostname' function. */
72 /* #undef HAVE_GETHOSTNAME */
74 /* Define to 1 if you have the `getnameinfo' function. */
75 /* #undef HAVE_GETNAMEINFO */
77 /* Define to 1 if you have the `getsockopt' function. */
79 #define HAVE_GETSOCKOPT 1
82 #ifdef DISABLE_OPENSSL
83 /* Define if GnuTLS support is enabled */
86 /* Define to 1 if you have the `gnutls_certificate_get_x509_cas' function. */
87 /* #undef HAVE_GNUTLS_CERTIFICATE_GET_X509_CAS */
89 /* Define to 1 if you have the `gnutls_certificate_verify_peers2' function. */
90 #define HAVE_GNUTLS_CERTIFICATE_VERIFY_PEERS2
92 /* Define to 1 if you have the `gnutls_session_get_data2' function. */
93 #define HAVE_GNUTLS_SESSION_GET_DATA2
95 /* Define to 1 if you have the `gnutls_sign_callback_set' function. */
96 #define HAVE_GNUTLS_SIGN_CALLBACK_SET
98 /* Define to 1 if you have the `gnutls_x509_dn_get_rdn_ava' function. */
99 #define HAVE_GNUTLS_X509_DN_GET_RDN_AVA
100 #endif /* DISABLE_OPENSSL */
102 /* Define if GSSAPI support is enabled */
103 /* #undef HAVE_GSSAPI */
105 /* Define to 1 if you have the <gssapi/gssapi_generic.h> header file. */
106 /* #undef HAVE_GSSAPI_GSSAPI_GENERIC_H */
108 /* Define to 1 if you have the <gssapi/gssapi.h> header file. */
109 /* #undef HAVE_GSSAPI_GSSAPI_H */
111 /* Define to 1 if you have the <gssapi.h> header file. */
112 /* #undef HAVE_GSSAPI_H */
114 /* Define to 1 if you have the `gss_init_sec_context' function. */
115 /* #undef HAVE_GSS_INIT_SEC_CONTEXT */
117 /* Define to 1 if you have the `hstrerror' function. */
118 /* #undef HAVE_HSTRERROR */
120 /* Define to 1 if you have the `iconv' function. */
121 /* #undef HAVE_ICONV */
123 /* Define to 1 if you have the <iconv.h> header file. */
124 /* #undef HAVE_ICONV_H */
126 /* Define to 1 if you have the `inet_ntop' function. */
128 #define HAVE_INET_NTOP 1
131 /* Define to 1 if you have the `inet_pton' function. */
132 /* #undef HAVE_INET_PTON */
134 /* Define to 1 if you have the <inttypes.h> header file. */
136 #define HAVE_INTTYPES_H 1
139 /* Define to 1 if you have the `isatty' function. */
140 #define HAVE_ISATTY 1
142 /* Define to 1 if you have the <libintl.h> header file. */
143 /* #undef HAVE_LIBINTL_H */
145 /* Define if libproxy is supported */
146 /* #undef HAVE_LIBPROXY */
148 /* Define if you have libxml */
149 #define HAVE_LIBXML 1
151 /* Define to 1 if you have the <libxml/parser.h> header file. */
152 #define HAVE_LIBXML_PARSER_H 1
154 /* Define to 1 if you have the <libxml/xmlversion.h> header file. */
155 #define HAVE_LIBXML_XMLVERSION_H 1
157 /* Define to 1 if you have the <limits.h> header file. */
158 #define HAVE_LIMITS_H 1
160 /* Define to 1 if you have the <locale.h> header file. */
161 #define HAVE_LOCALE_H 1
163 /* Define to 1 if you have the `lseek64' function. */
164 #define HAVE_LSEEK64 1
166 /* Define to 1 if you have the <memory.h> header file. */
167 #define HAVE_MEMORY_H 1
169 /* Define to 1 if you have the <netdb.h> header file. */
171 #define HAVE_NETDB_H 1
174 /* Define to 1 if you have the <netinet/in.h> header file. */
176 #define HAVE_NETINET_IN_H 1
179 /* Define to 1 if you have the <netinet/tcp.h> header file. */
181 #define HAVE_NETINET_TCP_H 1
184 #ifndef DISABLE_OPENSSL
185 /* Define if NTLM is supported */
190 /* Define if OpenSSL support is enabled */
191 #define HAVE_OPENSSL 1
193 /* Define to 1 if you have the <openssl/opensslv.h> header file. */
194 #define HAVE_OPENSSL_OPENSSLV_H 1
196 /* Define to 1 if you have the <openssl/ssl.h> header file. */
197 #define HAVE_OPENSSL_SSL_H 1
198 #endif /* !DISABLE_OPENSSL */
200 /* Define if pakchois library supported */
201 /* #undef HAVE_PAKCHOIS */
203 /* Define to 1 if you have the `pipe' function. */
206 /* Define to 1 if you have the `poll' function. */
209 /* Define to 1 if you have the `pthread_mutex_init' function. */
210 /* #undef HAVE_PTHREAD_MUTEX_INIT */
212 /* Define to 1 if you have the `pthread_mutex_lock' function. */
213 /* #undef HAVE_PTHREAD_MUTEX_LOCK */
215 /* Define to 1 if you have the `setlocale' function. */
216 #define HAVE_SETLOCALE 1
218 /* Define to 1 if you have the `setsockopt' function. */
219 #if defined(LINUX) || defined(_WIN32)
220 #define HAVE_SETSOCKOPT 1
223 /* Define to 1 if you have the `setvbuf' function. */
224 #define HAVE_SETVBUF 1
226 /* Define to 1 if you have the `shutdown' function. */
228 #define HAVE_SHUTDOWN 1
231 /* Define to 1 if you have the `signal' function. */
232 #define HAVE_SIGNAL 1
234 /* Define to 1 if you have the <signal.h> header file. */
235 #define HAVE_SIGNAL_H 1
237 /* Define to 1 if you have the `snprintf' function. */
238 #if defined(UNX) || defined(_MSC_VER)
239 #define HAVE_SNPRINTF 1
242 /* Define to 1 if the system has the type `socklen_t'. */
244 #define HAVE_SOCKLEN_T 1
247 /* Define to 1 if you have the `SSL_SESSION_cmp' function. */
248 /* #undef HAVE_SSL_SESSION_CMP */
250 /* Define to 1 if you have the <stdarg.h> header file. */
251 #define HAVE_STDARG_H 1
253 /* Define to 1 if you have the <stdint.h> header file. */
254 #define HAVE_STDINT_H 1
256 /* Define to 1 if you have the <stdlib.h> header file. */
257 #define HAVE_STDLIB_H 1
259 /* Define to 1 if you have the `stpcpy' function. */
261 #define HAVE_STPCPY 1
264 /* Define to 1 if you have the `strcasecmp' function. */
266 #define HAVE_STRCASECMP 1
270 #define strcasecmp strcmpi
273 /* Define to 1 if you have the `strerror_r' function. */
275 #define HAVE_STRERROR_R 1
278 /* Define to 1 if you have the <strings.h> header file. */
280 #define HAVE_STRINGS_H 1
283 /* Define to 1 if you have the <string.h> header file. */
284 #define HAVE_STRING_H 1
286 /* Define to 1 if you have the `strtoll' function. */
287 #define HAVE_STRTOLL 1
289 /* Define to 1 if you have the `strtoq' function. */
290 /* #undef HAVE_STRTOQ */
292 /* Define to 1 if `tm_gmtoff' is member of `struct tm'. */
294 #define HAVE_STRUCT_TM_TM_GMTOFF 1
297 /* Define to 1 if `__tm_gmtoff' is member of `struct tm'. */
298 /* #undef HAVE_STRUCT_TM___TM_GMTOFF */
300 /* Define to 1 if you have the <sys/limits.h> header file. */
301 /* #undef HAVE_SYS_LIMITS_H */
303 /* Define to 1 if you have the <sys/poll.h> header file. */
305 #define HAVE_SYS_POLL_H 1
308 /* Define to 1 if you have the <sys/select.h> header file. */
310 #define HAVE_SYS_SELECT_H 1
313 /* Define to 1 if you have the <sys/socket.h> header file. */
315 #define HAVE_SYS_SOCKET_H 1
318 /* Define to 1 if you have the <sys/stat.h> header file. */
319 #define HAVE_SYS_STAT_H 1
321 /* Define to 1 if you have the <sys/time.h> header file. */
323 #define HAVE_SYS_TIME_H 1
326 /* Define to 1 if you have the <sys/types.h> header file. */
327 #define HAVE_SYS_TYPES_H 1
329 /* Define if the timezone global is available */
331 #define HAVE_TIMEZONE 1
332 #if defined(_MSC_VER)
333 #define timezone _timezone
337 /* Use trio printf replacement library */
338 /* #undef HAVE_TRIO */
340 /* Define to 1 if you have the <trio.h> header file. */
341 /* #undef HAVE_TRIO_H */
343 /* Define to 1 if you have the <unistd.h> header file. */
345 #define HAVE_UNISTD_H 1
348 /* Define to 1 if you have the `usleep' function. */
350 #define HAVE_USLEEP 1
353 /* Define to 1 if you have the `vsnprintf' function. */
354 #if defined(UNX) || defined(_MSC_VER)
355 #define HAVE_VSNPRINTF 1
359 #define vsnprintf _vsnprintf
362 /* Define to be location of localedir */
363 /* #undef LOCALEDIR */
365 /* Define to the sub-directory in which libtool stores uninstalled libraries.
367 /* #undef LT_OBJDIR */
369 /* Defined when neon is built as a library */
370 #define NEON_IS_LIBRARY 1
372 /* Define to be the neon version string */
373 #define NEON_VERSION "0.31.2"
375 /* Define to enable debugging */
376 /* #undef NE_DEBUGGING */
378 /* Define to be printf format string for ne_off_t */
379 /* #undef NE_FMT_NE_OFF_T */
381 /* Define to be printf format string for off64_t */
382 #define NE_FMT_OFF64_T "lld"
384 /* Define to be printf format string for off_t */
385 #define NE_FMT_OFF_T "ld"
387 /* Define to be printf format string for size_t */
388 #define NE_FMT_SIZE_T "u"
390 /* Define to be printf format string for ssize_t */
391 #define NE_FMT_SSIZE_T "d"
393 /* Define to be printf format string for time_t */
394 #define NE_FMT_TIME_T "ld"
396 /* Define to be printf format string for XML_Size */
397 /* #undef NE_FMT_XML_SIZE */
399 /* Defined if DAV is supported */
400 #define NE_HAVE_DAV 1
402 /* Defined if I18N is supported */
403 /* #undef NE_HAVE_I18N */
405 /* Defined if IPV6 is supported */
406 #define NE_HAVE_IPV6 1
408 /* Defined if LFS is supported */
409 #define NE_HAVE_LFS 1
411 /* Defined if LIBPXY is supported */
412 /* #undef NE_HAVE_LIBPXY */
414 /* Defined if SSL is supported */
417 /* Defined if TS_SSL is supported */
418 /* #undef NE_HAVE_TS_SSL */
420 /* Defined if ZLIB is supported */
421 #define NE_HAVE_ZLIB 1
423 /* Define to be filename of an SSL CA root bundle */
424 /* #undef NE_SSL_CA_BUNDLE */
426 /* Define if poll() should be used */
428 #define NE_USE_POLL 1
431 /* Define to be neon library major version */
432 #define NE_VERSION_MAJOR (0)
434 /* Define to be neon library minor version */
435 #define NE_VERSION_MINOR (31)
437 /* Define to be neon library patch version */
438 #define NE_VERSION_PATCH (2)
440 /* Define to the address where bug reports for this package should be sent. */
441 #define PACKAGE_BUGREPORT "neon@webdav.org"
443 /* Define to the full name of this package. */
444 #define PACKAGE_NAME "neon"
446 /* Define to the full name and version of this package. */
447 #define PACKAGE_STRING "neon 0.31.2"
449 /* Define to the one symbol short name of this package. */
450 #define PACKAGE_TARNAME "neon"
452 /* Define to the version of this package. */
453 #define PACKAGE_VERSION "0.31.2"
455 /* The size of `int', as computed by sizeof. */
458 /* The size of `long', as computed by sizeof. */
459 #define SIZEOF_LONG 4
461 /* The size of `long long', as computed by sizeof. */
462 #define SIZEOF_LONG_LONG 8
464 /* The size of `off64_t', as computed by sizeof. */
465 #define SIZEOF_OFF64_T 8
467 /* The size of `off_t', as computed by sizeof. */
468 #define SIZEOF_OFF_T 4
470 /* The size of `size_t', as computed by sizeof. */
471 #define SIZEOF_SIZE_T 4
473 /* The size of `ssize_t', as computed by sizeof. */
474 #define SIZEOF_SSIZE_T 4
476 /* The size of `time_t', as computed by sizeof. */
477 #define SIZEOF_TIME_T 4
479 /* The size of `XML_Size', as computed by sizeof. */
480 /* #undef SIZEOF_XML_SIZE */
482 /* Define to 1 if you have the ANSI C header files. */
484 #define STDC_HEADERS 1
487 /* Define to 1 if strerror_r returns char *. */
489 #define STRERROR_R_CHAR_P 1
492 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
493 #define TIME_WITH_SYS_TIME 1
495 /* Define if getaddrinfo supports AI_ADDRCONFIG */
496 /* #undef USE_GAI_ADDRCONFIG */
498 /* Define if getaddrinfo() should be used */
499 #define USE_GETADDRINFO 1
501 /* Enable extensions on AIX 3, Interix. */
505 /* Enable GNU extensions on systems that have them. */
509 /* Enable threading extensions on Solaris. */
510 #ifndef _POSIX_PTHREAD_SEMANTICS
511 #undef _POSIX_PTHREAD_SEMANTICS
513 /* Enable extensions on HP NonStop. */
514 #ifndef _TANDEM_SOURCE
515 #undef _TANDEM_SOURCE
517 /* Enable general extensions on Solaris. */
518 #ifndef __EXTENSIONS__
519 #undef __EXTENSIONS__
522 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
523 significant byte first (like Motorola and SPARC, unlike Intel). */
524 #if defined(__sun) && defined(SPARC)
525 #define WORDS_BIGENDIAN 1
528 /* Always defined to enable GNU extensions */
529 #define _GNU_SOURCE 1
531 /* Define to 1 if on MINIX. */
534 /* Define to 2 if the system does not provide POSIX.1 features except with
536 /* #undef _POSIX_1_SOURCE */
538 /* Define to 1 if you need to in order for `stat' and other things to work. */
539 /* #undef _POSIX_SOURCE */
541 /* Define to empty if `const' does not conform to ANSI C. */
544 /* Define if in_addr_t is not available */
545 /* #undef in_addr_t */
547 /* Define to `__inline__' or `__inline' if that's what the C compiler
548 calls it, or to nothing if 'inline' is not supported under any name. */
550 #if defined(__sun) && defined(__SUNPRO_C)
555 /* Define to `long int' if <sys/types.h> does not define. */
558 /* Define to `int' if <sys/types.h> does not define. */
561 /* Define to `unsigned int' if <sys/types.h> does not define. */
564 /* Define if socklen_t is not available */
565 /* #undef socklen_t */
567 /* MS IIS does not send Lock-Token response header after creation of a */
568 /* new lock. This violates RFC, but... if we want to talk with this */
569 /* beast we need a workaround */
570 #define IIS_LOCK_BUG_WORKAROUND 1
572 /* Enable leak-tracking versions of ne_*alloc when NEON_MEMLEAK is enabled */
577 #if defined(HAVE_STPCPY) && defined(HAVE_DECL_STPCPY) && !HAVE_DECL_STPCPY && !defined(stpcpy)
578 char* stpcpy(char*, const char*);
585 #define HAVE_MEMCPY 1
587 #define strncasecmp strnicmp
588 #define inline __inline
589 #define WIN32_LEAN_AND_MEAN