chiark / gitweb /
finalise
[userv.git] / config.h.in
1 /* config.h.in.  Generated automatically from configure.in by autoheader.  */
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 socket library (-lsocket).  */
25 #undef HAVE_LIBSOCKET
26
27 /* EPROTO */
28 #ifndef HAVE_EPROTO
29 #define EPROTO 0
30 #endif
31
32 /* LOG_AUTHPRIV */
33 #ifndef HAVE_LOG_AUTHPRIV
34 #define LOG_AUTHPRIV LOG_AUTH
35 #endif
36
37 /* GNU C attributes. */
38 #ifndef FUNCATTR
39 #ifdef HAVE_GNUC25_ATTRIB
40 #define FUNCATTR(x) __attribute__(x)
41 #else
42 #define FUNCATTR(x)
43 #endif
44 #endif
45
46 /* GNU C printf formats, or null. */
47 #ifndef ATTRPRINTF
48 #ifdef HAVE_GNUC25_PRINTFFORMAT
49 #define ATTRPRINTF(si,tc) format(printf,si,tc)
50 #else
51 #define ATTRPRINTF(si,tc)
52 #endif
53 #endif
54 #ifndef PRINTFFORMAT
55 #define PRINTFFORMAT(si,tc) FUNCATTR((ATTRPRINTF(si,tc)))
56 #endif
57
58 /* GNU C nonreturning functions, or null. */
59 #ifndef ATTRNORETURN
60 #ifdef HAVE_GNUC25_NORETURN
61 #define ATTRNORETURN noreturn
62 #else
63 #define ATTRNORETURN
64 #endif
65 #endif
66 #ifndef NONRETURNING
67 #define NONRETURNING FUNCATTR((ATTRNORETURN))
68 #endif
69
70 /* Combination of both the above. */
71 #ifndef NONRETURNPRINTFFORMAT
72 #define NONRETURNPRINTFFORMAT(si,tc) FUNCATTR((ATTRPRINTF(si,tc),ATTRNORETURN))
73 #endif
74
75 /* GNU C unused functions, or null. */
76 #ifndef ATTRUNUSED
77 #ifdef HAVE_GNUC25_UNUSED
78 #define ATTRUNUSED unused
79 #else
80 #define ATTRUNUSED
81 #endif
82 #endif
83 #ifndef UNUSED
84 #define UNUSED FUNCATTR((ATTRUNUSED))
85 #endif