1 /* config.h.in. Generated from configure.ac by autoheader. */
3 /* Define to the number of bits in type 'ptrdiff_t'. */
4 #undef BITSIZEOF_PTRDIFF_T
6 /* Define to the number of bits in type 'sig_atomic_t'. */
7 #undef BITSIZEOF_SIG_ATOMIC_T
9 /* Define to the number of bits in type 'size_t'. */
10 #undef BITSIZEOF_SIZE_T
12 /* Define to the number of bits in type 'wchar_t'. */
13 #undef BITSIZEOF_WCHAR_T
15 /* Define to the number of bits in type 'wint_t'. */
16 #undef BITSIZEOF_WINT_T
18 /* Define to 1 when the gnulib module strverscmp should be tested. */
19 #undef GNULIB_TEST_STRVERSCMP
21 /* Define to 1 if you have the `clock_gettime' function. */
22 #undef HAVE_CLOCK_GETTIME
24 /* Define to 1 if you have the <dlfcn.h> header file. */
27 /* Define to 1 if you have the <inttypes.h> header file. */
28 #undef HAVE_INTTYPES_H
30 /* Define to 1 if you have the <limits.h> header file. */
33 /* Define to 1 if the system has the type 'long long int'. */
34 #undef HAVE_LONG_LONG_INT
36 /* Define to 1 if you have the <memory.h> header file. */
39 /* Define to 1 if <limits.h> defines the MIN and MAX macros. */
40 #undef HAVE_MINMAX_IN_LIMITS_H
42 /* Define to 1 if <sys/param.h> defines the MIN and MAX macros. */
43 #undef HAVE_MINMAX_IN_SYS_PARAM_H
45 /* Define to 1 if 'sig_atomic_t' is a signed integer type. */
46 #undef HAVE_SIGNED_SIG_ATOMIC_T
48 /* Define to 1 if 'wchar_t' is a signed integer type. */
49 #undef HAVE_SIGNED_WCHAR_T
51 /* Define to 1 if 'wint_t' is a signed integer type. */
52 #undef HAVE_SIGNED_WINT_T
54 /* Define to 1 if you have the <stdint.h> header file. */
57 /* Define to 1 if you have the <stdlib.h> header file. */
60 /* Define to 1 if you have the <strings.h> header file. */
63 /* Define to 1 if you have the <string.h> header file. */
66 /* Define to 1 if you have the `strverscmp' function. */
67 #undef HAVE_STRVERSCMP
69 /* Define to 1 if you have the <sys/bitypes.h> header file. */
70 #undef HAVE_SYS_BITYPES_H
72 /* Define to 1 if you have the <sys/inttypes.h> header file. */
73 #undef HAVE_SYS_INTTYPES_H
75 /* Define to 1 if you have the <sys/stat.h> header file. */
76 #undef HAVE_SYS_STAT_H
78 /* Define to 1 if you have the <sys/types.h> header file. */
79 #undef HAVE_SYS_TYPES_H
81 /* Define to 1 if you have the <unistd.h> header file. */
84 /* Define to 1 if the system has the type 'unsigned long long int'. */
85 #undef HAVE_UNSIGNED_LONG_LONG_INT
87 /* Define to 1 or 0, depending whether the compiler supports simple visibility
89 #undef HAVE_VISIBILITY
91 /* Define to 1 if you have the <wchar.h> header file. */
94 /* Define if you have the 'wchar_t' type. */
97 /* Define if you have the 'wint_t' type. */
100 /* Define to 1 if the compiler supports the keyword '__inline'. */
103 /* Define to the sub-directory where libtool stores uninstalled libraries. */
106 /* Name of package */
109 /* Define to the address where bug reports for this package should be sent. */
110 #undef PACKAGE_BUGREPORT
112 /* Define to the full name of this package. */
115 /* Define to the full name and version of this package. */
116 #undef PACKAGE_STRING
118 /* Define to the one symbol short name of this package. */
119 #undef PACKAGE_TARNAME
121 /* Define to the home page for this package. */
124 /* Define to the version of this package. */
125 #undef PACKAGE_VERSION
127 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
129 #undef PTRDIFF_T_SUFFIX
131 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
133 #undef SIG_ATOMIC_T_SUFFIX
135 /* The size of `unsigned int', as computed by sizeof. */
136 #undef SIZEOF_UNSIGNED_INT
138 /* The size of `unsigned long int', as computed by sizeof. */
139 #undef SIZEOF_UNSIGNED_LONG_INT
141 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
145 /* Define to 1 if you have the ANSI C header files. */
148 /* Enable extensions on AIX 3, Interix. */
152 /* Enable general extensions on macOS. */
153 #ifndef _DARWIN_C_SOURCE
154 # undef _DARWIN_C_SOURCE
156 /* Enable GNU extensions on systems that have them. */
160 /* Enable NetBSD extensions on NetBSD. */
161 #ifndef _NETBSD_SOURCE
162 # undef _NETBSD_SOURCE
164 /* Enable OpenBSD extensions on NetBSD. */
165 #ifndef _OPENBSD_SOURCE
166 # undef _OPENBSD_SOURCE
168 /* Enable threading extensions on Solaris. */
169 #ifndef _POSIX_PTHREAD_SEMANTICS
170 # undef _POSIX_PTHREAD_SEMANTICS
172 /* Enable extensions specified by ISO/IEC TS 18661-5:2014. */
173 #ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
174 # undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
176 /* Enable extensions specified by ISO/IEC TS 18661-1:2014. */
177 #ifndef __STDC_WANT_IEC_60559_BFP_EXT__
178 # undef __STDC_WANT_IEC_60559_BFP_EXT__
180 /* Enable extensions specified by ISO/IEC TS 18661-2:2015. */
181 #ifndef __STDC_WANT_IEC_60559_DFP_EXT__
182 # undef __STDC_WANT_IEC_60559_DFP_EXT__
184 /* Enable extensions specified by ISO/IEC TS 18661-4:2015. */
185 #ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__
186 # undef __STDC_WANT_IEC_60559_FUNCS_EXT__
188 /* Enable extensions specified by ISO/IEC TS 18661-3:2015. */
189 #ifndef __STDC_WANT_IEC_60559_TYPES_EXT__
190 # undef __STDC_WANT_IEC_60559_TYPES_EXT__
192 /* Enable extensions specified by ISO/IEC TR 24731-2:2010. */
193 #ifndef __STDC_WANT_LIB_EXT2__
194 # undef __STDC_WANT_LIB_EXT2__
196 /* Enable extensions specified by ISO/IEC 24747:2009. */
197 #ifndef __STDC_WANT_MATH_SPEC_FUNCS__
198 # undef __STDC_WANT_MATH_SPEC_FUNCS__
200 /* Enable extensions on HP NonStop. */
201 #ifndef _TANDEM_SOURCE
202 # undef _TANDEM_SOURCE
204 /* Enable X/Open extensions if necessary. HP-UX 11.11 defines
205 mbstate_t only if _XOPEN_SOURCE is defined to 500, regardless of
206 whether compiling with -Ae or -D_HPUX_SOURCE=1. */
207 #ifndef _XOPEN_SOURCE
208 # undef _XOPEN_SOURCE
210 /* Enable X/Open compliant socket functions that do not require linking
211 with -lxnet on HP-UX 11.11. */
212 #ifndef _HPUX_ALT_XOPEN_SOCKET_API
213 # undef _HPUX_ALT_XOPEN_SOCKET_API
215 /* Enable general extensions on Solaris. */
216 #ifndef __EXTENSIONS__
217 # undef __EXTENSIONS__
221 /* Version number of package */
224 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
226 #undef WCHAR_T_SUFFIX
228 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
232 /* Define to 1 if on MINIX. */
235 /* Define to 1 to make NetBSD features available. MINIX 3 needs this. */
236 #undef _NETBSD_SOURCE
238 /* The _Noreturn keyword of C11. */
240 # if (defined __cplusplus \
241 && ((201103 <= __cplusplus && !(__GNUC__ == 4 && __GNUC_MINOR__ == 7)) \
242 || (defined _MSC_VER && 1900 <= _MSC_VER)))
243 # define _Noreturn [[noreturn]]
244 # elif ((!defined __cplusplus || defined __clang__) \
245 && (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \
246 || 4 < __GNUC__ + (7 <= __GNUC_MINOR__)))
247 /* _Noreturn works as-is. */
248 # elif 2 < __GNUC__ + (8 <= __GNUC_MINOR__) || 0x5110 <= __SUNPRO_C
249 # define _Noreturn __attribute__ ((__noreturn__))
250 # elif 1200 <= (defined _MSC_VER ? _MSC_VER : 0)
251 # define _Noreturn __declspec (noreturn)
258 /* Define to 2 if the system does not provide POSIX.1 features except with
260 #undef _POSIX_1_SOURCE
262 /* Define to 1 if you need to in order for 'stat' and other things to work. */
265 /* For standard stat data types on VMS. */
268 /* Define to 1 if the system <stdint.h> predates C++11. */
269 #undef __STDC_CONSTANT_MACROS
271 /* Define to 1 if the system <stdint.h> predates C++11. */
272 #undef __STDC_LIMIT_MACROS
274 /* The _GL_ASYNC_SAFE marker should be attached to functions that are
275 signal handlers (for signals other than SIGABRT, SIGPIPE) or can be
276 invoked from such signal handlers. Such functions have some restrictions:
277 * All functions that it calls should be marked _GL_ASYNC_SAFE as well,
278 or should be listed as async-signal-safe in POSIX
279 <http://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_04>
280 section 2.4.3. Note that malloc(), sprintf(), and fwrite(), in
281 particular, are NOT async-signal-safe.
282 * All memory locations (variables and struct fields) that these functions
283 access must be marked 'volatile'. This holds for both read and write
284 accesses. Otherwise the compiler might optimize away stores to and
285 reads from such locations that occur in the program, depending on its
286 data flow analysis. For example, when the program contains a loop
287 that is intended to inspect a variable set from within a signal handler
288 while (!signal_occurred)
290 the compiler is allowed to transform this into an endless loop if the
291 variable 'signal_occurred' is not declared 'volatile'.
292 Additionally, recall that:
293 * A signal handler should not modify errno (except if it is a handler
294 for a fatal signal and ends by raising the same signal again, thus
295 provoking the termination of the process). If it invokes a function
296 that may clobber errno, it needs to save and restore the value of
298 #define _GL_ASYNC_SAFE
301 /* Please see the Gnulib manual for how to use these macros.
303 Suppress extern inline with HP-UX cc, as it appears to be broken; see
304 <https://lists.gnu.org/r/bug-texinfo/2013-02/msg00030.html>.
306 Suppress extern inline with Sun C in standards-conformance mode, as it
307 mishandles inline functions that call each other. E.g., for 'inline void f
308 (void) { } inline void g (void) { f (); }', c99 incorrectly complains
309 'reference to static identifier "f" in extern inline function'.
310 This bug was observed with Sun C 5.12 SunOS_i386 2011/11/16.
312 Suppress extern inline (with or without __attribute__ ((__gnu_inline__)))
313 on configurations that mistakenly use 'static inline' to implement
314 functions or macros in standard C headers like <ctype.h>. For example,
315 if isdigit is mistakenly implemented via a static inline function,
316 a program containing an extern inline function that calls isdigit
317 may not work since the C standard prohibits extern inline functions
318 from calling static functions (ISO C 99 section 6.7.4.(3).
319 This bug is known to occur on:
321 OS X 10.8 and earlier; see:
322 https://lists.gnu.org/r/bug-gnulib/2012-12/msg00023.html
325 http://muscles.dragonflybsd.org/bulk/bleeding-edge-potential/latest-per-pkg/ah-tty-0.3.12.log
328 https://lists.gnu.org/r/bug-gnulib/2014-07/msg00104.html
330 OS X 10.9 has a macro __header_inline indicating the bug is fixed for C and
331 for clang but remains for g++; see <https://trac.macports.org/ticket/41033>.
332 Assume DragonFly and FreeBSD will be similar.
334 GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99
335 inline semantics, unless -fgnu89-inline is used. It defines a macro
336 __GNUC_STDC_INLINE__ to indicate this situation or a macro
337 __GNUC_GNU_INLINE__ to indicate the opposite situation.
338 GCC 4.2 with -std=c99 or -std=gnu99 implements the GNU C inline
339 semantics but warns, unless -fgnu89-inline is used:
340 warning: C99 inline functions are not supported; using GNU89
341 warning: to disable this warning use -fgnu89-inline or the gnu_inline function attribute
342 It defines a macro __GNUC_GNU_INLINE__ to indicate this situation.
344 #if (((defined __APPLE__ && defined __MACH__) \
345 || defined __DragonFly__ || defined __FreeBSD__) \
346 && (defined __header_inline \
347 ? (defined __cplusplus && defined __GNUC_STDC_INLINE__ \
348 && ! defined __clang__) \
349 : ((! defined _DONT_USE_CTYPE_INLINE_ \
350 && (defined __GNUC__ || defined __cplusplus)) \
351 || (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \
352 && defined __GNUC__ && ! defined __cplusplus))))
353 # define _GL_EXTERN_INLINE_STDHEADER_BUG
356 ? defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \
357 : (199901L <= __STDC_VERSION__ \
358 && !defined __HP_cc \
360 && !(defined __SUNPRO_C && __STDC__))) \
361 && !defined _GL_EXTERN_INLINE_STDHEADER_BUG)
362 # define _GL_INLINE inline
363 # define _GL_EXTERN_INLINE extern inline
364 # define _GL_EXTERN_INLINE_IN_USE
365 #elif (2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __STRICT_ANSI__ \
366 && !defined _GL_EXTERN_INLINE_STDHEADER_BUG)
367 # if defined __GNUC_GNU_INLINE__ && __GNUC_GNU_INLINE__
368 /* __gnu_inline__ suppresses a GCC 4.2 diagnostic. */
369 # define _GL_INLINE extern inline __attribute__ ((__gnu_inline__))
371 # define _GL_INLINE extern inline
373 # define _GL_EXTERN_INLINE extern
374 # define _GL_EXTERN_INLINE_IN_USE
376 # define _GL_INLINE static _GL_UNUSED
377 # define _GL_EXTERN_INLINE static _GL_UNUSED
380 /* In GCC 4.6 (inclusive) to 5.1 (exclusive),
381 suppress bogus "no previous prototype for 'FOO'"
382 and "no previous declaration for 'FOO'" diagnostics,
383 when FOO is an inline function in the header; see
384 <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54113> and
385 <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63877>. */
386 #if __GNUC__ == 4 && 6 <= __GNUC_MINOR__
387 # if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__
388 # define _GL_INLINE_HEADER_CONST_PRAGMA
390 # define _GL_INLINE_HEADER_CONST_PRAGMA \
391 _Pragma ("GCC diagnostic ignored \"-Wsuggest-attribute=const\"")
393 # define _GL_INLINE_HEADER_BEGIN \
394 _Pragma ("GCC diagnostic push") \
395 _Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") \
396 _Pragma ("GCC diagnostic ignored \"-Wmissing-declarations\"") \
397 _GL_INLINE_HEADER_CONST_PRAGMA
398 # define _GL_INLINE_HEADER_END \
399 _Pragma ("GCC diagnostic pop")
401 # define _GL_INLINE_HEADER_BEGIN
402 # define _GL_INLINE_HEADER_END
405 /* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports
406 the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of
407 earlier versions), but does not display it by setting __GNUC_STDC_INLINE__.
408 __APPLE__ && __MACH__ test for Mac OS X.
409 __APPLE_CC__ tests for the Apple compiler and its version.
410 __STDC_VERSION__ tests for the C99 mode. */
411 #if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__
412 # define __GNUC_STDC_INLINE__ 1
415 /* Define to `int' if <sys/types.h> does not define. */
418 /* Define to `int' if <sys/types.h> does not define. */
421 /* Define to the equivalent of the C99 'restrict' keyword, or to
422 nothing if this is not supported. Do not define if restrict is
423 supported directly. */
425 /* Work around a bug in Sun C++: it does not support _Restrict or
426 __restrict__, even though the corresponding Sun C compiler ends up with
427 "#define restrict _Restrict" or "#define restrict __restrict__" in the
428 previous line. Perhaps some future version of Sun C++ will work with
429 restrict; if so, hopefully it defines __RESTRICT like Sun C does. */
430 #if defined __SUNPRO_CC && !defined __RESTRICT
432 # define __restrict__
435 /* Define as a signed type of the same size as size_t. */
438 /* Define as a marker that can be attached to declarations that might not
439 be used. This helps to reduce warnings, such as from
440 GCC -Wunused-parameter. */
441 #if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)
442 # define _GL_UNUSED __attribute__ ((__unused__))
446 /* The name _UNUSED_PARAMETER_ is an earlier spelling, although the name
447 is a misnomer outside of parameter lists. */
448 #define _UNUSED_PARAMETER_ _GL_UNUSED
450 /* gcc supports the "unused" attribute on possibly unused labels, and
451 g++ has since version 4.5. Note to support C++ as well as C,
452 _GL_UNUSED_LABEL should be used with a trailing ; */
453 #if !defined __cplusplus || __GNUC__ > 4 \
454 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5)
455 # define _GL_UNUSED_LABEL _GL_UNUSED
457 # define _GL_UNUSED_LABEL
460 /* The __pure__ attribute was added in gcc 2.96. */
461 #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96)
462 # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__))
464 # define _GL_ATTRIBUTE_PURE /* empty */
467 /* The __const__ attribute was added in gcc 2.95. */
468 #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
469 # define _GL_ATTRIBUTE_CONST __attribute__ ((__const__))
471 # define _GL_ATTRIBUTE_CONST /* empty */
474 /* The __malloc__ attribute was added in gcc 3. */
476 # define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__))
478 # define _GL_ATTRIBUTE_MALLOC /* empty */