chiark / gitweb /
Cope with moved changelogs.
[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 function attributes a la GCC 2.5 and higher are available.  */
7 #undef HAVE_GNUC25_ATTRIB
8
9 /* Define if unused functions a la GCC 2.5 and higher are available.  */
10 #undef HAVE_GNUC25_UNUSED
11
12 /* Define if nonreturning functions a la GCC 2.5 and higher are available.  */
13 #undef HAVE_GNUC25_NORETURN
14
15 /* Define if printf-format argument lists a la GCC are available.  */
16 #undef HAVE_GNUC25_PRINTFFORMAT
17
18 /* EPROTO */
19 #ifndef HAVE_EPROTO
20 #define EPROTO 0
21 #endif
22
23 /* GNU C attributes. */
24 #ifndef FUNCATTR
25 #ifdef HAVE_GNUC25_ATTRIB
26 #define FUNCATTR(x) __attribute__(x)
27 #else
28 #define FUNCATTR(x)
29 #endif
30 #endif
31
32 /* GNU C printf formats, or null. */
33 #ifndef ATTRPRINTF
34 #ifdef HAVE_GNUC25_PRINTFFORMAT
35 #define ATTRPRINTF(si,tc) format(printf,si,tc)
36 #else
37 #define ATTRPRINTF(si,tc)
38 #endif
39 #endif
40 #ifndef PRINTFFORMAT
41 #define PRINTFFORMAT(si,tc) FUNCATTR((ATTRPRINTF(si,tc)))
42 #endif
43
44 /* GNU C nonreturning functions, or null. */
45 #ifndef ATTRNORETURN
46 #ifdef HAVE_GNUC25_NORETURN
47 #define ATTRNORETURN noreturn
48 #else
49 #define ATTRNORETURN
50 #endif
51 #endif
52 #ifndef NONRETURNING
53 #define NONRETURNING FUNCATTR((ATTRNORETURN))
54 #endif
55
56 /* Combination of both the above. */
57 #ifndef NONRETURNPRINTFFORMAT
58 #define NONRETURNPRINTFFORMAT(si,tc) FUNCATTR((ATTRPRINTF(si,tc),ATTRNORETURN))
59 #endif
60
61 /* GNU C unused functions, or null. */
62 #ifndef ATTRUNUSED
63 #ifdef HAVE_GNUC25_UNUSED
64 #define ATTRUNUSED unused
65 #else
66 #define ATTRUNUSED
67 #endif
68 #endif
69 #ifndef UNUSED
70 #define UNUSED FUNCATTR((ATTRUNUSED))
71 #endif