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 poll function. */
18 /* Define if you have the nsl library (-lnsl). */
21 /* Define if you have the socket library (-lsocket). */
24 /* Use the definitions: */
29 struct pollfd { int fd; short events; short revents; };
35 /* GNU C attributes. */
37 #ifdef HAVE_GNUC25_ATTRIB
38 #define FUNCATTR(x) __attribute__(x)
44 /* GNU C printf formats, or null. */
46 #ifdef HAVE_GNUC25_PRINTFFORMAT
47 #define ATTRPRINTF(si,tc) format(printf,si,tc)
49 #define ATTRPRINTF(si,tc)
53 #define PRINTFFORMAT(si,tc) FUNCATTR((ATTRPRINTF(si,tc)))
56 /* GNU C nonreturning functions, or null. */
58 #ifdef HAVE_GNUC25_NORETURN
59 #define ATTRNORETURN noreturn
65 #define NONRETURNING FUNCATTR((ATTRNORETURN))
68 /* Combination of both the above. */
69 #ifndef NONRETURNPRINTFFORMAT
70 #define NONRETURNPRINTFFORMAT(si,tc) FUNCATTR((ATTRPRINTF(si,tc),ATTRNORETURN))
73 /* GNU C constant functions, or null. */
75 #ifdef HAVE_GNUC25_CONST
76 #define ATTRCONST const
82 #define CONSTANT FUNCATTR((ATTRCONST))