1 /* config.h.in. Generated from configure.ac by autoheader. */
3 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
4 systems. This function is required for `alloca.c' support on those systems.
6 #undef CRAY_STACKSEG_END
8 /* Define to 1 if using `alloca.c'. */
11 /* Define to 1 if you have `alloca', as a function or macro. */
14 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
18 /* Define to 1 if you have the declaration of `_snprintf', and to 0 if you
20 #undef HAVE_DECL__SNPRINTF
22 /* Define to 1 if you have the <dlfcn.h> header file. */
25 /* Define to 1 if you have the <features.h> header file. */
26 #undef HAVE_FEATURES_H
28 /* Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>. */
31 /* Define to 1 if you have the <inttypes.h> header file. */
32 #undef HAVE_INTTYPES_H
34 /* Define if <inttypes.h> exists, doesn't clash with <sys/types.h>, and
35 declares uintmax_t. */
36 #undef HAVE_INTTYPES_H_WITH_UINTMAX
38 /* Define to 1 if the system has the type 'long long int'. */
39 #undef HAVE_LONG_LONG_INT
41 /* Define to 1 if you have the `mbrtowc' function. */
44 /* Define to 1 if <wchar.h> declares mbstate_t. */
47 /* Define to 1 if you have the <memory.h> header file. */
50 /* Define if your printf() function supports format strings with positions. */
51 #undef HAVE_POSIX_PRINTF
53 /* Define to 1 if you have the `snprintf' function. */
56 /* Define to 1 if you have the <stdint.h> header file. */
59 /* Define if <stdint.h> exists, doesn't clash with <sys/types.h>, and declares
61 #undef HAVE_STDINT_H_WITH_UINTMAX
63 /* Define to 1 if you have the <stdlib.h> header file. */
66 /* Define to 1 if you have the <strings.h> header file. */
69 /* Define to 1 if you have the <string.h> header file. */
72 /* Define to 1 if you have the `strnlen' function. */
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 if you have the `vasprintf' function. */
90 /* Define if you have the 'wchar_t' type. */
93 /* Define to 1 if you have the `wcrtomb' function. */
96 /* Define to 1 if you have the `wcslen' function. */
99 /* Define to 1 if you have the `wcsnlen' function. */
102 /* Define if you have the 'wint_t' type. */
105 /* Define to the sub-directory where libtool stores uninstalled libraries. */
108 /* Name of package */
111 /* Define to the address where bug reports for this package should be sent. */
112 #undef PACKAGE_BUGREPORT
114 /* Define to the full name of this package. */
117 /* Define to the full name and version of this package. */
118 #undef PACKAGE_STRING
120 /* Define to the one symbol short name of this package. */
121 #undef PACKAGE_TARNAME
123 /* Define to the home page for this package. */
126 /* Define to the version of this package. */
127 #undef PACKAGE_VERSION
129 /* Define as the maximum value of type 'size_t', if the system doesn't define
135 /* If using the C implementation of alloca, define if you know the
136 direction of stack growth for your system; otherwise it will be
137 automatically deduced at runtime.
138 STACK_DIRECTION > 0 => grows toward higher addresses
139 STACK_DIRECTION < 0 => grows toward lower addresses
140 STACK_DIRECTION = 0 => direction of growth unknown */
141 #undef STACK_DIRECTION
143 /* Define to 1 if you have the ANSI C header files. */
146 /* Version number of package */
149 /* The _Noreturn keyword of C11. */
150 #if ! (defined _Noreturn \
151 || (defined __STDC_VERSION__ && 201112 <= __STDC_VERSION__))
152 # if (3 <= __GNUC__ || (__GNUC__ == 2 && 8 <= __GNUC_MINOR__) \
153 || 0x5110 <= __SUNPRO_C)
154 # define _Noreturn __attribute__ ((__noreturn__))
155 # elif defined _MSC_VER && 1200 <= _MSC_VER
156 # define _Noreturn __declspec (noreturn)
163 /* Please see the Gnulib manual for how to use these macros.
165 Suppress extern inline with HP-UX cc, as it appears to be broken; see
166 <http://lists.gnu.org/archive/html/bug-texinfo/2013-02/msg00030.html>.
168 Suppress extern inline with Sun C in standards-conformance mode, as it
169 mishandles inline functions that call each other. E.g., for 'inline void f
170 (void) { } inline void g (void) { f (); }', c99 incorrectly complains
171 'reference to static identifier "f" in extern inline function'.
172 This bug was observed with Sun C 5.12 SunOS_i386 2011/11/16.
174 Suppress extern inline (with or without __attribute__ ((__gnu_inline__)))
175 on configurations that mistakenly use 'static inline' to implement
176 functions or macros in standard C headers like <ctype.h>. For example,
177 if isdigit is mistakenly implemented via a static inline function,
178 a program containing an extern inline function that calls isdigit
179 may not work since the C standard prohibits extern inline functions
180 from calling static functions. This bug is known to occur on:
182 OS X 10.8 and earlier; see:
183 http://lists.gnu.org/archive/html/bug-gnulib/2012-12/msg00023.html
186 http://muscles.dragonflybsd.org/bulk/bleeding-edge-potential/latest-per-pkg/ah-tty-0.3.12.log
189 http://lists.gnu.org/archive/html/bug-gnulib/2014-07/msg00104.html
191 OS X 10.9 has a macro __header_inline indicating the bug is fixed for C and
192 for clang but remains for g++; see <http://trac.macports.org/ticket/41033>.
193 Assume DragonFly and FreeBSD will be similar. */
194 #if (((defined __APPLE__ && defined __MACH__) \
195 || defined __DragonFly__ || defined __FreeBSD__) \
196 && (defined __header_inline \
197 ? (defined __cplusplus && defined __GNUC_STDC_INLINE__ \
198 && ! defined __clang__) \
199 : ((! defined _DONT_USE_CTYPE_INLINE_ \
200 && (defined __GNUC__ || defined __cplusplus)) \
201 || (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \
202 && defined __GNUC__ && ! defined __cplusplus))))
203 # define _GL_EXTERN_INLINE_STDHEADER_BUG
206 ? defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \
207 : (199901L <= __STDC_VERSION__ \
208 && !defined __HP_cc \
209 && !(defined __SUNPRO_C && __STDC__))) \
210 && !defined _GL_EXTERN_INLINE_STDHEADER_BUG)
211 # define _GL_INLINE inline
212 # define _GL_EXTERN_INLINE extern inline
213 # define _GL_EXTERN_INLINE_IN_USE
214 #elif (2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __STRICT_ANSI__ \
215 && !defined _GL_EXTERN_INLINE_STDHEADER_BUG)
216 # if defined __GNUC_GNU_INLINE__ && __GNUC_GNU_INLINE__
217 /* __gnu_inline__ suppresses a GCC 4.2 diagnostic. */
218 # define _GL_INLINE extern inline __attribute__ ((__gnu_inline__))
220 # define _GL_INLINE extern inline
222 # define _GL_EXTERN_INLINE extern
223 # define _GL_EXTERN_INLINE_IN_USE
225 # define _GL_INLINE static _GL_UNUSED
226 # define _GL_EXTERN_INLINE static _GL_UNUSED
229 /* In GCC 4.6 (inclusive) to 5.1 (exclusive),
230 suppress bogus "no previous prototype for 'FOO'"
231 and "no previous declaration for 'FOO'" diagnostics,
232 when FOO is an inline function in the header; see
233 <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54113> and
234 <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63877>. */
235 #if __GNUC__ == 4 && 6 <= __GNUC_MINOR__
236 # if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__
237 # define _GL_INLINE_HEADER_CONST_PRAGMA
239 # define _GL_INLINE_HEADER_CONST_PRAGMA \
240 _Pragma ("GCC diagnostic ignored \"-Wsuggest-attribute=const\"")
242 # define _GL_INLINE_HEADER_BEGIN \
243 _Pragma ("GCC diagnostic push") \
244 _Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") \
245 _Pragma ("GCC diagnostic ignored \"-Wmissing-declarations\"") \
246 _GL_INLINE_HEADER_CONST_PRAGMA
247 # define _GL_INLINE_HEADER_END \
248 _Pragma ("GCC diagnostic pop")
250 # define _GL_INLINE_HEADER_BEGIN
251 # define _GL_INLINE_HEADER_END
254 /* Define to `__inline__' or `__inline' if that's what the C compiler
255 calls it, or to nothing if 'inline' is not supported under any name. */
260 /* Define to long or long long if <inttypes.h> and <stdint.h> don't define. */
263 /* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports
264 the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of
265 earlier versions), but does not display it by setting __GNUC_STDC_INLINE__.
266 __APPLE__ && __MACH__ test for Mac OS X.
267 __APPLE_CC__ tests for the Apple compiler and its version.
268 __STDC_VERSION__ tests for the C99 mode. */
269 #if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__
270 # define __GNUC_STDC_INLINE__ 1
273 /* Define to a type if <wchar.h> does not define. */
276 /* Define as the type of the result of subtracting two pointers, if the system
277 doesn't define it. */
280 /* Define to `unsigned int' if <sys/types.h> does not define. */
283 /* Define as a marker that can be attached to declarations that might not
284 be used. This helps to reduce warnings, such as from
285 GCC -Wunused-parameter. */
286 #if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)
287 # define _GL_UNUSED __attribute__ ((__unused__))
291 /* The name _UNUSED_PARAMETER_ is an earlier spelling, although the name
292 is a misnomer outside of parameter lists. */
293 #define _UNUSED_PARAMETER_ _GL_UNUSED
295 /* gcc supports the "unused" attribute on possibly unused labels, and
296 g++ has since version 4.5. Note to support C++ as well as C,
297 _GL_UNUSED_LABEL should be used with a trailing ; */
298 #if !defined __cplusplus || __GNUC__ > 4 \
299 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5)
300 # define _GL_UNUSED_LABEL _GL_UNUSED
302 # define _GL_UNUSED_LABEL
305 /* The __pure__ attribute was added in gcc 2.96. */
306 #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96)
307 # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__))
309 # define _GL_ATTRIBUTE_PURE /* empty */
312 /* The __const__ attribute was added in gcc 2.95. */
313 #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
314 # define _GL_ATTRIBUTE_CONST __attribute__ ((__const__))
316 # define _GL_ATTRIBUTE_CONST /* empty */