1 /* src/config.h. Generated automatically by configure. */
2 /* src/config.h.in. Generated automatically from configure.in by autoheader. */
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 <sys/select.h> header file. */
26 #define HAVE_SYS_SELECT_H 1
28 /* Define if you have the nsl library (-lnsl). */
29 /* #undef HAVE_LIBNSL */
31 /* Define if you have the socket library (-lsocket). */
32 /* #undef HAVE_LIBSOCKET */
34 /* Use the definitions: */
44 struct pollfd { int fd; short events; short revents; };
50 /* GNU C attributes. */
52 #ifdef HAVE_GNUC25_ATTRIB
53 #define FUNCATTR(x) __attribute__(x)
59 /* GNU C printf formats, or null. */
61 #ifdef HAVE_GNUC25_PRINTFFORMAT
62 #define ATTRPRINTF(si,tc) format(printf,si,tc)
64 #define ATTRPRINTF(si,tc)
68 #define PRINTFFORMAT(si,tc) FUNCATTR((ATTRPRINTF(si,tc)))
71 /* GNU C nonreturning functions, or null. */
73 #ifdef HAVE_GNUC25_NORETURN
74 #define ATTRNORETURN noreturn
80 #define NONRETURNING FUNCATTR((ATTRNORETURN))
83 /* Combination of both the above. */
84 #ifndef NONRETURNPRINTFFORMAT
85 #define NONRETURNPRINTFFORMAT(si,tc) FUNCATTR((ATTRPRINTF(si,tc),ATTRNORETURN))
88 /* GNU C constant functions, or null. */
90 #ifdef HAVE_GNUC25_CONST
91 #define ATTRCONST const
97 #define CONSTANT FUNCATTR((ATTRCONST))
100 #ifdef HAVEUSE_RPCTYPES_H
101 #include <rpc/types.h>
104 #ifdef HAVE_SYS_SELECT_H
105 #include <sys/select.h>