1 /* Contents kept in sync with config.h.in from neon 0.29.5 */
2 
3 /* Define if building universal (internal helper macro) */
4 /* #undef AC_APPLE_UNIVERSAL_BUILD */
5 
6 /* Define to specific EGD socket path */
7 /* #undef EGD_PATH */
8 
9 /* Define if EGD should be supported */
10 /* #undef ENABLE_EGD */
11 
12 /* Define if GSS_C_NT_HOSTBASED_SERVICE is not defined otherwise */
13 /* #undef GSS_C_NT_HOSTBASED_SERVICE */
14 
15 /* Define to 1 if you have the <arpa/inet.h> header file. */
16 #ifdef UNX
17 #define HAVE_ARPA_INET_H 1
18 #endif
19 
20 /* Define to 1 if you have the `bind_textdomain_codeset' function. */
21 /* #undef HAVE_BIND_TEXTDOMAIN_CODESET */
22 
23 /* Define to 1 if you have the `CRYPTO_set_idptr_callback' function. */
24 /* #undef HAVE_CRYPTO_SET_IDPTR_CALLBACK */
25 
26 /* Define to 1 if you have the declaration of `h_errno', and to 0 if you
27    don't. */
28 #ifdef _WIN32
29 #define HAVE_DECL_H_ERRNO 1
30 #endif
31 
32 /* Define to 1 if you have the declaration of `stpcpy', and to 0 if you don't.
33    */
34 #ifdef LINUX
35 #define HAVE_DECL_STPCPY 1
36 #endif
37 
38 /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
39    don't. */
40 #ifdef LINUX
41 #define HAVE_DECL_STRERROR_R 1
42 #endif
43 
44 /* Define to 1 if you have the <dlfcn.h> header file. */
45 #ifdef UNX
46 #define HAVE_DLFCN_H 1
47 #endif
48 
49 /* Define to 1 if you have the <errno.h> header file. */
50 #define HAVE_ERRNO_H 1
51 
52 /* Define if you have expat */
53 /* #undef HAVE_EXPAT */
54 
55 /* Define to 1 if you have the `fcntl' function. */
56 #ifdef UNX
57 #define HAVE_FCNTL 1
58 #endif
59 
60 /* Define to 1 if you have the <fcntl.h> header file. */
61 #ifdef UNX
62 #define HAVE_FCNTL_H 1
63 #endif
64 
65 /* Define to 1 if you have the `fstat64' function. */
66 #define HAVE_FSTAT64
67 
68 /* Define to 1 if you have the `gai_strerror' function. */
69 #define HAVE_GAI_STRERROR 1
70 
71 /* Define to 1 if you have the `gethostname' function. */
72 /* #undef HAVE_GETHOSTNAME */
73 
74 /* Define to 1 if you have the `getnameinfo' function. */
75 /* #undef HAVE_GETNAMEINFO */
76 
77 /* Define to 1 if you have the `getsockopt' function. */
78 #ifdef UNX
79 #define HAVE_GETSOCKOPT 1
80 #endif
81 
82 #ifdef DISABLE_OPENSSL
83 /* Define if GnuTLS support is enabled */
84 #define HAVE_GNUTLS
85 
86 /* Define to 1 if you have the `gnutls_certificate_get_x509_cas' function. */
87 /* #undef HAVE_GNUTLS_CERTIFICATE_GET_X509_CAS */
88 
89 /* Define to 1 if you have the `gnutls_certificate_verify_peers2' function. */
90 #define HAVE_GNUTLS_CERTIFICATE_VERIFY_PEERS2
91 
92 /* Define to 1 if you have the `gnutls_session_get_data2' function. */
93 #define HAVE_GNUTLS_SESSION_GET_DATA2
94 
95 /* Define to 1 if you have the `gnutls_sign_callback_set' function. */
96 #define HAVE_GNUTLS_SIGN_CALLBACK_SET
97 
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 */
101 
102 /* Define if GSSAPI support is enabled */
103 /* #undef HAVE_GSSAPI */
104 
105 /* Define to 1 if you have the <gssapi/gssapi_generic.h> header file. */
106 /* #undef HAVE_GSSAPI_GSSAPI_GENERIC_H */
107 
108 /* Define to 1 if you have the <gssapi/gssapi.h> header file. */
109 /* #undef HAVE_GSSAPI_GSSAPI_H */
110 
111 /* Define to 1 if you have the <gssapi.h> header file. */
112 /* #undef HAVE_GSSAPI_H */
113 
114 /* Define to 1 if you have the `gss_init_sec_context' function. */
115 /* #undef HAVE_GSS_INIT_SEC_CONTEXT */
116 
117 /* Define to 1 if you have the `hstrerror' function. */
118 /* #undef HAVE_HSTRERROR */
119 
120 /* Define to 1 if you have the `iconv' function. */
121 /* #undef HAVE_ICONV */
122 
123 /* Define to 1 if you have the <iconv.h> header file. */
124 /* #undef HAVE_ICONV_H */
125 
126 /* Define to 1 if you have the `inet_ntop' function. */
127 #ifdef UNX
128 #define HAVE_INET_NTOP 1
129 #endif
130 
131 /* Define to 1 if you have the `inet_pton' function. */
132 /* #undef HAVE_INET_PTON */
133 
134 /* Define to 1 if you have the <inttypes.h> header file. */
135 #ifdef UNX
136 #define HAVE_INTTYPES_H 1
137 #endif
138 
139 /* Define to 1 if you have the `isatty' function. */
140 #define HAVE_ISATTY 1
141 
142 /* Define to 1 if you have the <libintl.h> header file. */
143 /* #undef HAVE_LIBINTL_H */
144 
145 /* Define if libproxy is supported */
146 /* #undef HAVE_LIBPROXY */
147 
148 /* Define if you have libxml */
149 #define HAVE_LIBXML 1
150 
151 /* Define to 1 if you have the <libxml/parser.h> header file. */
152 #define HAVE_LIBXML_PARSER_H 1
153 
154 /* Define to 1 if you have the <libxml/xmlversion.h> header file. */
155 #define HAVE_LIBXML_XMLVERSION_H 1
156 
157 /* Define to 1 if you have the <limits.h> header file. */
158 #define HAVE_LIMITS_H 1
159 
160 /* Define to 1 if you have the <locale.h> header file. */
161 #define HAVE_LOCALE_H 1
162 
163 /* Define to 1 if you have the `lseek64' function. */
164 #define HAVE_LSEEK64 1
165 
166 /* Define to 1 if you have the <memory.h> header file. */
167 #define HAVE_MEMORY_H 1
168 
169 /* Define to 1 if you have the <netdb.h> header file. */
170 #ifdef UNX
171 #define HAVE_NETDB_H 1
172 #endif
173 
174 /* Define to 1 if you have the <netinet/in.h> header file. */
175 #ifdef UNX
176 #define HAVE_NETINET_IN_H 1
177 #endif
178 
179 /* Define to 1 if you have the <netinet/tcp.h> header file. */
180 #ifdef UNX
181 #define HAVE_NETINET_TCP_H 1
182 #endif
183 
184 #ifndef DISABLE_OPENSSL
185 /* Define if NTLM is supported */
186 #ifndef _WIN32
187 #define HAVE_NTLM 1
188 #endif
189 
190 /* Define if OpenSSL support is enabled */
191 #define HAVE_OPENSSL 1
192 
193 /* Define to 1 if you have the <openssl/opensslv.h> header file. */
194 #define HAVE_OPENSSL_OPENSSLV_H 1
195 
196 /* Define to 1 if you have the <openssl/ssl.h> header file. */
197 #define HAVE_OPENSSL_SSL_H 1
198 #endif /* !DISABLE_OPENSSL */
199 
200 /* Define if pakchois library supported */
201 /* #undef HAVE_PAKCHOIS */
202 
203 /* Define to 1 if you have the `pipe' function. */
204 #define HAVE_PIPE 1
205 
206 /* Define to 1 if you have the `poll' function. */
207 #define HAVE_POLL 1
208 
209 /* Define to 1 if you have the `pthread_mutex_init' function. */
210 /* #undef HAVE_PTHREAD_MUTEX_INIT */
211 
212 /* Define to 1 if you have the `pthread_mutex_lock' function. */
213 /* #undef HAVE_PTHREAD_MUTEX_LOCK */
214 
215 /* Define to 1 if you have the `setlocale' function. */
216 #define HAVE_SETLOCALE 1
217 
218 /* Define to 1 if you have the `setsockopt' function. */
219 #if defined (LINUX) || defined (_WIN32)
220 #define HAVE_SETSOCKOPT 1
221 #endif
222 
223 /* Define to 1 if you have the `setvbuf' function. */
224 #define HAVE_SETVBUF 1
225 
226 /* Define to 1 if you have the `shutdown' function. */
227 #ifdef LINUX
228 #define HAVE_SHUTDOWN 1
229 #endif
230 
231 /* Define to 1 if you have the `signal' function. */
232 #define HAVE_SIGNAL 1
233 
234 /* Define to 1 if you have the <signal.h> header file. */
235 #define HAVE_SIGNAL_H 1
236 
237 /* Define to 1 if you have the `snprintf' function. */
238 #if defined( UNX ) || defined(_MSC_VER)
239 #define HAVE_SNPRINTF 1
240 #endif
241 
242 /* Define to 1 if the system has the type `socklen_t'. */
243 #ifdef UNX
244 #define HAVE_SOCKLEN_T 1
245 #endif
246 
247 /* Define to 1 if you have the `SSL_SESSION_cmp' function. */
248 /* #undef HAVE_SSL_SESSION_CMP */
249 
250 /* Define to 1 if you have the <stdarg.h> header file. */
251 #define HAVE_STDARG_H 1
252 
253 /* Define to 1 if you have the <stdint.h> header file. */
254 #define HAVE_STDINT_H 1
255 
256 /* Define to 1 if you have the <stdlib.h> header file. */
257 #define HAVE_STDLIB_H 1
258 
259 /* Define to 1 if you have the `stpcpy' function. */
260 #ifdef LINUX
261 #define HAVE_STPCPY 1
262 #endif
263 
264 /* Define to 1 if you have the `strcasecmp' function. */
265 #ifdef UNX
266 #define HAVE_STRCASECMP 1
267 #endif
268 
269 #ifdef _WIN32
270 #define strcasecmp strcmpi
271 #endif
272 
273 /* Define to 1 if you have the `strerror_r' function. */
274 #ifdef LINUX
275 #define HAVE_STRERROR_R 1
276 #endif
277 
278 /* Define to 1 if you have the <strings.h> header file. */
279 #ifdef UNX
280 #define HAVE_STRINGS_H 1
281 #endif
282 
283 /* Define to 1 if you have the <string.h> header file. */
284 #define HAVE_STRING_H 1
285 
286 /* Define to 1 if you have the `strtoll' function. */
287 #define HAVE_STRTOLL 1
288 
289 /* Define to 1 if you have the `strtoq' function. */
290 /* #undef HAVE_STRTOQ */
291 
292 /* Define to 1 if `tm_gmtoff' is member of `struct tm'. */
293 #ifdef LINUX
294 #define HAVE_STRUCT_TM_TM_GMTOFF 1
295 #endif
296 
297 /* Define to 1 if `__tm_gmtoff' is member of `struct tm'. */
298 /* #undef HAVE_STRUCT_TM___TM_GMTOFF */
299 
300 /* Define to 1 if you have the <sys/limits.h> header file. */
301 /* #undef HAVE_SYS_LIMITS_H */
302 
303 /* Define to 1 if you have the <sys/poll.h> header file. */
304 #ifdef UNX
305 #define HAVE_SYS_POLL_H 1
306 #endif
307 
308 /* Define to 1 if you have the <sys/select.h> header file. */
309 #ifdef UNX
310 #define HAVE_SYS_SELECT_H 1
311 #endif
312 
313 /* Define to 1 if you have the <sys/socket.h> header file. */
314 #ifdef UNX
315 #define HAVE_SYS_SOCKET_H 1
316 #endif
317 
318 /* Define to 1 if you have the <sys/stat.h> header file. */
319 #define HAVE_SYS_STAT_H 1
320 
321 /* Define to 1 if you have the <sys/time.h> header file. */
322 #ifdef UNX
323 #define HAVE_SYS_TIME_H 1
324 #endif
325 
326 /* Define to 1 if you have the <sys/types.h> header file. */
327 #define HAVE_SYS_TYPES_H 1
328 
329 /* Define if the timezone global is available */
330 #ifndef MACOSX
331 #define HAVE_TIMEZONE 1
332 #if defined(_MSC_VER)
333 #define timezone _timezone
334 #endif
335 #endif
336 
337 /* Use trio printf replacement library */
338 /* #undef HAVE_TRIO */
339 
340 /* Define to 1 if you have the <trio.h> header file. */
341 /* #undef HAVE_TRIO_H */
342 
343 /* Define to 1 if you have the <unistd.h> header file. */
344 #ifdef UNX
345 #define HAVE_UNISTD_H 1
346 #endif
347 
348 /* Define to 1 if you have the `usleep' function. */
349 #ifdef UNX
350 #define HAVE_USLEEP 1
351 #endif
352 
353 /* Define to 1 if you have the `vsnprintf' function. */
354 #if defined(UNX) || defined(_MSC_VER)
355 #define HAVE_VSNPRINTF 1
356 #endif
357 
358 #ifdef __MINGW32__
359 #define vsnprintf _vsnprintf
360 #endif
361 
362 /* Define to be location of localedir */
363 /* #undef LOCALEDIR */
364 
365 /* Define to the sub-directory in which libtool stores uninstalled libraries.
366    */
367 /* #undef LT_OBJDIR */
368 
369 /* Defined when neon is built as a library */
370 #define NEON_IS_LIBRARY 1
371 
372 /* Define to be the neon version string */
373 #define NEON_VERSION "0.29.5"
374 
375 /* Define to enable debugging */
376 /* #undef NE_DEBUGGING */
377 
378 /* Define to be printf format string for ne_off_t */
379 /* #undef NE_FMT_NE_OFF_T */
380 
381 /* Define to be printf format string for off64_t */
382 #define NE_FMT_OFF64_T "lld"
383 
384 /* Define to be printf format string for off_t */
385 #define NE_FMT_OFF_T "ld"
386 
387 /* Define to be printf format string for size_t */
388 #define NE_FMT_SIZE_T "u"
389 
390 /* Define to be printf format string for ssize_t */
391 #define NE_FMT_SSIZE_T "d"
392 
393 /* Define to be printf format string for time_t */
394 #define NE_FMT_TIME_T "ld"
395 
396 /* Define to be printf format string for XML_Size */
397 /* #undef NE_FMT_XML_SIZE */
398 
399 /* Defined if DAV is supported */
400 #define NE_HAVE_DAV 1
401 
402 /* Defined if I18N is supported */
403 /* #undef NE_HAVE_I18N */
404 
405 /* Defined if IPV6 is supported */
406 #define NE_HAVE_IPV6 1
407 
408 /* Defined if LFS is supported */
409 #define NE_HAVE_LFS 1
410 
411 /* Defined if LIBPXY is supported */
412 /* #undef NE_HAVE_LIBPXY */
413 
414 /* Defined if SSL is supported */
415 #define NE_HAVE_SSL
416 
417 /* Defined if TS_SSL is supported */
418 /* #undef NE_HAVE_TS_SSL */
419 
420 /* Defined if ZLIB is supported */
421 #define NE_HAVE_ZLIB 1
422 
423 /* Define to be filename of an SSL CA root bundle */
424 /* #undef NE_SSL_CA_BUNDLE */
425 
426 /* Define if poll() should be used */
427 #ifdef UNX
428 #define NE_USE_POLL 1
429 #endif
430 
431 /* Define to be neon library major version */
432 #define NE_VERSION_MAJOR (0)
433 
434 /* Define to be neon library minor version */
435 #define NE_VERSION_MINOR (29)
436 
437 /* Define to be neon library patch version */
438 #define NE_VERSION_PATCH (5)
439 
440 /* Define to the address where bug reports for this package should be sent. */
441 #define PACKAGE_BUGREPORT "neon@webdav.org"
442 
443 /* Define to the full name of this package. */
444 #define PACKAGE_NAME "neon"
445 
446 /* Define to the full name and version of this package. */
447 #define PACKAGE_STRING "neon 0.29.5"
448 
449 /* Define to the one symbol short name of this package. */
450 #define PACKAGE_TARNAME "neon"
451 
452 /* Define to the version of this package. */
453 #define PACKAGE_VERSION "0.29.5"
454 
455 /* The size of `int', as computed by sizeof. */
456 #define SIZEOF_INT 4
457 
458 /* The size of `long', as computed by sizeof. */
459 #define SIZEOF_LONG 4
460 
461 /* The size of `long long', as computed by sizeof. */
462 #define SIZEOF_LONG_LONG 8
463 
464 /* The size of `off64_t', as computed by sizeof. */
465 #define SIZEOF_OFF64_T 8
466 
467 /* The size of `off_t', as computed by sizeof. */
468 #define SIZEOF_OFF_T 4
469 
470 /* The size of `size_t', as computed by sizeof. */
471 #define SIZEOF_SIZE_T 4
472 
473 /* The size of `ssize_t', as computed by sizeof. */
474 #define SIZEOF_SSIZE_T 4
475 
476 /* The size of `time_t', as computed by sizeof. */
477 #define SIZEOF_TIME_T 4
478 
479 /* The size of `XML_Size', as computed by sizeof. */
480 /* #undef SIZEOF_XML_SIZE */
481 
482 /* Define to 1 if you have the ANSI C header files. */
483 #ifdef __sun
484 #define STDC_HEADERS 1
485 #endif
486 
487 /* Define to 1 if strerror_r returns char *. */
488 #ifdef LINUX
489 #define STRERROR_R_CHAR_P 1
490 #endif
491 
492 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
493 #define TIME_WITH_SYS_TIME 1
494 
495 /* Define if getaddrinfo supports AI_ADDRCONFIG */
496 /* #undef USE_GAI_ADDRCONFIG */
497 
498 /* Define if getaddrinfo() should be used */
499 #define USE_GETADDRINFO 1
500 
501 /* Enable extensions on AIX 3, Interix.  */
502 #ifndef _ALL_SOURCE
503 # undef _ALL_SOURCE
504 #endif
505 /* Enable GNU extensions on systems that have them.  */
506 #ifndef _GNU_SOURCE
507 # undef _GNU_SOURCE
508 #endif
509 /* Enable threading extensions on Solaris.  */
510 #ifndef _POSIX_PTHREAD_SEMANTICS
511 # undef _POSIX_PTHREAD_SEMANTICS
512 #endif
513 /* Enable extensions on HP NonStop.  */
514 #ifndef _TANDEM_SOURCE
515 # undef _TANDEM_SOURCE
516 #endif
517 /* Enable general extensions on Solaris.  */
518 #ifndef __EXTENSIONS__
519 # undef __EXTENSIONS__
520 #endif
521 
522 
523 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
524    significant byte first (like Motorola and SPARC, unlike Intel). */
525 #if defined (__sun) && defined (SPARC)
526 #define WORDS_BIGENDIAN 1
527 #endif
528 
529 /* Always defined to enable GNU extensions */
530 #define _GNU_SOURCE 1
531 
532 /* Define to 1 if on MINIX. */
533 /* #undef _MINIX */
534 
535 /* Define to 2 if the system does not provide POSIX.1 features except with
536    this defined. */
537 /* #undef _POSIX_1_SOURCE */
538 
539 /* Define to 1 if you need to in order for `stat' and other things to work. */
540 /* #undef _POSIX_SOURCE */
541 
542 /* Define to empty if `const' does not conform to ANSI C. */
543 /* #undef const */
544 
545 /* Define if in_addr_t is not available */
546 /* #undef in_addr_t */
547 
548 /* Define to `__inline__' or `__inline' if that's what the C compiler
549    calls it, or to nothing if 'inline' is not supported under any name.  */
550 #ifndef __cplusplus
551 #if defined (__sun) && defined (__SUNPRO_C)
552 #define inline
553 #endif
554 #endif
555 
556 /* Define to `long int' if <sys/types.h> does not define. */
557 /* #undef off_t */
558 
559 /* Define to `int' if <sys/types.h> does not define. */
560 /* #undef pid_t */
561 
562 /* Define to `unsigned int' if <sys/types.h> does not define. */
563 /* #undef size_t */
564 
565 /* Define if socklen_t is not available */
566 /* #undef socklen_t */
567 
568 /* MS IIS does not send Lock-Token response header after creation of a */
569 /* new lock. This violates RFC, but... if we want to talk with this   */
570 /* beast we need a workaround */
571 #define IIS_LOCK_BUG_WORKAROUND 1
572 
573 
574 /* Enable leak-tracking versions of ne_*alloc when NEON_MEMLEAK is enabled */
575 #ifdef NEON_MEMLEAK
576 # include "memleak.h"
577 #endif
578 
579 #if defined(HAVE_STPCPY) && defined(HAVE_DECL_STPCPY) && !HAVE_DECL_STPCPY && !defined(stpcpy)
580 char *stpcpy(char *, const char *);
581 #endif
582 
583 #ifdef _WIN32
584 
585 #include <io.h>
586 
587 #define HAVE_MEMCPY 1
588 
589 #define strncasecmp strnicmp
590 #define inline      __inline
591 #define WIN32_LEAN_AND_MEAN
592 #define NOUSER
593 #define NOGDI
594 #define NONLS
595 #define NOCRYPT
596 
597 #define HAVE_SSPI 1
598 
599 #endif
600