Version 4.0.0.1, tag libreoffice-4.0.0.1
[LibreOffice.git] / neon / configs / config.h
blob6f715e3aedd08e7902a71a82d4bfaaa1e916fbed
1 /* Define to specific EGD socket path */
2 /* #undef EGD_PATH */
4 /* Define if EGD should be supported */
5 /* #undef ENABLE_EGD */
7 /* Define if GSS_C_NT_HOSTBASED_SERVICE is not defined otherwise */
8 /* #undef GSS_C_NT_HOSTBASED_SERVICE */
10 /* Define to 1 if you have the <arpa/inet.h> header file. */
11 #ifdef UNX
12 #define HAVE_ARPA_INET_H 1
13 #endif
15 /* Define to 1 if you have the `bind_textdomain_codeset' function. */
16 /* #undef HAVE_BIND_TEXTDOMAIN_CODESET 1 */
18 /* Define to 1 if you have the declaration of `h_errno', and to 0 if you
19 don't. */
20 #ifdef WIN32
21 #define HAVE_DECL_H_ERRNO 1
22 #endif
24 /* Define to 1 if you have the declaration of `stpcpy', and to 0 if you don't.
26 #ifdef LINUX
27 #define HAVE_DECL_STPCPY 1
28 #endif
30 /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
31 don't. */
32 #ifdef LINUX
33 #define HAVE_DECL_STRERROR_R 1
34 #endif
36 /* Define to 1 if you have the <dlfcn.h> header file. */
37 #ifdef UNX
38 #define HAVE_DLFCN_H 1
39 #endif
41 /* Define to 1 if you have the <errno.h> header file. */
42 #define HAVE_ERRNO_H 1
44 /* Define if you have expat */
45 /* #undef HAVE_EXPAT */
47 /* Define to 1 if you have the `fstat64' function. */
48 #define HAVE_FSTAT64
50 /* Define to 1 if you have the `gai_strerror' function. */
51 #define HAVE_GAI_STRERROR 1
53 /* Define if GnuTLS support is enabled */
54 /* #undef HAVE_GNUTLS */
56 /* Define to 1 if you have the `gnutls_session_get_data2' function. */
57 /* #undef HAVE_GNUTLS_SESSION_GET_DATA2 */
59 /* Define if GSSAPI support is enabled */
60 /* #undef HAVE_GSSAPI */
62 /* Define to 1 if you have the <gssapi/gssapi_generic.h> header file. */
63 /* #undef HAVE_GSSAPI_GSSAPI_GENERIC_H */
65 /* Define to 1 if you have the <gssapi/gssapi.h> header file. */
66 /* #undef HAVE_GSSAPI_GSSAPI_H */
68 /* Define to 1 if you have the <gssapi.h> header file. */
69 /* #undef HAVE_GSSAPI_H */
71 /* Define to 1 if you have the `gss_init_sec_context' function. */
72 /* #undef HAVE_GSS_INIT_SEC_CONTEXT */
74 /* Define to 1 if you have the `hstrerror' function. */
75 /* #undef HAVE_HSTRERROR */
77 /* Define to 1 if you have the `inet_ntop' function. */
78 #ifdef UNX
79 #define HAVE_INET_NTOP 1
80 #endif
82 /* Define to 1 if you have the <inttypes.h> header file. */
83 #ifdef UNX
84 #define HAVE_INTTYPES_H 1
85 #endif
87 /* Define to 1 if you have the `isatty' function. */
88 #define HAVE_ISATTY 1
90 /* Define to 1 if you have the <libintl.h> header file. */
91 /* #undef HAVE_LIBINTL_H */
93 /* Define if you have libxml */
94 #define HAVE_LIBXML 1
96 /* Define to 1 if you have the <libxml/parser.h> header file. */
97 #define HAVE_LIBXML_PARSER_H 1
99 /* Define to 1 if you have the <libxml/xmlversion.h> header file. */
100 #define HAVE_LIBXML_XMLVERSION_H 1
102 /* Define to 1 if you have the <limits.h> header file. */
103 #define HAVE_LIMITS_H 1
105 /* Define to 1 if you have the <locale.h> header file. */
106 #define HAVE_LOCALE_H 1
108 /* Define to 1 if you have the `lseek64' function. */
109 #define HAVE_LSEEK64 1
111 /* Define to 1 if you have the <memory.h> header file. */
112 #define HAVE_MEMORY_H 1
114 /* Define to 1 if you have the <netdb.h> header file. */
115 #ifdef UNX
116 #define HAVE_NETDB_H 1
117 #endif
119 /* Define to 1 if you have the <netinet/in.h> header file. */
120 #ifdef UNX
121 #define HAVE_NETINET_IN_H 1
122 #endif
124 /* Define to 1 if you have the <netinet/tcp.h> header file. */
125 #ifdef UNX
126 #define HAVE_NETINET_TCP_H 1
127 #endif
129 /* Define if OpenSSL support is enabled */
130 #define HAVE_OPENSSL 1
132 /* Define to 1 if you have the <openssl/opensslv.h> header file. */
133 #define HAVE_OPENSSL_OPENSSLV_H 1
135 /* Define to 1 if you have the <openssl/ssl.h> header file. */
136 #define HAVE_OPENSSL_SSL_H 1
138 /* Define to 1 if you have the `pipe' function. */
139 #define HAVE_PIPE 1
141 /* Define to 1 if you have the `poll' function. */
142 #define HAVE_POLL 1
144 /* Define to 1 if you have the `pthread_mutex_init' function. */
145 /* #undef HAVE_PTHREAD_MUTEX_INIT */
147 /* Define to 1 if you have the `pthread_mutex_lock' function. */
148 /* #undef HAVE_PTHREAD_MUTEX_LOCK */
150 /* Define to 1 if you have the `setlocale' function. */
151 #define HAVE_SETLOCALE 1
153 /* Define to 1 if you have the `setsockopt' function. */
154 #if defined (LINUX) || defined (WIN32)
155 #define HAVE_SETSOCKOPT 1
156 #endif
158 /* Define to 1 if you have the `setvbuf' function. */
159 #define HAVE_SETVBUF 1
161 /* Define to 1 if you have the `shutdown' function. */
162 #ifdef LINUX
163 #define HAVE_SHUTDOWN 1
164 #endif
166 /* Define to 1 if you have the `signal' function. */
167 #define HAVE_SIGNAL 1
169 /* Define to 1 if you have the <signal.h> header file. */
170 #define HAVE_SIGNAL_H 1
172 /* Define to 1 if you have the `snprintf' function. */
173 #ifdef UNX
174 #define HAVE_SNPRINTF 1
175 #endif
177 #ifdef WIN32
178 #define snprintf _snprintf
179 #endif
181 /* Define to 1 if you have the <socks.h> header file. */
182 /* #undef HAVE_SOCKS_H */
184 /* Define to 1 if you have the <stdarg.h> header file. */
185 #define HAVE_STDARG_H 1
187 /* Define to 1 if you have the <stdint.h> header file. */
188 #define HAVE_STDINT_H 1
190 /* Define to 1 if you have the <stdlib.h> header file. */
191 #define HAVE_STDLIB_H 1
193 /* Define to 1 if you have the `stpcpy' function. */
194 #ifdef LINUX
195 #define HAVE_STPCPY 1
196 #endif
198 /* Define to 1 if you have the `strcasecmp' function. */
199 #ifdef UNX
200 #define HAVE_STRCASECMP 1
201 #endif
203 #ifdef WIN32
204 #define strcasecmp strcmpi
205 #endif
207 /* Define to 1 if you have the `strerror_r' function. */
208 #ifdef LINUX
209 #define HAVE_STRERROR_R 1
210 #endif
212 /* Define to 1 if you have the <strings.h> header file. */
213 #ifdef UNX
214 #define HAVE_STRINGS_H 1
215 #endif
217 /* Define to 1 if you have the <string.h> header file. */
218 #define HAVE_STRING_H 1
220 /* Define to 1 if you have the `strtoll' function. */
221 #define HAVE_STRTOLL 1
223 /* Define to 1 if you have the `strtoq' function. */
224 /* #undef HAVE_STRTOQ */
226 /* Define to 1 if `tm_gmtoff' is member of `struct tm'. */
227 #ifdef LINUX
228 #define HAVE_STRUCT_TM_TM_GMTOFF 1
229 #endif
231 /* Define to 1 if `__tm_gmtoff' is member of `struct tm'. */
232 /* #undef HAVE_STRUCT_TM___TM_GMTOFF */
234 /* Define to 1 if you have the <sys/limits.h> header file. */
235 /* #undef HAVE_SYS_LIMITS_H */
237 /* Define to 1 if you have the <sys/poll.h> header file. */
238 #ifdef UNX
239 #define HAVE_SYS_POLL_H 1
240 #endif
242 /* Define to 1 if you have the <sys/select.h> header file. */
243 #ifdef UNX
244 #define HAVE_SYS_SELECT_H 1
245 #endif
247 /* Define to 1 if you have the <sys/socket.h> header file. */
248 #ifdef UNX
249 #define HAVE_SYS_SOCKET_H 1
250 #endif
252 /* Define to 1 if you have the <sys/stat.h> header file. */
253 #define HAVE_SYS_STAT_H 1
255 /* Define to 1 if you have the <sys/time.h> header file. */
256 #ifdef UNX
257 #define HAVE_SYS_TIME_H 1
258 #endif
260 /* Define to 1 if you have the <sys/types.h> header file. */
261 #define HAVE_SYS_TYPES_H 1
263 /* Define if the timezone global is available */
264 #ifndef MACOSX
265 #define HAVE_TIMEZONE 1
266 #endif
268 /* Use trio printf replacement library */
269 /* #undef HAVE_TRIO */
271 /* Define to 1 if you have the <trio.h> header file. */
272 /* #undef HAVE_TRIO_H */
274 /* Define to 1 if you have the <unistd.h> header file. */
275 #ifdef UNX
276 #define HAVE_UNISTD_H 1
277 #endif
279 /* Define to 1 if you have the `usleep' function. */
280 #ifdef UNX
281 #define HAVE_USLEEP 1
282 #endif
284 /* Define to 1 if you have the `vsnprintf' function. */
285 #if defined( UNX ) || defined(_MSC_VER)
286 #define HAVE_VSNPRINTF 1
287 #endif
289 #ifdef __MINGW32__
290 #define vsnprintf _vsnprintf
291 #endif
293 /* Define to be location of localedir */
294 /* #undef LOCALEDIR */
296 /* Defined when neon is built as a library */
297 #define NEON_IS_LIBRARY 1
299 /* Define to be the neon version string */
300 #define NEON_VERSION "0.29.5"
302 /* Define to enable debugging */
303 /* #undef NE_DEBUGGING */
305 /* Define to be printf format string for off64_t */
306 #define NE_FMT_OFF64_T "lld"
308 /* Define to be printf format string for off_t */
309 #define NE_FMT_OFF_T "ld"
311 /* Define to be printf format string for size_t */
312 #define NE_FMT_SIZE_T "u"
314 /* Define to be printf format string for ssize_t */
315 #define NE_FMT_SSIZE_T "d"
317 /* Define to be printf format string for time_t */
318 #define NE_FMT_TIME_T "ld"
320 /* Defined if DAV is supported */
321 #define NE_HAVE_DAV 1
323 /* Defined if I18N is supported */
324 /* #undef NE_HAVE_I18N 1 */
326 /* Defined if IPV6 is supported */
327 #define NE_HAVE_IPV6 1
329 /* Defined if LFS is supported */
330 #define NE_HAVE_LFS 1
332 /* Defined if SOCKS is supported */
333 /* #undef NE_HAVE_SOCKS */
335 /* Defined if SSL is supported */
336 #define NE_HAVE_SSL
338 /* Defined if TS_SSL is supported */
339 /* #undef NE_HAVE_TS_SSL */
341 /* Defined if ZLIB is supported */
342 #define NE_HAVE_ZLIB 1
344 /* Define to be filename of an SSL CA root bundle */
345 /* #undef NE_SSL_CA_BUNDLE */
347 /* Define if poll() should be used */
348 #ifdef UNX
349 #define NE_USE_POLL 1
350 #endif
352 /* Define to be neon library major version */
353 #define NE_VERSION_MAJOR (0)
355 /* Define to be neon library minor version */
356 #define NE_VERSION_MINOR (29)
358 /* Define to be neon library patch version */
359 #define NE_VERSION_PATCH (5)
361 /* Define to the address where bug reports for this package should be sent. */
362 #define PACKAGE_BUGREPORT "neon@webdav.org"
364 /* Define to the full name of this package. */
365 #define PACKAGE_NAME "neon"
367 /* Define to the full name and version of this package. */
368 #define PACKAGE_STRING "neon 0.29.5"
370 /* Define to the one symbol short name of this package. */
371 #define PACKAGE_TARNAME "neon"
373 /* Define to the version of this package. */
374 #define PACKAGE_VERSION "0.29.5"
376 /* The size of a `int', as computed by sizeof. */
377 #define SIZEOF_INT 4
379 /* The size of a `long', as computed by sizeof. */
380 #define SIZEOF_LONG 4
382 /* The size of a `long long', as computed by sizeof. */
383 #define SIZEOF_LONG_LONG 8
385 /* The size of a `off64_t', as computed by sizeof. */
386 #define SIZEOF_OFF64_T 8
388 /* The size of a `off_t', as computed by sizeof. */
389 #define SIZEOF_OFF_T 4
391 /* The size of a `size_t', as computed by sizeof. */
392 #define SIZEOF_SIZE_T 4
394 /* The size of a `ssize_t', as computed by sizeof. */
395 #define SIZEOF_SSIZE_T 4
397 /* The size of a `time_t', as computed by sizeof. */
398 #define SIZEOF_TIME_T 4
400 /* Define to 1 if you have the ANSI C header files. */
401 #ifdef SOLARIS
402 #define STDC_HEADERS 1
403 #endif
405 /* Define to 1 if strerror_r returns char *. */
406 #ifdef LINUX
407 #define STRERROR_R_CHAR_P 1
408 #endif
410 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
411 #define TIME_WITH_SYS_TIME 1
413 /* Define if getaddrinfo supports AI_ADDRCONFIG */
414 /* #undef USE_GAI_ADDRCONFIG */
416 /* Define if getaddrinfo() should be used */
417 #define USE_GETADDRINFO 1
419 /* Define to 1 if your processor stores words with the most significant byte
420 first (like Motorola and SPARC, unlike Intel and VAX). */
421 #if defined (SOLARIS) && defined (SPARC)
422 #define WORDS_BIGENDIAN 1
423 #endif
425 /* Always defined to enable GNU extensions */
426 #define _GNU_SOURCE 1
428 /* Define to empty if `const' does not conform to ANSI C. */
429 /* #undef const */
431 /* Define if in_addr_t is not available */
432 /* #undef in_addr_t */
434 /* Define to `__inline__' or `__inline' if that's what the C compiler
435 calls it, or to nothing if 'inline' is not supported under any name. */
436 #ifndef __cplusplus
437 #if defined (SOLARIS) && defined (__SUNPRO_C)
438 #define inline
439 #endif
440 #endif
442 /* Define to `long' if <sys/types.h> does not define. */
443 /* #undef off_t */
445 /* Define to `int' if <sys/types.h> does not define. */
446 /* #undef pid_t */
448 /* Define to `unsigned' if <sys/types.h> does not define. */
449 /* #undef size_t */
451 /* MS IIS does not send Lock-Token response header after creation of a */
452 /* new lock. This violates RFC, but... if we want to talk with this */
453 /* beast we need a workaround */
454 #define IIS_LOCK_BUG_WORKAROUND 1
456 /* Enable leak-tracking versions of ne_*alloc when NEON_MEMLEAK is enabled */
457 #ifdef NEON_MEMLEAK
458 # include "memleak.h"
459 #endif
461 #if defined(HAVE_STPCPY) && defined(HAVE_DECL_STPCPY) && !HAVE_DECL_STPCPY && !defined(stpcpy)
462 char *stpcpy(char *, const char *);
463 #endif
465 #ifdef WIN32
467 #include <io.h>
469 #define HAVE_MEMCPY 1
471 #define strncasecmp strnicmp
472 #define inline __inline
473 #define WIN32_LEAN_AND_MEAN
474 #define NOUSER
475 #define NOGDI
476 #define NONLS
477 #define NOCRYPT
479 #endif
481 #ifdef WIN32
482 #define HAVE_SSPI 1
483 #else
484 #define HAVE_NTLM 1
485 #endif