chiark / gitweb /
debian: Use debhelper to generate maint scripts
[userv.git] / config.h.in
1 /* config.h.in.  Generated from configure.in by autoheader.  */
2 /*
3  * userv - acconfig.h
4  * extra stuff for config.h.in (autoconf)
5  *
6  * userv is copyright Ian Jackson and other contributors.
7  * See README for full authorship information.
8  *
9  * This is free software; you can redistribute it and/or modify it
10  * under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 3 of the License, or
12  * (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful, but
15  * WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17  * General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with userv; if not, see <http://www.gnu.org/licenses/>.
21  */
22
23 /* Define if EPROTO exists.  */
24 #undef HAVE_EPROTO
25
26 /* Define if LOG_AUTHPRIV exists.  */
27 #undef HAVE_LOG_AUTHPRIV
28
29 /* Define if WCOREDUMP exists.  */
30 #undef HAVE_WCOREDUMP
31
32 /* Define if function attributes a la GCC 2.5 and higher are available.  */
33 #undef HAVE_GNUC25_ATTRIB
34
35 /* Define if unused functions a la GCC 2.5 and higher are available.  */
36 #undef HAVE_GNUC25_UNUSED
37
38 /* Define if nonreturning functions a la GCC 2.5 and higher are available.  */
39 #undef HAVE_GNUC25_NORETURN
40
41 /* Define if printf-format argument lists a la GCC are available.  */
42 #undef HAVE_GNUC25_PRINTFFORMAT
43
44
45 /* Define to 1 if you have the `socket' library (-lsocket). */
46 #undef HAVE_LIBSOCKET
47
48 /* Define to 1 if you have the `setenv' function. */
49 #undef HAVE_SETENV
50
51 /* Define to 1 if you have the `strsignal' function. */
52 #undef HAVE_STRSIGNAL
53
54 /* Define to 1 if you have the `vsnprintf' function. */
55 #undef HAVE_VSNPRINTF
56
57 /* Define to the address where bug reports for this package should be sent. */
58 #undef PACKAGE_BUGREPORT
59
60 /* Define to the full name of this package. */
61 #undef PACKAGE_NAME
62
63 /* Define to the full name and version of this package. */
64 #undef PACKAGE_STRING
65
66 /* Define to the one symbol short name of this package. */
67 #undef PACKAGE_TARNAME
68
69 /* Define to the home page for this package. */
70 #undef PACKAGE_URL
71
72 /* Define to the version of this package. */
73 #undef PACKAGE_VERSION
74
75 /* STRSIGNAL */
76 #ifndef HAVE_STRSIGNAL
77 #define STRSIGNAL(x) "[platform has no strsignal!]"
78 #endif
79
80 /* VSNPRINTF */
81 #ifndef HAVE_VSNPRINTF
82 # 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/"
83 #endif
84
85 /* EPROTO */
86 #ifndef HAVE_EPROTO
87 #define EPROTO 0
88 #endif
89
90 /* LOG_AUTHPRIV */
91 #ifndef HAVE_LOG_AUTHPRIV
92 #define LOG_AUTHPRIV LOG_AUTH
93 #endif
94
95 /* WCOREDUMP */
96 #ifndef HAVE_WCOREDUMP
97 #define WCOREDUMP(x) 0
98 #endif
99
100 /* GNU C attributes. */
101 #ifndef FUNCATTR
102 #ifdef HAVE_GNUC25_ATTRIB
103 #define FUNCATTR(x) __attribute__(x)
104 #else
105 #define FUNCATTR(x)
106 #endif
107 #endif
108
109 /* GNU C printf formats, or null. */
110 #ifndef ATTRPRINTF
111 #ifdef HAVE_GNUC25_PRINTFFORMAT
112 #define ATTRPRINTF(si,tc) format(printf,si,tc)
113 #else
114 #define ATTRPRINTF(si,tc)
115 #endif
116 #endif
117 #ifndef PRINTFFORMAT
118 #define PRINTFFORMAT(si,tc) FUNCATTR((ATTRPRINTF(si,tc)))
119 #endif
120
121 /* GNU C nonreturning functions, or null. */
122 #ifndef ATTRNORETURN
123 #ifdef HAVE_GNUC25_NORETURN
124 #define ATTRNORETURN noreturn
125 #else
126 #define ATTRNORETURN
127 #endif
128 #endif
129 #ifndef NONRETURNING
130 #define NONRETURNING FUNCATTR((ATTRNORETURN))
131 #endif
132
133 /* Combination of both the above. */
134 #ifndef NONRETURNPRINTFFORMAT
135 #define NONRETURNPRINTFFORMAT(si,tc) FUNCATTR((ATTRPRINTF(si,tc),ATTRNORETURN))
136 #endif
137
138 /* GNU C unused functions, or null. */
139 #ifndef ATTRUNUSED
140 #ifdef HAVE_GNUC25_UNUSED
141 #define ATTRUNUSED unused
142 #else
143 #define ATTRUNUSED
144 #endif
145 #endif
146 #ifndef UNUSED
147 #define UNUSED FUNCATTR((ATTRUNUSED))
148 #endif