chiark / gitweb /
udated copyright notices; rebuilt documentation
[userv.git] / config.h.in
1 /* config.h.in.  Generated automatically from configure.in by autoheader 2.13.  */
2
3 /* Define if EPROTO exists.  */
4 #undef HAVE_EPROTO
5
6 /* Define if LOG_AUTHPRIV exists.  */
7 #undef HAVE_LOG_AUTHPRIV
8
9 /* Define if function attributes a la GCC 2.5 and higher are available.  */
10 #undef HAVE_GNUC25_ATTRIB
11
12 /* Define if unused functions a la GCC 2.5 and higher are available.  */
13 #undef HAVE_GNUC25_UNUSED
14
15 /* Define if nonreturning functions a la GCC 2.5 and higher are available.  */
16 #undef HAVE_GNUC25_NORETURN
17
18 /* Define if printf-format argument lists a la GCC are available.  */
19 #undef HAVE_GNUC25_PRINTFFORMAT
20
21 /* Define if you have the setenv function.  */
22 #undef HAVE_SETENV
23
24 /* Define if you have the strsignal function.  */
25 #undef HAVE_STRSIGNAL
26
27 /* Define if you have the socket library (-lsocket).  */
28 #undef HAVE_LIBSOCKET
29
30 /* STRSIGNAL */
31 #ifndef HAVE_STRSIGNAL
32 #define STRSIGNAL(x) "[platform has no strsignal!]"
33 #endif
34
35 /* EPROTO */
36 #ifndef HAVE_EPROTO
37 #define EPROTO 0
38 #endif
39
40 /* LOG_AUTHPRIV */
41 #ifndef HAVE_LOG_AUTHPRIV
42 #define LOG_AUTHPRIV LOG_AUTH
43 #endif
44
45 /* WCOREDUMP */
46 #ifndef HAVE_WCOREDUMP
47 #define WCOREDUMP(x) 0
48 #endif
49
50 /* GNU C attributes. */
51 #ifndef FUNCATTR
52 #ifdef HAVE_GNUC25_ATTRIB
53 #define FUNCATTR(x) __attribute__(x)
54 #else
55 #define FUNCATTR(x)
56 #endif
57 #endif
58
59 /* GNU C printf formats, or null. */
60 #ifndef ATTRPRINTF
61 #ifdef HAVE_GNUC25_PRINTFFORMAT
62 #define ATTRPRINTF(si,tc) format(printf,si,tc)
63 #else
64 #define ATTRPRINTF(si,tc)
65 #endif
66 #endif
67 #ifndef PRINTFFORMAT
68 #define PRINTFFORMAT(si,tc) FUNCATTR((ATTRPRINTF(si,tc)))
69 #endif
70
71 /* GNU C nonreturning functions, or null. */
72 #ifndef ATTRNORETURN
73 #ifdef HAVE_GNUC25_NORETURN
74 #define ATTRNORETURN noreturn
75 #else
76 #define ATTRNORETURN
77 #endif
78 #endif
79 #ifndef NONRETURNING
80 #define NONRETURNING FUNCATTR((ATTRNORETURN))
81 #endif
82
83 /* Combination of both the above. */
84 #ifndef NONRETURNPRINTFFORMAT
85 #define NONRETURNPRINTFFORMAT(si,tc) FUNCATTR((ATTRPRINTF(si,tc),ATTRNORETURN))
86 #endif
87
88 /* GNU C unused functions, or null. */
89 #ifndef ATTRUNUSED
90 #ifdef HAVE_GNUC25_UNUSED
91 #define ATTRUNUSED unused
92 #else
93 #define ATTRUNUSED
94 #endif
95 #endif
96 #ifndef UNUSED
97 #define UNUSED FUNCATTR((ATTRUNUSED))
98 #endif