1 /* Contents kept in sync with config.h.in from neon 0.29.5 */
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. */
239 #define HAVE_SNPRINTF 1
243 #define snprintf _snprintf
246 /* Define to 1 if the system has the type `socklen_t'. */
248 #define HAVE_SOCKLEN_T 1
251 /* Define to 1 if you have the `SSL_SESSION_cmp' function. */
252 /* #undef HAVE_SSL_SESSION_CMP */
254 /* Define to 1 if you have the <stdarg.h> header file. */
255 #define HAVE_STDARG_H 1
257 /* Define to 1 if you have the <stdint.h> header file. */
258 #define HAVE_STDINT_H 1
260 /* Define to 1 if you have the <stdlib.h> header file. */
261 #define HAVE_STDLIB_H 1
263 /* Define to 1 if you have the `stpcpy' function. */
265 #define HAVE_STPCPY 1
268 /* Define to 1 if you have the `strcasecmp' function. */
270 #define HAVE_STRCASECMP 1
274 #define strcasecmp strcmpi
277 /* Define to 1 if you have the `strerror_r' function. */
279 #define HAVE_STRERROR_R 1
282 /* Define to 1 if you have the <strings.h> header file. */
284 #define HAVE_STRINGS_H 1
287 /* Define to 1 if you have the <string.h> header file. */
288 #define HAVE_STRING_H 1
290 /* Define to 1 if you have the `strtoll' function. */
291 #define HAVE_STRTOLL 1
293 /* Define to 1 if you have the `strtoq' function. */
294 /* #undef HAVE_STRTOQ */
296 /* Define to 1 if `tm_gmtoff' is member of `struct tm'. */
298 #define HAVE_STRUCT_TM_TM_GMTOFF 1
301 /* Define to 1 if `__tm_gmtoff' is member of `struct tm'. */
302 /* #undef HAVE_STRUCT_TM___TM_GMTOFF */
304 /* Define to 1 if you have the <sys/limits.h> header file. */
305 /* #undef HAVE_SYS_LIMITS_H */
307 /* Define to 1 if you have the <sys/poll.h> header file. */
309 #define HAVE_SYS_POLL_H 1
312 /* Define to 1 if you have the <sys/select.h> header file. */
314 #define HAVE_SYS_SELECT_H 1
317 /* Define to 1 if you have the <sys/socket.h> header file. */
319 #define HAVE_SYS_SOCKET_H 1
322 /* Define to 1 if you have the <sys/stat.h> header file. */
323 #define HAVE_SYS_STAT_H 1
325 /* Define to 1 if you have the <sys/time.h> header file. */
327 #define HAVE_SYS_TIME_H 1
330 /* Define to 1 if you have the <sys/types.h> header file. */
331 #define HAVE_SYS_TYPES_H 1
333 /* Define if the timezone global is available */
335 #define HAVE_TIMEZONE 1
338 /* Use trio printf replacement library */
339 /* #undef HAVE_TRIO */
341 /* Define to 1 if you have the <trio.h> header file. */
342 /* #undef HAVE_TRIO_H */
344 /* Define to 1 if you have the <unistd.h> header file. */
346 #define HAVE_UNISTD_H 1
349 /* Define to 1 if you have the `usleep' function. */
351 #define HAVE_USLEEP 1
354 /* Define to 1 if you have the `vsnprintf' function. */
355 #if defined( UNX ) || defined(_MSC_VER)
356 #define HAVE_VSNPRINTF 1
360 #define vsnprintf _vsnprintf
363 /* Define to be location of localedir */
364 /* #undef LOCALEDIR */
366 /* Define to the sub-directory in which libtool stores uninstalled libraries.
368 /* #undef LT_OBJDIR */
370 /* Defined when neon is built as a library */
371 #define NEON_IS_LIBRARY 1
373 /* Define to be the neon version string */
374 #define NEON_VERSION "0.29.5"
376 /* Define to enable debugging */
377 /* #undef NE_DEBUGGING */
379 /* Define to be printf format string for ne_off_t */
380 /* #undef NE_FMT_NE_OFF_T */
382 /* Define to be printf format string for off64_t */
383 #define NE_FMT_OFF64_T "lld"
385 /* Define to be printf format string for off_t */
386 #define NE_FMT_OFF_T "ld"
388 /* Define to be printf format string for size_t */
389 #define NE_FMT_SIZE_T "u"
391 /* Define to be printf format string for ssize_t */
392 #define NE_FMT_SSIZE_T "d"
394 /* Define to be printf format string for time_t */
395 #define NE_FMT_TIME_T "ld"
397 /* Define to be printf format string for XML_Size */
398 /* #undef NE_FMT_XML_SIZE */
400 /* Defined if DAV is supported */
401 #define NE_HAVE_DAV 1
403 /* Defined if I18N is supported */
404 /* #undef NE_HAVE_I18N */
406 /* Defined if IPV6 is supported */
407 #define NE_HAVE_IPV6 1
409 /* Defined if LFS is supported */
410 #define NE_HAVE_LFS 1
412 /* Defined if LIBPXY is supported */
413 /* #undef NE_HAVE_LIBPXY */
415 /* Defined if SSL is supported */
418 /* Defined if TS_SSL is supported */
419 /* #undef NE_HAVE_TS_SSL */
421 /* Defined if ZLIB is supported */
422 #define NE_HAVE_ZLIB 1
424 /* Define to be filename of an SSL CA root bundle */
425 /* #undef NE_SSL_CA_BUNDLE */
427 /* Define if poll() should be used */
429 #define NE_USE_POLL 1
432 /* Define to be neon library major version */
433 #define NE_VERSION_MAJOR (0)
435 /* Define to be neon library minor version */
436 #define NE_VERSION_MINOR (29)
438 /* Define to be neon library patch version */
439 #define NE_VERSION_PATCH (5)
441 /* Define to the address where bug reports for this package should be sent. */
442 #define PACKAGE_BUGREPORT "neon@webdav.org"
444 /* Define to the full name of this package. */
445 #define PACKAGE_NAME "neon"
447 /* Define to the full name and version of this package. */
448 #define PACKAGE_STRING "neon 0.29.5"
450 /* Define to the one symbol short name of this package. */
451 #define PACKAGE_TARNAME "neon"
453 /* Define to the version of this package. */
454 #define PACKAGE_VERSION "0.29.5"
456 /* The size of `int', as computed by sizeof. */
459 /* The size of `long', as computed by sizeof. */
460 #define SIZEOF_LONG 4
462 /* The size of `long long', as computed by sizeof. */
463 #define SIZEOF_LONG_LONG 8
465 /* The size of `off64_t', as computed by sizeof. */
466 #define SIZEOF_OFF64_T 8
468 /* The size of `off_t', as computed by sizeof. */
469 #define SIZEOF_OFF_T 4
471 /* The size of `size_t', as computed by sizeof. */
472 #define SIZEOF_SIZE_T 4
474 /* The size of `ssize_t', as computed by sizeof. */
475 #define SIZEOF_SSIZE_T 4
477 /* The size of `time_t', as computed by sizeof. */
478 #define SIZEOF_TIME_T 4
480 /* The size of `XML_Size', as computed by sizeof. */
481 /* #undef SIZEOF_XML_SIZE */
483 /* Define to 1 if you have the ANSI C header files. */
485 #define STDC_HEADERS 1
488 /* Define to 1 if strerror_r returns char *. */
490 #define STRERROR_R_CHAR_P 1
493 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
494 #define TIME_WITH_SYS_TIME 1
496 /* Define if getaddrinfo supports AI_ADDRCONFIG */
497 /* #undef USE_GAI_ADDRCONFIG */
499 /* Define if getaddrinfo() should be used */
500 #define USE_GETADDRINFO 1
502 /* Enable extensions on AIX 3, Interix. */
506 /* Enable GNU extensions on systems that have them. */
510 /* Enable threading extensions on Solaris. */
511 #ifndef _POSIX_PTHREAD_SEMANTICS
512 # undef _POSIX_PTHREAD_SEMANTICS
514 /* Enable extensions on HP NonStop. */
515 #ifndef _TANDEM_SOURCE
516 # undef _TANDEM_SOURCE
518 /* Enable general extensions on Solaris. */
519 #ifndef __EXTENSIONS__
520 # undef __EXTENSIONS__
524 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
525 significant byte first (like Motorola and SPARC, unlike Intel). */
526 #if defined (SOLARIS) && defined (SPARC)
527 #define WORDS_BIGENDIAN 1
530 /* Always defined to enable GNU extensions */
531 #define _GNU_SOURCE 1
533 /* Define to 1 if on MINIX. */
536 /* Define to 2 if the system does not provide POSIX.1 features except with
538 /* #undef _POSIX_1_SOURCE */
540 /* Define to 1 if you need to in order for `stat' and other things to work. */
541 /* #undef _POSIX_SOURCE */
543 /* Define to empty if `const' does not conform to ANSI C. */
546 /* Define if in_addr_t is not available */
547 /* #undef in_addr_t */
549 /* Define to `__inline__' or `__inline' if that's what the C compiler
550 calls it, or to nothing if 'inline' is not supported under any name. */
552 #if defined (SOLARIS) && defined (__SUNPRO_C)
557 /* Define to `long int' if <sys/types.h> does not define. */
560 /* Define to `int' if <sys/types.h> does not define. */
563 /* Define to `unsigned int' if <sys/types.h> does not define. */
566 /* Define if socklen_t is not available */
567 /* #undef socklen_t */
569 /* MS IIS does not send Lock-Token response header after creation of a */
570 /* new lock. This violates RFC, but... if we want to talk with this */
571 /* beast we need a workaround */
572 #define IIS_LOCK_BUG_WORKAROUND 1
575 /* Enable leak-tracking versions of ne_*alloc when NEON_MEMLEAK is enabled */
577 # include "memleak.h"
580 #if defined(HAVE_STPCPY) && defined(HAVE_DECL_STPCPY) && !HAVE_DECL_STPCPY && !defined(stpcpy)
581 char *stpcpy(char *, const char *);
588 #define HAVE_MEMCPY 1
590 #define strncasecmp strnicmp
591 #define inline __inline
592 #define WIN32_LEAN_AND_MEAN