1 /* src/config.h.in. Generated automatically from configure.in by autoheader 2.13. */
3 /* Define if inline functions a la GCC are available. */
6 /* Define if function attributes a la GCC 2.5 and higher are available. */
7 #undef HAVE_GNUC25_ATTRIB
9 /* Define if constant functions a la GCC 2.5 and higher are available. */
10 #undef HAVE_GNUC25_CONST
12 /* Define if nonreturning functions a la GCC 2.5 and higher are available. */
13 #undef HAVE_GNUC25_NORETURN
15 /* Define if printf-format argument lists a la GCC are available. */
16 #undef HAVE_GNUC25_PRINTFFORMAT
18 /* Define if we want to include rpc/types.h. Crap BSDs put INADDR_LOOPBACK there. */
19 #undef HAVEUSE_RPCTYPES_H
21 /* Define if you have the poll function. */
24 /* Define if you have the nsl library (-lnsl). */
27 /* Define if you have the socket library (-lsocket). */
30 /* Use the definitions: */
40 struct pollfd { int fd; short events; short revents; };
46 /* GNU C attributes. */
48 #ifdef HAVE_GNUC25_ATTRIB
49 #define FUNCATTR(x) __attribute__(x)
55 /* GNU C printf formats, or null. */
57 #ifdef HAVE_GNUC25_PRINTFFORMAT
58 #define ATTRPRINTF(si,tc) format(printf,si,tc)
60 #define ATTRPRINTF(si,tc)
64 #define PRINTFFORMAT(si,tc) FUNCATTR((ATTRPRINTF(si,tc)))
67 /* GNU C nonreturning functions, or null. */
69 #ifdef HAVE_GNUC25_NORETURN
70 #define ATTRNORETURN noreturn
76 #define NONRETURNING FUNCATTR((ATTRNORETURN))
79 /* Combination of both the above. */
80 #ifndef NONRETURNPRINTFFORMAT
81 #define NONRETURNPRINTFFORMAT(si,tc) FUNCATTR((ATTRPRINTF(si,tc),ATTRNORETURN))
84 /* GNU C constant functions, or null. */
86 #ifdef HAVE_GNUC25_CONST
87 #define ATTRCONST const
93 #define CONSTANT FUNCATTR((ATTRCONST))
96 #ifdef HAVEUSE_RPCTYPES_H
97 #include <rpc/types.h>