1 /* src/include/config.hin. Generated from configure.ac by autoheader. */
3 /* CPU and C ABI indicator */
22 #ifndef __arm64_ilp32__
23 #undef __arm64_ilp32__
34 #ifndef __ia64_ilp32__
58 #ifndef __powerpc64_elfv2__
59 #undef __powerpc64_elfv2__
67 #ifndef __riscv32_ilp32__
68 #undef __riscv32_ilp32__
70 #ifndef __riscv32_ilp32f__
71 #undef __riscv32_ilp32f__
73 #ifndef __riscv32_ilp32d__
74 #undef __riscv32_ilp32d__
76 #ifndef __riscv64_ilp32__
77 #undef __riscv64_ilp32__
79 #ifndef __riscv64_ilp32f__
80 #undef __riscv64_ilp32f__
82 #ifndef __riscv64_ilp32d__
83 #undef __riscv64_ilp32d__
85 #ifndef __riscv64_lp64__
86 #undef __riscv64_lp64__
88 #ifndef __riscv64_lp64f__
89 #undef __riscv64_lp64f__
91 #ifndef __riscv64_lp64d__
92 #undef __riscv64_lp64d__
111 /* Define if building universal (internal helper macro) */
112 #undef AC_APPLE_UNIVERSAL_BUILD
114 /* Define if your C++ doesn't understand 'delete []'. */
115 #undef ARRAY_DELETE_NEEDS_SIZE
117 /* Define to the number of bits in type 'ptrdiff_t'. */
118 #undef BITSIZEOF_PTRDIFF_T
120 /* Define to the number of bits in type 'sig_atomic_t'. */
121 #undef BITSIZEOF_SIG_ATOMIC_T
123 /* Define to the number of bits in type 'size_t'. */
124 #undef BITSIZEOF_SIZE_T
126 /* Define to the number of bits in type 'wchar_t'. */
127 #undef BITSIZEOF_WCHAR_T
129 /* Define to the number of bits in type 'wint_t'. */
130 #undef BITSIZEOF_WINT_T
132 /* Define if you wish *printf() functions that have a safe handling of
133 non-IEEE-754 'long double' values. */
134 #undef CHECK_PRINTF_SAFE
136 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
137 systems. This function is required for `alloca.c' support on those systems.
139 #undef CRAY_STACKSEG_END
141 /* Define to 1 if using `alloca.c'. */
144 /* Define as the bit index in the word where to find bit 0 of the exponent of
146 #undef DBL_EXPBIT0_BIT
148 /* Define as the word index where to find the exponent of 'double'. */
149 #undef DBL_EXPBIT0_WORD
151 /* Define as the bit index in the word where to find the sign of 'double'. */
152 #undef DBL_SIGNBIT_BIT
154 /* Define as the word index where to find the sign of 'double'. */
155 #undef DBL_SIGNBIT_WORD
157 /* Define as the bit index in the word where to find bit 0 of the exponent of
159 #undef FLT_EXPBIT0_BIT
161 /* Define as the word index where to find the exponent of 'float'. */
162 #undef FLT_EXPBIT0_WORD
164 /* Define as the bit index in the word where to find the sign of 'float'. */
165 #undef FLT_SIGNBIT_BIT
167 /* Define as the word index where to find the sign of 'float'. */
168 #undef FLT_SIGNBIT_WORD
170 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
171 whether the gnulib module fscanf shall be considered present. */
174 /* Define to 1 if printf and friends should be labeled with attribute
175 "__gnu_printf__" instead of "__printf__" */
176 #undef GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU
178 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
179 whether the gnulib module scanf shall be considered present. */
182 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
183 whether the gnulib module snprintf shall be considered present. */
184 #undef GNULIB_SNPRINTF
186 /* Define to 1 when the gnulib module fprintf-posix should be tested. */
187 #undef GNULIB_TEST_FPRINTF_POSIX
189 /* Define to 1 when the gnulib module frexp should be tested. */
190 #undef GNULIB_TEST_FREXP
192 /* Define to 1 when the gnulib module frexpl should be tested. */
193 #undef GNULIB_TEST_FREXPL
195 /* Define to 1 when the gnulib module memchr should be tested. */
196 #undef GNULIB_TEST_MEMCHR
198 /* Define to 1 when the gnulib module signbit should be tested. */
199 #undef GNULIB_TEST_SIGNBIT
201 /* Define to 1 when the gnulib module snprintf should be tested. */
202 #undef GNULIB_TEST_SNPRINTF
204 /* Define to 1 when the gnulib module vsnprintf should be tested. */
205 #undef GNULIB_TEST_VSNPRINTF
207 /* Define to 1 when the gnulib module wcwidth should be tested. */
208 #undef GNULIB_TEST_WCWIDTH
210 /* Define to 1 if you have 'alloca' after including <alloca.h>, a header that
211 may be supplied by this distribution. */
214 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
218 /* Define to 1 if you have the <bp-sym.h> header file. */
221 /* Define if you have a C++ <inttypes.h>. */
222 #undef HAVE_CC_INTTYPES_H
224 /* Define if you have a C++ <limits.h>. */
225 #undef HAVE_CC_LIMITS_H
227 /* Define if you have a C++ <osfcn.h>. */
228 #undef HAVE_CC_OSFCN_H
230 /* Define if the copysignf function is declared in <math.h> and available in
232 #undef HAVE_COPYSIGNF_IN_LIBC
234 /* Define if the copysignl function is declared in <math.h> and available in
236 #undef HAVE_COPYSIGNL_IN_LIBC
238 /* Define if the copysign function is declared in <math.h> and available in
240 #undef HAVE_COPYSIGN_IN_LIBC
242 /* Define to 1 if you have the <crtdefs.h> header file. */
243 #undef HAVE_CRTDEFS_H
245 /* Define to 1 if you have the declaration of `alarm', and to 0 if you don't.
247 #undef HAVE_DECL_ALARM
249 /* Define to 1 if you have the declaration of `copysign', and to 0 if you
251 #undef HAVE_DECL_COPYSIGN
253 /* Define to 1 if you have the declaration of `copysignf', and to 0 if you
255 #undef HAVE_DECL_COPYSIGNF
257 /* Define to 1 if you have the declaration of `copysignl', and to 0 if you
259 #undef HAVE_DECL_COPYSIGNL
261 /* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you
263 #undef HAVE_DECL_GETC_UNLOCKED
265 /* Define to 1 if you have the declaration of `snprintf', and to 0 if you
267 #undef HAVE_DECL_SNPRINTF
269 /* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you
271 #undef HAVE_DECL_SYS_SIGLIST
273 /* Define to 1 if you have the declaration of `towlower', and to 0 if you
275 #undef HAVE_DECL_TOWLOWER
277 /* Define to 1 if you have the declaration of `vsnprintf', and to 0 if you
279 #undef HAVE_DECL_VSNPRINTF
281 /* Define to 1 if you have the declaration of `wcwidth', and to 0 if you
283 #undef HAVE_DECL_WCWIDTH
285 /* Define to 1 if you have the declaration of `_snprintf', and to 0 if you
287 #undef HAVE_DECL__SNPRINTF
289 /* Define to 1 if you have the <direct.h> header file. */
292 /* Define to 1 if you have the <dirent.h> header file. */
295 /* Define to 1 if you have the <features.h> header file. */
296 #undef HAVE_FEATURES_H
298 /* Define to 1 if you have the `fmod' function. */
301 /* Define if the frexpl function is available in libc. */
302 #undef HAVE_FREXPL_IN_LIBC
304 /* Define if the frexp function is available in libc. */
305 #undef HAVE_FREXP_IN_LIBC
307 /* Define to 1 if you have the `getcwd' function. */
310 /* Define to 1 if you have the `getpagesize' function. */
311 #undef HAVE_GETPAGESIZE
313 /* Define to 1 if you have the `gettimeofday' function. */
314 #undef HAVE_GETTIMEOFDAY
316 /* Define if you have the iconv() function and it works. */
319 /* Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>. */
322 /* Define to 1 if you have the <inttypes.h> header file. */
323 #undef HAVE_INTTYPES_H
325 /* Define if <inttypes.h> exists, doesn't clash with <sys/types.h>, and
326 declares uintmax_t. */
327 #undef HAVE_INTTYPES_H_WITH_UINTMAX
329 /* Define to 1 if you have the `isatty' function. */
332 /* Define if the isnan(double) function is available in libc. */
333 #undef HAVE_ISNAND_IN_LIBC
335 /* Define if the isnan(float) function is available in libc. */
336 #undef HAVE_ISNANF_IN_LIBC
338 /* Define if the isnan(long double) function is available in libc. */
339 #undef HAVE_ISNANL_IN_LIBC
341 /* Define to 1 if you have the `iswcntrl' function. */
344 /* Define to 1 if you have the `kill' function. */
347 /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
348 #undef HAVE_LANGINFO_CODESET
350 /* Define if the ldexpl function is available in libc. */
351 #undef HAVE_LDEXPL_IN_LIBC
353 /* Define if the ldexp function is available in libc. */
354 #undef HAVE_LDEXP_IN_LIBC
356 /* Define to 1 if you have the <limits.h> header file. */
359 /* Define to 1 if the system has the type 'long long int'. */
360 #undef HAVE_LONG_LONG_INT
362 /* Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including
363 config.h and <sys/mman.h>. */
364 #undef HAVE_MAP_ANONYMOUS
366 /* Define to 1 if you have the <math.h> header file. */
369 /* Define to 1 if you have the `mbrtowc' function. */
372 /* Define to 1 if you have the <memory.h> header file. */
375 /* Define if you have mkstemp(). */
378 /* Define to 1 if you have a working `mmap' system call. */
381 /* Define to 1 if you have the `mprotect' function. */
384 /* Define to 1 if you have the `nl_langinfo' function. */
385 #undef HAVE_NL_LANGINFO
387 /* Define to 1 if you have the <process.h> header file. */
388 #undef HAVE_PROCESS_H
390 /* Define to 1 if you have the `putenv' function. */
393 /* Define to 1 if you have the `rename' function. */
396 /* Define to 1 if 'long double' and 'double' have the same representation. */
397 #undef HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
399 /* Define to 1 if you have the `setlocale' function. */
400 #undef HAVE_SETLOCALE
402 /* Define to 1 if 'sig_atomic_t' is a signed integer type. */
403 #undef HAVE_SIGNED_SIG_ATOMIC_T
405 /* Define to 1 if 'wchar_t' is a signed integer type. */
406 #undef HAVE_SIGNED_WCHAR_T
408 /* Define to 1 if 'wint_t' is a signed integer type. */
409 #undef HAVE_SIGNED_WINT_T
411 /* Define to 1 if you have the `snprintf' function. */
414 /* Define if the return value of the snprintf function is the number of of
415 bytes (excluding the terminating NUL) that would have been produced if the
416 buffer had been large enough. */
417 #undef HAVE_SNPRINTF_RETVAL_C99
419 /* Define to 1 if you have the <stddef.h> header file. */
422 /* Define to 1 if you have the <stdint.h> header file. */
425 /* Define if <stdint.h> exists, doesn't clash with <sys/types.h>, and declares
427 #undef HAVE_STDINT_H_WITH_UINTMAX
429 /* Define to 1 if you have the <stdlib.h> header file. */
432 /* Define to 1 if you have the `strcasecmp' function. */
433 #undef HAVE_STRCASECMP
435 /* Define to 1 if you have the `strerror' function. */
438 /* Define to 1 if you have the <strings.h> header file. */
439 #undef HAVE_STRINGS_H
441 /* Define to 1 if you have the <string.h> header file. */
444 /* Define to 1 if you have the `strncasecmp' function. */
445 #undef HAVE_STRNCASECMP
447 /* Define to 1 if you have the `strnlen' function. */
450 /* Define to 1 if you have the `strsep' function. */
453 /* Define to 1 if you have the `strtol' function. */
456 /* Define if <math.h> defines struct exception. */
457 #undef HAVE_STRUCT_EXCEPTION
459 /* Define to 1 if you have the `symlink' function. */
462 /* Define to 1 if you have the <sys/bitypes.h> header file. */
463 #undef HAVE_SYS_BITYPES_H
465 /* Define to 1 if you have the <sys/dir.h> header file. */
466 #undef HAVE_SYS_DIR_H
468 /* Define if you have sys_errlist in <errno.h>, <stdio.h>, or <stdlib.h>. */
469 #undef HAVE_SYS_ERRLIST
471 /* Define to 1 if you have the <sys/inttypes.h> header file. */
472 #undef HAVE_SYS_INTTYPES_H
474 /* Define to 1 if you have the <sys/mman.h> header file. */
475 #undef HAVE_SYS_MMAN_H
477 /* Define if you have sys_nerr in <errno.h>, <stdio.h>, or <stdio.h>. */
480 /* Define to 1 if you have the <sys/param.h> header file. */
481 #undef HAVE_SYS_PARAM_H
483 /* Define to 1 if you have the <sys/stat.h> header file. */
484 #undef HAVE_SYS_STAT_H
486 /* Define to 1 if you have the <sys/time.h> header file. */
487 #undef HAVE_SYS_TIME_H
489 /* Define to 1 if you have the <sys/types.h> header file. */
490 #undef HAVE_SYS_TYPES_H
492 /* Define to 1 if you have the `towlower' function. */
495 /* uchardet library availability */
498 /* Define to 1 if you have the <unistd.h> header file. */
501 /* Define to 1 if the system has the type 'unsigned long long int'. */
502 #undef HAVE_UNSIGNED_LONG_LONG_INT
504 /* Define to 1 if you have the `vasnprintf' function. */
505 #undef HAVE_VASNPRINTF
507 /* Define to 1 if you have the `vsnprintf' function. */
508 #undef HAVE_VSNPRINTF
510 /* Define to 1 if you have the <wchar.h> header file. */
513 /* Define if you have the 'wchar_t' type. */
516 /* Define to 1 if you have the `wcrtomb' function. */
519 /* Define to 1 if you have the `wcslen' function. */
522 /* Define to 1 if you have the `wcsnlen' function. */
525 /* Define to 1 if you have the <wctype.h> header file. */
528 /* Define to 1 if you have the `wcwidth' function. */
531 /* Define if you have the 'wint_t' type. */
534 /* Define to 1 if O_NOATIME works. */
535 #undef HAVE_WORKING_O_NOATIME
537 /* Define to 1 if O_NOFOLLOW works. */
538 #undef HAVE_WORKING_O_NOFOLLOW
540 /* Define to 1 if you have the `__fseterr' function. */
541 #undef HAVE___FSETERR
543 /* Define as const if the declaration of iconv() needs const. */
546 /* Define if the host's encoding is EBCDIC. */
547 #undef IS_EBCDIC_HOST
549 /* Define as the bit index in the word where to find bit 0 of the exponent of
551 #undef LDBL_EXPBIT0_BIT
553 /* Define as the word index where to find the exponent of 'long double'. */
554 #undef LDBL_EXPBIT0_WORD
556 /* Define as the bit index in the word where to find the sign of 'long
558 #undef LDBL_SIGNBIT_BIT
560 /* Define as the word index where to find the sign of 'long double'. */
561 #undef LDBL_SIGNBIT_WORD
563 /* Define if localtime() takes a long * not a time_t *. */
564 #undef LONG_FOR_TIME_T
566 /* Define to a substitute value for mmap()'s MAP_ANONYMOUS flag. */
569 /* Use GNU style printf and scanf. */
570 #ifndef __USE_MINGW_ANSI_STDIO
571 # undef __USE_MINGW_ANSI_STDIO
575 /* Define if your C++ doesn't declare gettimeofday(). */
576 #undef NEED_DECLARATION_GETTIMEOFDAY
578 /* Define if your C++ doesn't declare pclose(). */
579 #undef NEED_DECLARATION_PCLOSE
581 /* Define if your C++ doesn't declare popen(). */
582 #undef NEED_DECLARATION_POPEN
584 /* Define if your C++ doesn't declare putenv(). */
585 #undef NEED_DECLARATION_PUTENV
587 /* Define if your C++ doesn't declare rand(). */
588 #undef NEED_DECLARATION_RAND
590 /* Define if your C++ doesn't declare srand(). */
591 #undef NEED_DECLARATION_SRAND
593 /* Define if your C++ doesn't declare strcasecmp(). */
594 #undef NEED_DECLARATION_STRCASECMP
596 /* Define if your C++ doesn't declare strncasecmp(). */
597 #undef NEED_DECLARATION_STRNCASECMP
599 /* Define if your C++ doesn't declare vfprintf(). */
600 #undef NEED_DECLARATION_VFPRINTF
602 /* Define if the vasnprintf implementation needs special code for the 'a' and
604 #undef NEED_PRINTF_DIRECTIVE_A
606 /* Define if the vasnprintf implementation needs special code for the 'F'
608 #undef NEED_PRINTF_DIRECTIVE_F
610 /* Define if the vasnprintf implementation needs special code for the 'ls'
612 #undef NEED_PRINTF_DIRECTIVE_LS
614 /* Define if the vasnprintf implementation needs special code for 'double'
616 #undef NEED_PRINTF_DOUBLE
618 /* Define if the vasnprintf implementation needs special code for surviving
619 out-of-memory conditions. */
620 #undef NEED_PRINTF_ENOMEM
622 /* Define if the vasnprintf implementation needs special code for the ' flag.
624 #undef NEED_PRINTF_FLAG_GROUPING
626 /* Define if the vasnprintf implementation needs special code for the '-'
628 #undef NEED_PRINTF_FLAG_LEFTADJUST
630 /* Define if the vasnprintf implementation needs special code for the 0 flag.
632 #undef NEED_PRINTF_FLAG_ZERO
634 /* Define if the vasnprintf implementation needs special code for infinite
635 'double' arguments. */
636 #undef NEED_PRINTF_INFINITE_DOUBLE
638 /* Define if the vasnprintf implementation needs special code for infinite
639 'long double' arguments. */
640 #undef NEED_PRINTF_INFINITE_LONG_DOUBLE
642 /* Define if the vasnprintf implementation needs special code for 'long
643 double' arguments. */
644 #undef NEED_PRINTF_LONG_DOUBLE
646 /* Define if the vasnprintf implementation needs special code for supporting
647 large precisions without arbitrary bounds. */
648 #undef NEED_PRINTF_UNBOUNDED_PRECISION
650 /* Name of package */
653 /* Define to the address where bug reports for this package should be sent. */
654 #undef PACKAGE_BUGREPORT
656 /* Define to the full name of this package. */
659 /* Define to the full name and version of this package. */
660 #undef PACKAGE_STRING
662 /* Define to the one symbol short name of this package. */
663 #undef PACKAGE_TARNAME
665 /* Define to the home page for this package. */
668 /* Define to the version of this package. */
669 #undef PACKAGE_VERSION
671 /* Define if the printer's page size is A4. */
674 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
676 #undef PTRDIFF_T_SUFFIX
678 /* Define if fprintf is overridden by a POSIX compliant gnulib implementation.
680 #undef REPLACE_FPRINTF_POSIX
682 /* Define if vasnprintf exists but is overridden by gnulib. */
683 #undef REPLACE_VASNPRINTF
685 /* Define as the return type of signal handlers ('int' or 'void'). */
688 /* Define if srand() returns void not int. */
689 #undef RET_TYPE_SRAND_IS_VOID
691 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
693 #undef SIG_ATOMIC_T_SUFFIX
695 /* Define as the maximum value of type 'size_t', if the system doesn't define
701 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
705 /* If using the C implementation of alloca, define if you know the
706 direction of stack growth for your system; otherwise it will be
707 automatically deduced at runtime.
708 STACK_DIRECTION > 0 => grows toward higher addresses
709 STACK_DIRECTION < 0 => grows toward lower addresses
710 STACK_DIRECTION = 0 => direction of growth unknown */
711 #undef STACK_DIRECTION
713 /* Define to 1 if you have the ANSI C header files. */
716 /* Define if your C++ compiler uses a traditional (Reiser) preprocessor. */
717 #undef TRADITIONAL_CPP
719 /* Enable extensions on AIX 3, Interix. */
723 /* Enable general extensions on macOS. */
724 #ifndef _DARWIN_C_SOURCE
725 # undef _DARWIN_C_SOURCE
727 /* Enable GNU extensions on systems that have them. */
731 /* Enable NetBSD extensions on NetBSD. */
732 #ifndef _NETBSD_SOURCE
733 # undef _NETBSD_SOURCE
735 /* Enable OpenBSD extensions on NetBSD. */
736 #ifndef _OPENBSD_SOURCE
737 # undef _OPENBSD_SOURCE
739 /* Enable threading extensions on Solaris. */
740 #ifndef _POSIX_PTHREAD_SEMANTICS
741 # undef _POSIX_PTHREAD_SEMANTICS
743 /* Enable extensions specified by ISO/IEC TS 18661-5:2014. */
744 #ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
745 # undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
747 /* Enable extensions specified by ISO/IEC TS 18661-1:2014. */
748 #ifndef __STDC_WANT_IEC_60559_BFP_EXT__
749 # undef __STDC_WANT_IEC_60559_BFP_EXT__
751 /* Enable extensions specified by ISO/IEC TS 18661-2:2015. */
752 #ifndef __STDC_WANT_IEC_60559_DFP_EXT__
753 # undef __STDC_WANT_IEC_60559_DFP_EXT__
755 /* Enable extensions specified by ISO/IEC TS 18661-4:2015. */
756 #ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__
757 # undef __STDC_WANT_IEC_60559_FUNCS_EXT__
759 /* Enable extensions specified by ISO/IEC TS 18661-3:2015. */
760 #ifndef __STDC_WANT_IEC_60559_TYPES_EXT__
761 # undef __STDC_WANT_IEC_60559_TYPES_EXT__
763 /* Enable extensions specified by ISO/IEC TR 24731-2:2010. */
764 #ifndef __STDC_WANT_LIB_EXT2__
765 # undef __STDC_WANT_LIB_EXT2__
767 /* Enable extensions specified by ISO/IEC 24747:2009. */
768 #ifndef __STDC_WANT_MATH_SPEC_FUNCS__
769 # undef __STDC_WANT_MATH_SPEC_FUNCS__
771 /* Enable extensions on HP NonStop. */
772 #ifndef _TANDEM_SOURCE
773 # undef _TANDEM_SOURCE
775 /* Enable X/Open extensions if necessary. HP-UX 11.11 defines
776 mbstate_t only if _XOPEN_SOURCE is defined to 500, regardless of
777 whether compiling with -Ae or -D_HPUX_SOURCE=1. */
778 #ifndef _XOPEN_SOURCE
779 # undef _XOPEN_SOURCE
781 /* Enable X/Open compliant socket functions that do not require linking
782 with -lxnet on HP-UX 11.11. */
783 #ifndef _HPUX_ALT_XOPEN_SOCKET_API
784 # undef _HPUX_ALT_XOPEN_SOCKET_API
786 /* Enable general extensions on Solaris. */
787 #ifndef __EXTENSIONS__
788 # undef __EXTENSIONS__
792 /* Version number of package */
795 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
797 #undef WCHAR_T_SUFFIX
799 /* Define if the 0200 bit of the status returned by wait() indicates whether a
800 core image was produced for a process that was terminated by a signal. */
803 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
807 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
808 significant byte first (like Motorola and SPARC, unlike Intel). */
809 #if defined AC_APPLE_UNIVERSAL_BUILD
810 # if defined __BIG_ENDIAN__
811 # define WORDS_BIGENDIAN 1
814 # ifndef WORDS_BIGENDIAN
815 # undef WORDS_BIGENDIAN
819 /* Define to 1 if the X Window System is missing or not being used. */
820 #undef X_DISPLAY_MISSING
822 /* Define to 1 if on MINIX. */
825 /* Define to 1 to make NetBSD features available. MINIX 3 needs this. */
826 #undef _NETBSD_SOURCE
828 /* The _Noreturn keyword of C11. */
829 #if ! (defined _Noreturn \
830 || (defined __STDC_VERSION__ && 201112 <= __STDC_VERSION__))
831 # if (3 <= __GNUC__ || (__GNUC__ == 2 && 8 <= __GNUC_MINOR__) \
832 || 0x5110 <= __SUNPRO_C)
833 # define _Noreturn __attribute__ ((__noreturn__))
834 # elif defined _MSC_VER && 1200 <= _MSC_VER
835 # define _Noreturn __declspec (noreturn)
842 /* Define to 2 if the system does not provide POSIX.1 features except with
844 #undef _POSIX_1_SOURCE
846 /* Define if -D_POSIX_SOURCE is necessary. */
849 /* Define if you have ISC 3.x or 4.x. */
852 /* For standard stat data types on VMS. */
855 /* Define to 1 if the system <stdint.h> predates C++11. */
856 #undef __STDC_CONSTANT_MACROS
858 /* Define to 1 if the system <stdint.h> predates C++11. */
859 #undef __STDC_LIMIT_MACROS
861 /* Please see the Gnulib manual for how to use these macros.
863 Suppress extern inline with HP-UX cc, as it appears to be broken; see
864 <https://lists.gnu.org/r/bug-texinfo/2013-02/msg00030.html>.
866 Suppress extern inline with Sun C in standards-conformance mode, as it
867 mishandles inline functions that call each other. E.g., for 'inline void f
868 (void) { } inline void g (void) { f (); }', c99 incorrectly complains
869 'reference to static identifier "f" in extern inline function'.
870 This bug was observed with Sun C 5.12 SunOS_i386 2011/11/16.
872 Suppress extern inline (with or without __attribute__ ((__gnu_inline__)))
873 on configurations that mistakenly use 'static inline' to implement
874 functions or macros in standard C headers like <ctype.h>. For example,
875 if isdigit is mistakenly implemented via a static inline function,
876 a program containing an extern inline function that calls isdigit
877 may not work since the C standard prohibits extern inline functions
878 from calling static functions (ISO C 99 section 6.7.4.(3).
879 This bug is known to occur on:
881 OS X 10.8 and earlier; see:
882 https://lists.gnu.org/r/bug-gnulib/2012-12/msg00023.html
885 http://muscles.dragonflybsd.org/bulk/bleeding-edge-potential/latest-per-pkg/ah-tty-0.3.12.log
888 https://lists.gnu.org/r/bug-gnulib/2014-07/msg00104.html
890 OS X 10.9 has a macro __header_inline indicating the bug is fixed for C and
891 for clang but remains for g++; see <https://trac.macports.org/ticket/41033>.
892 Assume DragonFly and FreeBSD will be similar.
894 GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99
895 inline semantics, unless -fgnu89-inline is used. It defines a macro
896 __GNUC_STDC_INLINE__ to indicate this situation or a macro
897 __GNUC_GNU_INLINE__ to indicate the opposite situation.
898 GCC 4.2 with -std=c99 or -std=gnu99 implements the GNU C inline
899 semantics but warns, unless -fgnu89-inline is used:
900 warning: C99 inline functions are not supported; using GNU89
901 warning: to disable this warning use -fgnu89-inline or the gnu_inline function attribute
902 It defines a macro __GNUC_GNU_INLINE__ to indicate this situation.
904 #if (((defined __APPLE__ && defined __MACH__) \
905 || defined __DragonFly__ || defined __FreeBSD__) \
906 && (defined __header_inline \
907 ? (defined __cplusplus && defined __GNUC_STDC_INLINE__ \
908 && ! defined __clang__) \
909 : ((! defined _DONT_USE_CTYPE_INLINE_ \
910 && (defined __GNUC__ || defined __cplusplus)) \
911 || (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \
912 && defined __GNUC__ && ! defined __cplusplus))))
913 # define _GL_EXTERN_INLINE_STDHEADER_BUG
916 ? defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \
917 : (199901L <= __STDC_VERSION__ \
918 && !defined __HP_cc \
920 && !(defined __SUNPRO_C && __STDC__))) \
921 && !defined _GL_EXTERN_INLINE_STDHEADER_BUG)
922 # define _GL_INLINE inline
923 # define _GL_EXTERN_INLINE extern inline
924 # define _GL_EXTERN_INLINE_IN_USE
925 #elif (2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __STRICT_ANSI__ \
926 && !defined _GL_EXTERN_INLINE_STDHEADER_BUG)
927 # if defined __GNUC_GNU_INLINE__ && __GNUC_GNU_INLINE__
928 /* __gnu_inline__ suppresses a GCC 4.2 diagnostic. */
929 # define _GL_INLINE extern inline __attribute__ ((__gnu_inline__))
931 # define _GL_INLINE extern inline
933 # define _GL_EXTERN_INLINE extern
934 # define _GL_EXTERN_INLINE_IN_USE
936 # define _GL_INLINE static _GL_UNUSED
937 # define _GL_EXTERN_INLINE static _GL_UNUSED
940 /* In GCC 4.6 (inclusive) to 5.1 (exclusive),
941 suppress bogus "no previous prototype for 'FOO'"
942 and "no previous declaration for 'FOO'" diagnostics,
943 when FOO is an inline function in the header; see
944 <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54113> and
945 <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63877>. */
946 #if __GNUC__ == 4 && 6 <= __GNUC_MINOR__
947 # if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__
948 # define _GL_INLINE_HEADER_CONST_PRAGMA
950 # define _GL_INLINE_HEADER_CONST_PRAGMA \
951 _Pragma ("GCC diagnostic ignored \"-Wsuggest-attribute=const\"")
953 # define _GL_INLINE_HEADER_BEGIN \
954 _Pragma ("GCC diagnostic push") \
955 _Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") \
956 _Pragma ("GCC diagnostic ignored \"-Wmissing-declarations\"") \
957 _GL_INLINE_HEADER_CONST_PRAGMA
958 # define _GL_INLINE_HEADER_END \
959 _Pragma ("GCC diagnostic pop")
961 # define _GL_INLINE_HEADER_BEGIN
962 # define _GL_INLINE_HEADER_END
965 /* Define to `__inline__' or `__inline' if that's what the C compiler
966 calls it, or to nothing if 'inline' is not supported under any name. */
971 /* Define to long or long long if <stdint.h> and <inttypes.h> don't define. */
974 /* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports
975 the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of
976 earlier versions), but does not display it by setting __GNUC_STDC_INLINE__.
977 __APPLE__ && __MACH__ test for Mac OS X.
978 __APPLE_CC__ tests for the Apple compiler and its version.
979 __STDC_VERSION__ tests for the C99 mode. */
980 #if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__
981 # define __GNUC_STDC_INLINE__ 1
984 /* Define to `int' if <sys/types.h> does not define. */
987 /* Define to `int' if <sys/types.h> does not define. */
990 /* Define as the type of the result of subtracting two pointers, if the system
991 doesn't define it. */
994 /* Define to the equivalent of the C99 'restrict' keyword, or to
995 nothing if this is not supported. Do not define if restrict is
996 supported directly. */
998 /* Work around a bug in Sun C++: it does not support _Restrict or
999 __restrict__, even though the corresponding Sun C compiler ends up with
1000 "#define restrict _Restrict" or "#define restrict __restrict__" in the
1001 previous line. Perhaps some future version of Sun C++ will work with
1002 restrict; if so, hopefully it defines __RESTRICT like Sun C does. */
1003 #if defined __SUNPRO_CC && !defined __RESTRICT
1005 # define __restrict__
1008 /* Define to `unsigned int' if <sys/types.h> does not define. */
1011 /* Define as a signed type of the same size as size_t. */
1014 /* Define uintmax_t to 'unsigned long' or 'unsigned long long' if <inttypes.h>
1018 /* Define as a marker that can be attached to declarations that might not
1019 be used. This helps to reduce warnings, such as from
1020 GCC -Wunused-parameter. */
1021 #if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)
1022 # define _GL_UNUSED __attribute__ ((__unused__))
1026 /* The name _UNUSED_PARAMETER_ is an earlier spelling, although the name
1027 is a misnomer outside of parameter lists. */
1028 #define _UNUSED_PARAMETER_ _GL_UNUSED
1030 /* gcc supports the "unused" attribute on possibly unused labels, and
1031 g++ has since version 4.5. Note to support C++ as well as C,
1032 _GL_UNUSED_LABEL should be used with a trailing ; */
1033 #if !defined __cplusplus || __GNUC__ > 4 \
1034 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5)
1035 # define _GL_UNUSED_LABEL _GL_UNUSED
1037 # define _GL_UNUSED_LABEL
1040 /* The __pure__ attribute was added in gcc 2.96. */
1041 #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96)
1042 # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__))
1044 # define _GL_ATTRIBUTE_PURE /* empty */
1047 /* The __const__ attribute was added in gcc 2.95. */
1048 #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
1049 # define _GL_ATTRIBUTE_CONST __attribute__ ((__const__))
1051 # define _GL_ATTRIBUTE_CONST /* empty */
1054 /* The __malloc__ attribute was added in gcc 3. */
1056 # define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__))
1058 # define _GL_ATTRIBUTE_MALLOC /* empty */