1 /* src/config.h. Generated automatically by configure. */
2 /* src/config.h.in. Generated automatically from configure.in by autoheader 2.13. */
4 /* Define if inline functions a la GCC are available. */
7 /* Define if function attributes a la GCC 2.5 and higher are available. */
8 #define HAVE_GNUC25_ATTRIB 1
10 /* Define if constant functions a la GCC 2.5 and higher are available. */
11 #define HAVE_GNUC25_CONST 1
13 /* Define if nonreturning functions a la GCC 2.5 and higher are available. */
14 #define HAVE_GNUC25_NORETURN 1
16 /* Define if printf-format argument lists a la GCC are available. */
17 #define HAVE_GNUC25_PRINTFFORMAT 1
19 /* Define if we want to include rpc/types.h. Crap BSDs put INADDR_LOOPBACK there. */
20 /* #undef HAVEUSE_RPCTYPES_H */
22 /* Define if you have the poll function. */
25 /* Define if you have the nsl library (-lnsl). */
26 /* #undef HAVE_LIBNSL */
28 /* Define if you have the socket library (-lsocket). */
29 /* #undef HAVE_LIBSOCKET */
31 /* Use the definitions: */
41 struct pollfd { int fd; short events; short revents; };
47 /* GNU C attributes. */
49 #ifdef HAVE_GNUC25_ATTRIB
50 #define FUNCATTR(x) __attribute__(x)
56 /* GNU C printf formats, or null. */
58 #ifdef HAVE_GNUC25_PRINTFFORMAT
59 #define ATTRPRINTF(si,tc) format(printf,si,tc)
61 #define ATTRPRINTF(si,tc)
65 #define PRINTFFORMAT(si,tc) FUNCATTR((ATTRPRINTF(si,tc)))
68 /* GNU C nonreturning functions, or null. */
70 #ifdef HAVE_GNUC25_NORETURN
71 #define ATTRNORETURN noreturn
77 #define NONRETURNING FUNCATTR((ATTRNORETURN))
80 /* Combination of both the above. */
81 #ifndef NONRETURNPRINTFFORMAT
82 #define NONRETURNPRINTFFORMAT(si,tc) FUNCATTR((ATTRPRINTF(si,tc),ATTRNORETURN))
85 /* GNU C constant functions, or null. */
87 #ifdef HAVE_GNUC25_CONST
88 #define ATTRCONST const
94 #define CONSTANT FUNCATTR((ATTRCONST))
97 #ifdef HAVEUSE_RPCTYPES_H
98 #include <rpc/types.h>