1 /* src/config.h.in. Generated automatically from configure.in by autoheader. */
3 /* Define if function attributes a la GCC 2.5 and higher are available. */
4 #undef HAVE_GNUC25_ATTRIB
6 /* Define if constant functions a la GCC 2.5 and higher are available. */
7 #undef HAVE_GNUC25_CONST
9 /* Define if nonreturning functions a la GCC 2.5 and higher are available. */
10 #undef HAVE_GNUC25_NORETURN
12 /* Define if printf-format argument lists a la GCC are available. */
13 #undef HAVE_GNUC25_PRINTFFORMAT
15 /* Use the definitions: */
17 /* GNU C attributes. */
19 #ifdef HAVE_GNUC25_ATTRIB
20 #define FUNCATTR(x) __attribute__(x)
26 /* GNU C printf formats, or null. */
28 #ifdef HAVE_GNUC25_PRINTFFORMAT
29 #define ATTRPRINTF(si,tc) format(printf,si,tc)
31 #define ATTRPRINTF(si,tc)
35 #define PRINTFFORMAT(si,tc) FUNCATTR((ATTRPRINTF(si,tc)))
38 /* GNU C nonreturning functions, or null. */
40 #ifdef HAVE_GNUC25_NORETURN
41 #define ATTRNORETURN noreturn
47 #define NONRETURNING FUNCATTR((ATTRNORETURN))
50 /* Combination of both the above. */
51 #ifndef NONRETURNPRINTFFORMAT
52 #define NONRETURNPRINTFFORMAT(si,tc) FUNCATTR((ATTRPRINTF(si,tc),ATTRNORETURN))
55 /* GNU C constant functions, or null. */
57 #ifdef HAVE_GNUC25_CONST
58 #define ATTRCONST const
64 #define CONSTANT FUNCATTR((ATTRCONST))