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