Code

patches: Removed bts573638-rrdcgi-segfault and bts573299-rrdgraph-M.
[pkg-rrdtool.git] / rrd_config.h.in
1 /* rrd_config.h.in.  Generated from configure.ac by autoheader.  */
4 #ifndef RRD_CONFIG_H
5 #define RRD_CONFIG_H
7 /* IEEE can be prevented from raising signals with fpsetmask(0) */
8 #undef MUST_DISABLE_FPMASK
10 /* IEEE math only works if SIGFPE gets actively set to IGNORE */
11 #undef MUST_DISABLE_SIGFPE
13 /* realloc does not support NULL as argument */
14 #undef NO_NULL_REALLOC
16 /* lets enable madvise defines in NetBSD */ 
17 #if defined(__NetBSD__)
18 # if !defined(_NETBSD_SOURCE)
19 #  define _NETBSD_SOURCE
20 # endif
21 #endif
25 /* Define if building universal (internal helper macro) */
26 #undef AC_APPLE_UNIVERSAL_BUILD
28 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
29    systems. This function is required for `alloca.c' support on those systems.
30    */
31 #undef CRAY_STACKSEG_END
33 /* Define to 1 if using `alloca.c'. */
34 #undef C_ALLOCA
36 /* Define to 1 if translation of program messages to the user's native
37    language is requested. */
38 #undef ENABLE_NLS
40 /* Define to 1 if you have `alloca', as a function or macro. */
41 #undef HAVE_ALLOCA
43 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
44    */
45 #undef HAVE_ALLOCA_H
47 /* Define to 1 if you have the `argz_count' function. */
48 #undef HAVE_ARGZ_COUNT
50 /* Define to 1 if you have the <argz.h> header file. */
51 #undef HAVE_ARGZ_H
53 /* Define to 1 if you have the `argz_next' function. */
54 #undef HAVE_ARGZ_NEXT
56 /* Define to 1 if you have the `argz_stringify' function. */
57 #undef HAVE_ARGZ_STRINGIFY
59 /* Define to 1 if you have the `asprintf' function. */
60 #undef HAVE_ASPRINTF
62 /* set to 1 if msync with MS_ASYNC fails to update mtime */
63 #undef HAVE_BROKEN_MS_ASYNC
65 /* Define to 1 if the compiler understands __builtin_expect. */
66 #undef HAVE_BUILTIN_EXPECT
68 /* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the
69    CoreFoundation framework. */
70 #undef HAVE_CFLOCALECOPYCURRENT
72 /* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in
73    the CoreFoundation framework. */
74 #undef HAVE_CFPREFERENCESCOPYAPPVALUE
76 /* Define to 1 if you have the `chdir' function. */
77 #undef HAVE_CHDIR
79 /* Define to 1 if you have the `chroot' function. */
80 #undef HAVE_CHROOT
82 /* Define to 1 if you have the `class' function. */
83 #undef HAVE_CLASS
85 /* Define to 1 if you have the <ctype.h> header file. */
86 #undef HAVE_CTYPE_H
88 /* Define if the GNU dcgettext() function is already present or preinstalled.
89    */
90 #undef HAVE_DCGETTEXT
92 /* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you
93    don't. */
94 #undef HAVE_DECL_FEOF_UNLOCKED
96 /* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if
97    you don't. */
98 #undef HAVE_DECL_FGETS_UNLOCKED
100 /* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you
101    don't. */
102 #undef HAVE_DECL_GETC_UNLOCKED
104 /* Define to 1 if you have the declaration of `madvise', and to 0 if you
105    don't. */
106 #undef HAVE_DECL_MADVISE
108 /* Define to 1 if you have the declaration of `posix_fadvise', and to 0 if you
109    don't. */
110 #undef HAVE_DECL_POSIX_FADVISE
112 /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
113    don't. */
114 #undef HAVE_DECL_STRERROR_R
116 /* Define to 1 if you have the declaration of `_snprintf', and to 0 if you
117    don't. */
118 #undef HAVE_DECL__SNPRINTF
120 /* Define to 1 if you have the declaration of `_snwprintf', and to 0 if you
121    don't. */
122 #undef HAVE_DECL__SNWPRINTF
124 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
125    */
126 #undef HAVE_DIRENT_H
128 /* Define to 1 if you have the <dlfcn.h> header file. */
129 #undef HAVE_DLFCN_H
131 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
132 #undef HAVE_DOPRNT
134 /* Define to 1 if you have the <errno.h> header file. */
135 #undef HAVE_ERRNO_H
137 /* Define to 1 if you have the <fcntl.h> header file. */
138 #undef HAVE_FCNTL_H
140 /* Define to 1 if you have the `fdatasync' function. */
141 #undef HAVE_FDATASYNC
143 /* Define to 1 if you have the <features.h> header file. */
144 #undef HAVE_FEATURES_H
146 /* Define to 1 if you have the `finite' function. */
147 #undef HAVE_FINITE
149 /* Define to 1 if you have the <float.h> header file. */
150 #undef HAVE_FLOAT_H
152 /* Define to 1 if you have the `fpclass' function. */
153 #undef HAVE_FPCLASS
155 /* Define to 1 if you have the `fpclassify' function. */
156 #undef HAVE_FPCLASSIFY
158 /* Define to 1 if you have the `fp_class' function. */
159 #undef HAVE_FP_CLASS
161 /* Define to 1 if you have the <fp_class.h> header file. */
162 #undef HAVE_FP_CLASS_H
164 /* Define to 1 if you have the `fsync' function. */
165 #undef HAVE_FSYNC
167 /* Define to 1 if you have the `fwprintf' function. */
168 #undef HAVE_FWPRINTF
170 /* Define to 1 if you have the `getaddrinfo' function. */
171 #undef HAVE_GETADDRINFO
173 /* Define to 1 if you have the `getcwd' function. */
174 #undef HAVE_GETCWD
176 /* Define to 1 if you have the `getegid' function. */
177 #undef HAVE_GETEGID
179 /* Define to 1 if you have the `geteuid' function. */
180 #undef HAVE_GETEUID
182 /* Define to 1 if you have the `getgid' function. */
183 #undef HAVE_GETGID
185 /* Define to 1 if you have the `getpagesize' function. */
186 #undef HAVE_GETPAGESIZE
188 /* Define to 1 if you have the `getrusage' function. */
189 #undef HAVE_GETRUSAGE
191 /* Define if the GNU gettext() function is already present or preinstalled. */
192 #undef HAVE_GETTEXT
194 /* Define to 1 if you have the `gettimeofday' function. */
195 #undef HAVE_GETTIMEOFDAY
197 /* Define to 1 if you have the `getuid' function. */
198 #undef HAVE_GETUID
200 /* Define if you have the iconv() function and it works. */
201 #undef HAVE_ICONV
203 /* Define to 1 if you have the <ieeefp.h> header file. */
204 #undef HAVE_IEEEFP_H
206 /* Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>. */
207 #undef HAVE_INTMAX_T
209 /* Define to 1 if you have the <inttypes.h> header file. */
210 #undef HAVE_INTTYPES_H
212 /* Define if <inttypes.h> exists, doesn't clash with <sys/types.h>, and
213    declares uintmax_t. */
214 #undef HAVE_INTTYPES_H_WITH_UINTMAX
216 /* Define to 1 if you have the global variable 'int opterr'. */
217 #undef HAVE_INT_OPTERR
219 /* Define to 1 if you have the `isfinite' function. */
220 #undef HAVE_ISFINITE
222 /* Define to 1 if you have the `isinf' function. */
223 #undef HAVE_ISINF
225 /* Define to 1 if you have the `isnan' function. */
226 #undef HAVE_ISNAN
228 /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
229 #undef HAVE_LANGINFO_CODESET
231 /* Define to 1 if you have the <langinfo.h> header file. */
232 #undef HAVE_LANGINFO_H
234 /* Define if your <locale.h> file defines LC_MESSAGES. */
235 #undef HAVE_LC_MESSAGES
237 /* have got libdbi installed */
238 #undef HAVE_LIBDBI
240 /* Define to 1 if you have the <libgen.h> header file. */
241 #undef HAVE_LIBGEN_H
243 /* Define to 1 if you have the `m' library (-lm). */
244 #undef HAVE_LIBM
246 /* Define to 1 if you have the <limits.h> header file. */
247 #undef HAVE_LIMITS_H
249 /* Define to 1 if the system has the type `long long int'. */
250 #undef HAVE_LONG_LONG_INT
252 /* Define to 1 if you have the <lualib.h> header file. */
253 #undef HAVE_LUALIB_H
255 /* Define to 1 if you have the <lua.h> header file. */
256 #undef HAVE_LUA_H
258 /* Define to 1 if you have the `madvise' function. */
259 #undef HAVE_MADVISE
261 /* Define to 1 if you have the <malloc.h> header file. */
262 #undef HAVE_MALLOC_H
264 /* Define to 1 if you have the <math.h> header file. */
265 #undef HAVE_MATH_H
267 /* Define to 1 if you have the `mbstowcs' function. */
268 #undef HAVE_MBSTOWCS
270 /* Define to 1 if you have the `memmove' function. */
271 #undef HAVE_MEMMOVE
273 /* Define to 1 if you have the <memory.h> header file. */
274 #undef HAVE_MEMORY_H
276 /* Define to 1 if you have the `mempcpy' function. */
277 #undef HAVE_MEMPCPY
279 /* Define to 1 if you have the `mktime' function. */
280 #undef HAVE_MKTIME
282 /* Define to 1 if you have the `mmap' function. */
283 #undef HAVE_MMAP
285 /* Define to 1 if you have the `msync' function. */
286 #undef HAVE_MSYNC
288 /* Define to 1 if you have the `munmap' function. */
289 #undef HAVE_MUNMAP
291 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
292 #undef HAVE_NDIR_H
294 /* Define to 1 if you have the `nl_langinfo' function. */
295 #undef HAVE_NL_LANGINFO
297 /* Define if you have <langinfo.h> and it defines the NL_LOCALE_NAME macro if
298    _GNU_SOURCE is defined. */
299 #undef HAVE_NL_LOCALE_NAME
301 /* Define to 1 if you have the `opendir' function. */
302 #undef HAVE_OPENDIR
304 /* Define to 1 if you have the `posix_fadvise' function. */
305 #undef HAVE_POSIX_FADVISE
307 /* Define to 1 if you have the `posix_madvise' function. */
308 #undef HAVE_POSIX_MADVISE
310 /* Define if your printf() function supports format strings with positions. */
311 #undef HAVE_POSIX_PRINTF
313 /* Define if you have POSIX threads libraries and header files. */
314 #undef HAVE_PTHREAD
316 /* Define if the <pthread.h> defines PTHREAD_MUTEX_RECURSIVE. */
317 #undef HAVE_PTHREAD_MUTEX_RECURSIVE
319 /* Define if the POSIX multithreading library has read/write locks. */
320 #undef HAVE_PTHREAD_RWLOCK
322 /* Define to 1 if you have the `putenv' function. */
323 #undef HAVE_PUTENV
325 /* Define to 1 if you have the `readdir' function. */
326 #undef HAVE_READDIR
328 /* Define to 1 if you have the `setenv' function. */
329 #undef HAVE_SETENV
331 /* Define to 1 if you have the `setlocale' function. */
332 #undef HAVE_SETLOCALE
334 /* Define to 1 if you have the <signal.h> header file. */
335 #undef HAVE_SIGNAL_H
337 /* Define to 1 if you have the `snprintf' function. */
338 #undef HAVE_SNPRINTF
340 /* Define to 1 if you have the `socket' function. */
341 #undef HAVE_SOCKET
343 /* Define to 1 if you have the <stddef.h> header file. */
344 #undef HAVE_STDDEF_H
346 /* Define to 1 if you have the <stdint.h> header file. */
347 #undef HAVE_STDINT_H
349 /* Define if <stdint.h> exists, doesn't clash with <sys/types.h>, and declares
350    uintmax_t. */
351 #undef HAVE_STDINT_H_WITH_UINTMAX
353 /* Define to 1 if you have the <stdio.h> header file. */
354 #undef HAVE_STDIO_H
356 /* Define to 1 if you have the <stdlib.h> header file. */
357 #undef HAVE_STDLIB_H
359 /* Define to 1 if you have the `stpcpy' function. */
360 #undef HAVE_STPCPY
362 /* Define to 1 if you have the `strcasecmp' function. */
363 #undef HAVE_STRCASECMP
365 /* Define to 1 if you have the `strchr' function. */
366 #undef HAVE_STRCHR
368 /* Define to 1 if you have the `strdup' function. */
369 #undef HAVE_STRDUP
371 /* Define to 1 if you have the `strerror' function. */
372 #undef HAVE_STRERROR
374 /* Define to 1 if you have the `strerror_r' function. */
375 #undef HAVE_STRERROR_R
377 /* Define to 1 if you have the `strftime' function. */
378 #undef HAVE_STRFTIME
380 /* Define to 1 if you have the <strings.h> header file. */
381 #undef HAVE_STRINGS_H
383 /* Define to 1 if you have the <string.h> header file. */
384 #undef HAVE_STRING_H
386 /* Define to 1 if you have the `strtoul' function. */
387 #undef HAVE_STRTOUL
389 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
390    */
391 #undef HAVE_SYS_DIR_H
393 /* Define to 1 if you have the <sys/mman.h> header file. */
394 #undef HAVE_SYS_MMAN_H
396 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
397    */
398 #undef HAVE_SYS_NDIR_H
400 /* Define to 1 if you have the <sys/param.h> header file. */
401 #undef HAVE_SYS_PARAM_H
403 /* Define to 1 if you have the <sys/resource.h> header file. */
404 #undef HAVE_SYS_RESOURCE_H
406 /* Define to 1 if you have the <sys/stat.h> header file. */
407 #undef HAVE_SYS_STAT_H
409 /* Define to 1 if you have the <sys/times.h> header file. */
410 #undef HAVE_SYS_TIMES_H
412 /* Define to 1 if you have the <sys/types.h> header file. */
413 #undef HAVE_SYS_TYPES_H
415 /* Define to 1 if you have the `tsearch' function. */
416 #undef HAVE_TSEARCH
418 /* Define to 1 if you have the `tzset' function. */
419 #undef HAVE_TZSET
421 /* Define if you have the 'uintmax_t' type in <stdint.h> or <inttypes.h>. */
422 #undef HAVE_UINTMAX_T
424 /* Define to 1 if you have the <unistd.h> header file. */
425 #undef HAVE_UNISTD_H
427 /* Define to 1 if the system has the type `unsigned long long int'. */
428 #undef HAVE_UNSIGNED_LONG_LONG_INT
430 /* Define to 1 if you have the `vasprintf' function. */
431 #undef HAVE_VASPRINTF
433 /* Define to 1 or 0, depending whether the compiler supports simple visibility
434    declarations. */
435 #undef HAVE_VISIBILITY
437 /* Define to 1 if you have the `vprintf' function. */
438 #undef HAVE_VPRINTF
440 /* Define to 1 if you have the `vsnprintf' function. */
441 #undef HAVE_VSNPRINTF
443 /* Define if you have the 'wchar_t' type. */
444 #undef HAVE_WCHAR_T
446 /* Define to 1 if you have the `wcslen' function. */
447 #undef HAVE_WCSLEN
449 /* Define if you have the 'wint_t' type. */
450 #undef HAVE_WINT_T
452 /* Define to 1 if you have the `_NL_TIME_WEEK_1STDAY' function. */
453 #undef HAVE__NL_TIME_WEEK_1STDAY
455 /* Define to 1 if you have the `__fsetlocking' function. */
456 #undef HAVE___FSETLOCKING
458 /* Define as const if the declaration of iconv() needs const. */
459 #undef ICONV_CONST
461 /* Define if integer division by zero raises signal SIGFPE. */
462 #undef INTDIV0_RAISES_SIGFPE
464 /* Define to the sub-directory in which libtool stores uninstalled libraries.
465    */
466 #undef LT_OBJDIR
468 /* Define to 1 if your C compiler doesn't accept -c and -o together. */
469 #undef NO_MINUS_C_MINUS_O
471 /* Name of package */
472 #undef PACKAGE
474 /* Define to the address where bug reports for this package should be sent. */
475 #undef PACKAGE_BUGREPORT
477 /* Define to the full name of this package. */
478 #undef PACKAGE_NAME
480 /* Define to the full name and version of this package. */
481 #undef PACKAGE_STRING
483 /* Define to the one symbol short name of this package. */
484 #undef PACKAGE_TARNAME
486 /* Define to the version of this package. */
487 #undef PACKAGE_VERSION
489 /* Define if <inttypes.h> exists and defines unusable PRI* macros. */
490 #undef PRI_MACROS_BROKEN
492 /* Define to necessary symbol if this constant uses a non-standard name on
493    your system. */
494 #undef PTHREAD_CREATE_JOINABLE
496 /* Define if the pthread_in_use() detection is hard. */
497 #undef PTHREAD_IN_USE_DETECTION_HARD
499 /* Vertical label angle: -90.0 (default) or 90.0 */
500 #undef RRDGRAPH_YLEGEND_ANGLE
502 /* Define as the maximum value of type 'size_t', if the system doesn't define
503    it. */
504 #undef SIZE_MAX
506 /* If using the C implementation of alloca, define if you know the
507    direction of stack growth for your system; otherwise it will be
508    automatically deduced at runtime.
509         STACK_DIRECTION > 0 => grows toward higher addresses
510         STACK_DIRECTION < 0 => grows toward lower addresses
511         STACK_DIRECTION = 0 => direction of growth unknown */
512 #undef STACK_DIRECTION
514 /* Define to 1 if you have the ANSI C header files. */
515 #undef STDC_HEADERS
517 /* Define to 1 if strerror_r returns char *. */
518 #undef STRERROR_R_CHAR_P
520 /* time_t is 32bit */
521 #undef TIME_T_IS_32BIT
523 /* time_t is 64bit */
524 #undef TIME_T_IS_64BIT
526 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
527 #undef TIME_WITH_SYS_TIME
529 /* Define to 1 if your <sys/time.h> declares `struct tm'. */
530 #undef TM_IN_SYS_TIME
532 /* Define if the POSIX multithreading library can be used. */
533 #undef USE_POSIX_THREADS
535 /* Define if references to the POSIX multithreading library should be made
536    weak. */
537 #undef USE_POSIX_THREADS_WEAK
539 /* Define if the GNU Pth multithreading library can be used. */
540 #undef USE_PTH_THREADS
542 /* Define if references to the GNU Pth multithreading library should be made
543    weak. */
544 #undef USE_PTH_THREADS_WEAK
546 /* Define if the old Solaris multithreading library can be used. */
547 #undef USE_SOLARIS_THREADS
549 /* Define if references to the old Solaris multithreading library should be
550    made weak. */
551 #undef USE_SOLARIS_THREADS_WEAK
553 /* Enable extensions on AIX 3, Interix.  */
554 #ifndef _ALL_SOURCE
555 # undef _ALL_SOURCE
556 #endif
557 /* Enable GNU extensions on systems that have them.  */
558 #ifndef _GNU_SOURCE
559 # undef _GNU_SOURCE
560 #endif
561 /* Enable threading extensions on Solaris.  */
562 #ifndef _POSIX_PTHREAD_SEMANTICS
563 # undef _POSIX_PTHREAD_SEMANTICS
564 #endif
565 /* Enable extensions on HP NonStop.  */
566 #ifndef _TANDEM_SOURCE
567 # undef _TANDEM_SOURCE
568 #endif
569 /* Enable general extensions on Solaris.  */
570 #ifndef __EXTENSIONS__
571 # undef __EXTENSIONS__
572 #endif
575 /* Define if the Win32 multithreading API can be used. */
576 #undef USE_WIN32_THREADS
578 /* Version number of package */
579 #undef VERSION
581 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
582    significant byte first (like Motorola and SPARC, unlike Intel). */
583 #if defined AC_APPLE_UNIVERSAL_BUILD
584 # if defined __BIG_ENDIAN__
585 #  define WORDS_BIGENDIAN 1
586 # endif
587 #else
588 # ifndef WORDS_BIGENDIAN
589 #  undef WORDS_BIGENDIAN
590 # endif
591 #endif
593 /* Define to 1 if on MINIX. */
594 #undef _MINIX
596 /* Define to 2 if the system does not provide POSIX.1 features except with
597    this defined. */
598 #undef _POSIX_1_SOURCE
600 /* Define to 1 if you need to in order for `stat' and other things to work. */
601 #undef _POSIX_SOURCE
603 /* Define to empty if `const' does not conform to ANSI C. */
604 #undef const
606 /* Define to `__inline__' or `__inline' if that's what the C compiler
607    calls it, or to nothing if 'inline' is not supported under any name.  */
608 #ifndef __cplusplus
609 #undef inline
610 #endif
612 /* Define as the type of the result of subtracting two pointers, if the system
613    doesn't define it. */
614 #undef ptrdiff_t
616 /* Define to `unsigned int' if <sys/types.h> does not define. */
617 #undef size_t
619 /* Define to unsigned long or unsigned long long if <stdint.h> and
620    <inttypes.h> don't define. */
621 #undef uintmax_t
625 #ifdef MUST_HAVE_MALLOC_MALLOC_H
626 #  include <malloc/malloc.h>
627 #endif
629 #include "src/rrd_config_bottom.h"
631 #endif
635 #define __libc_lock_t                   gl_lock_t
636 #define __libc_lock_define              gl_lock_define
637 #define __libc_lock_define_initialized  gl_lock_define_initialized
638 #define __libc_lock_init                gl_lock_init
639 #define __libc_lock_lock                gl_lock_lock
640 #define __libc_lock_unlock              gl_lock_unlock
641 #define __libc_lock_recursive_t                   gl_recursive_lock_t
642 #define __libc_lock_define_recursive              gl_recursive_lock_define
643 #define __libc_lock_define_initialized_recursive  gl_recursive_lock_define_initialized
644 #define __libc_lock_init_recursive                gl_recursive_lock_init
645 #define __libc_lock_lock_recursive                gl_recursive_lock_lock
646 #define __libc_lock_unlock_recursive              gl_recursive_lock_unlock
647 #define glthread_in_use  libintl_thread_in_use
648 #define glthread_lock_init     libintl_lock_init
649 #define glthread_lock_lock     libintl_lock_lock
650 #define glthread_lock_unlock   libintl_lock_unlock
651 #define glthread_lock_destroy  libintl_lock_destroy
652 #define glthread_rwlock_init     libintl_rwlock_init
653 #define glthread_rwlock_rdlock   libintl_rwlock_rdlock
654 #define glthread_rwlock_wrlock   libintl_rwlock_wrlock
655 #define glthread_rwlock_unlock   libintl_rwlock_unlock
656 #define glthread_rwlock_destroy  libintl_rwlock_destroy
657 #define glthread_recursive_lock_init     libintl_recursive_lock_init
658 #define glthread_recursive_lock_lock     libintl_recursive_lock_lock
659 #define glthread_recursive_lock_unlock   libintl_recursive_lock_unlock
660 #define glthread_recursive_lock_destroy  libintl_recursive_lock_destroy
661 #define glthread_once                 libintl_once
662 #define glthread_once_call            libintl_once_call
663 #define glthread_once_singlethreaded  libintl_once_singlethreaded