1 /* config.h.in. Generated automatically from configure.in by autoheader 2.13. */
3 /* Define if EPROTO exists. */
6 /* Define if LOG_AUTHPRIV exists. */
7 #undef HAVE_LOG_AUTHPRIV
9 /* Define if WCOREDUMP exists. */
12 /* Define if function attributes a la GCC 2.5 and higher are available. */
13 #undef HAVE_GNUC25_ATTRIB
15 /* Define if unused functions a la GCC 2.5 and higher are available. */
16 #undef HAVE_GNUC25_UNUSED
18 /* Define if nonreturning functions a la GCC 2.5 and higher are available. */
19 #undef HAVE_GNUC25_NORETURN
21 /* Define if printf-format argument lists a la GCC are available. */
22 #undef HAVE_GNUC25_PRINTFFORMAT
24 /* Define if you have the setenv function. */
27 /* Define if you have the strsignal function. */
30 /* Define if you have the vsnprintf function. */
33 /* Define if you have the socket library (-lsocket). */
37 #ifndef HAVE_STRSIGNAL
38 #define STRSIGNAL(x) "[platform has no strsignal!]"
42 #ifndef HAVE_VSNPRINTF
43 # error "You must have vsnprintf! Without vsnprintf it is very hard to write secure programs. If you don't have it then your system libc is probably full of hideous buffer overrun security bugs. But, if you don't want to fix your system a portable snprintf can be found at http://www.ijs.si/software/snprintf/"
52 #ifndef HAVE_LOG_AUTHPRIV
53 #define LOG_AUTHPRIV LOG_AUTH
57 #ifndef HAVE_WCOREDUMP
58 #define WCOREDUMP(x) 0
61 /* GNU C attributes. */
63 #ifdef HAVE_GNUC25_ATTRIB
64 #define FUNCATTR(x) __attribute__(x)
70 /* GNU C printf formats, or null. */
72 #ifdef HAVE_GNUC25_PRINTFFORMAT
73 #define ATTRPRINTF(si,tc) format(printf,si,tc)
75 #define ATTRPRINTF(si,tc)
79 #define PRINTFFORMAT(si,tc) FUNCATTR((ATTRPRINTF(si,tc)))
82 /* GNU C nonreturning functions, or null. */
84 #ifdef HAVE_GNUC25_NORETURN
85 #define ATTRNORETURN noreturn
91 #define NONRETURNING FUNCATTR((ATTRNORETURN))
94 /* Combination of both the above. */
95 #ifndef NONRETURNPRINTFFORMAT
96 #define NONRETURNPRINTFFORMAT(si,tc) FUNCATTR((ATTRPRINTF(si,tc),ATTRNORETURN))
99 /* GNU C unused functions, or null. */
101 #ifdef HAVE_GNUC25_UNUSED
102 #define ATTRUNUSED unused
108 #define UNUSED FUNCATTR((ATTRUNUSED))