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 /* Define if you have the nsl library (-lnsl). */
18 /* Define if you have the socket library (-lsocket). */
21 /* Use the definitions: */
23 /* GNU C attributes. */
25 #ifdef HAVE_GNUC25_ATTRIB
26 #define FUNCATTR(x) __attribute__(x)
32 /* GNU C printf formats, or null. */
34 #ifdef HAVE_GNUC25_PRINTFFORMAT
35 #define ATTRPRINTF(si,tc) format(printf,si,tc)
37 #define ATTRPRINTF(si,tc)
41 #define PRINTFFORMAT(si,tc) FUNCATTR((ATTRPRINTF(si,tc)))
44 /* GNU C nonreturning functions, or null. */
46 #ifdef HAVE_GNUC25_NORETURN
47 #define ATTRNORETURN noreturn
53 #define NONRETURNING FUNCATTR((ATTRNORETURN))
56 /* Combination of both the above. */
57 #ifndef NONRETURNPRINTFFORMAT
58 #define NONRETURNPRINTFFORMAT(si,tc) FUNCATTR((ATTRPRINTF(si,tc),ATTRNORETURN))
61 /* GNU C constant functions, or null. */
63 #ifdef HAVE_GNUC25_CONST
64 #define ATTRCONST const
70 #define CONSTANT FUNCATTR((ATTRCONST))