1 /* src/config.h.in. Generated automatically from configure.in by autoheader. */
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 <sys/select.h> header file. */
25 #undef HAVE_SYS_SELECT_H
27 /* Define if you have the nsl library (-lnsl). */
30 /* Define if you have the socket library (-lsocket). */
33 /* Use the definitions: */
43 struct pollfd { int fd; short events; short revents; };
49 /* GNU C attributes. */
51 #ifdef HAVE_GNUC25_ATTRIB
52 #define FUNCATTR(x) __attribute__(x)
58 /* GNU C printf formats, or null. */
60 #ifdef HAVE_GNUC25_PRINTFFORMAT
61 #define ATTRPRINTF(si,tc) format(printf,si,tc)
63 #define ATTRPRINTF(si,tc)
67 #define PRINTFFORMAT(si,tc) FUNCATTR((ATTRPRINTF(si,tc)))
70 /* GNU C nonreturning functions, or null. */
72 #ifdef HAVE_GNUC25_NORETURN
73 #define ATTRNORETURN noreturn
79 #define NONRETURNING FUNCATTR((ATTRNORETURN))
82 /* Combination of both the above. */
83 #ifndef NONRETURNPRINTFFORMAT
84 #define NONRETURNPRINTFFORMAT(si,tc) FUNCATTR((ATTRPRINTF(si,tc),ATTRNORETURN))
87 /* GNU C constant functions, or null. */
89 #ifdef HAVE_GNUC25_CONST
90 #define ATTRCONST const
96 #define CONSTANT FUNCATTR((ATTRCONST))
99 #ifdef HAVEUSE_RPCTYPES_H
100 #include <rpc/types.h>
103 #ifdef HAVE_SYS_SELECT_H
104 #include <sys/select.h>