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 we want to include rpc/types.h. Crap BSDs put INADDR_LOOPBACK there. */
16 #undef HAVEUSE_RPCTYPES_H
18 /* Define if you have the poll function. */
21 /* Define if you have the nsl library (-lnsl). */
24 /* Define if you have the socket library (-lsocket). */
27 /* Use the definitions: */
33 struct pollfd { int fd; short events; short revents; };
39 /* GNU C attributes. */
41 #ifdef HAVE_GNUC25_ATTRIB
42 #define FUNCATTR(x) __attribute__(x)
48 /* GNU C printf formats, or null. */
50 #ifdef HAVE_GNUC25_PRINTFFORMAT
51 #define ATTRPRINTF(si,tc) format(printf,si,tc)
53 #define ATTRPRINTF(si,tc)
57 #define PRINTFFORMAT(si,tc) FUNCATTR((ATTRPRINTF(si,tc)))
60 /* GNU C nonreturning functions, or null. */
62 #ifdef HAVE_GNUC25_NORETURN
63 #define ATTRNORETURN noreturn
69 #define NONRETURNING FUNCATTR((ATTRNORETURN))
72 /* Combination of both the above. */
73 #ifndef NONRETURNPRINTFFORMAT
74 #define NONRETURNPRINTFFORMAT(si,tc) FUNCATTR((ATTRPRINTF(si,tc),ATTRNORETURN))
77 /* GNU C constant functions, or null. */
79 #ifdef HAVE_GNUC25_CONST
80 #define ATTRCONST const
86 #define CONSTANT FUNCATTR((ATTRCONST))
89 #ifdef HAVEUSE_RPCTYPES_H
90 #include <rpc/types.h>