]> sjero.net Git - wget/blob - src/config.h.in
[svn] Provide the support for int32_t and u_int32_t.
[wget] / src / config.h.in
1 /* Configuration header file.
2    Copyright (C) 1995, 1996, 1997, 1998, 2000, 2001
3    Free Software Foundation, Inc.
4
5 This file is part of GNU Wget.
6
7 GNU Wget is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
11
12 GNU Wget is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with Wget; if not, write to the Free Software
19 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20
21 In addition, as a special exception, the Free Software Foundation
22 gives permission to link the code of its release of Wget with the
23 OpenSSL project's "OpenSSL" library (or with modified versions of it
24 that use the same license as the "OpenSSL" library), and distribute
25 the linked executables.  You must obey the GNU General Public License
26 in all respects for all of the code used other than "OpenSSL".  If you
27 modify this file, you may extend this exception to your version of the
28 file, but you are not obligated to do so.  If you do not wish to do
29 so, delete this exception statement from your version.  */
30
31 #ifndef CONFIG_H
32 #define CONFIG_H
33
34 /* Define if you have the <alloca.h> header file.  */
35 #undef HAVE_ALLOCA_H
36
37 /* AIX requires this to be the first thing in the file.  */
38 #ifdef __GNUC__
39 # define alloca __builtin_alloca
40 #else
41 # if HAVE_ALLOCA_H
42 #  include <alloca.h>
43 # else
44 #  ifdef _AIX
45  #pragma alloca
46 #  else
47 #   ifndef alloca /* predefined by HP cc +Olibcalls */
48 char *alloca ();
49 #   endif
50 #  endif
51 # endif
52 #endif
53
54 /* Define if on AIX 3.
55    System headers sometimes define this.
56    We just want to avoid a redefinition error message.  */
57 #ifndef _ALL_SOURCE
58 #undef _ALL_SOURCE
59 #endif
60
61 /* Define to empty if the keyword does not work.  */
62 #undef const
63
64 /* Define to empty or __inline__ or __inline.  */
65 #undef inline
66
67 /* Define to `unsigned' if <sys/types.h> doesn't define.  */
68 #undef size_t
69
70 /* Define to `int' if <sys/types.h> doesn't define.  */
71 #undef pid_t
72
73 /* Define if you have the ANSI C header files.  */
74 #undef STDC_HEADERS
75
76 /* Define as the return type of signal handlers (int or void).  */
77 #undef RETSIGTYPE
78
79 /* Define if your architecture is big endian (with the most
80    significant byte first).  */
81 #undef WORDS_BIGENDIAN
82
83 /* Define to the length of int. */
84 #undef SIZEOF_INT
85
86 /* Define to the length of long. */
87 #undef SIZEOF_LONG
88
89 /* Define to the length of long long. */
90 #undef SIZEOF_LONG_LONG
91
92 #undef HAVE_LONG_LONG
93 #if SIZEOF_LONG_LONG != 0
94 # define HAVE_LONG_LONG
95 #endif
96
97 /* Define this if you want the NLS support.  */
98 #undef HAVE_NLS
99
100 /* Define if you want the FTP support for Opie compiled in.  */
101 #undef USE_OPIE
102
103 /* Define if you want the HTTP Digest Authorization compiled in.  */
104 #undef USE_DIGEST
105
106 /* Define if you want the debug output support compiled in.  */
107 #undef ENABLE_DEBUG
108
109 /* Define if you have sys/time.h header.  */
110 #undef HAVE_SYS_TIME_H
111
112 /* Define if you can safely include both <sys/time.h> and <time.h>.  */
113 #undef TIME_WITH_SYS_TIME
114
115 /* Define if you have struct utimbuf.  */
116 #undef HAVE_STRUCT_UTIMBUF
117
118 /* Define if you have the uname function.  */
119 #undef HAVE_UNAME
120
121 /* Define if you have a working version of mmap.  */
122 #undef HAVE_MMAP
123
124 /* Define if you have the gethostname function.  */
125 #undef HAVE_GETHOSTNAME
126
127 /* Define if you have the select function.  */
128 #undef HAVE_SELECT
129
130 /* Define if you have the gettimeofday function.  */
131 #undef HAVE_GETTIMEOFDAY
132
133 /* Define if you have the strdup function.  */
134 #undef HAVE_STRDUP
135
136 /* Define if you have the sys/utsname.h header.  */
137 #undef HAVE_SYS_UTSNAME_H
138
139 /* Define if you have the strerror function.  */
140 #undef HAVE_STRERROR
141
142 /* Define if you have the snprintf function.  */
143 #undef HAVE_SNPRINTF
144
145 /* Define if you have the vsnprintf function.  */
146 #undef HAVE_VSNPRINTF
147
148 /* Define if you have the strstr function.  */
149 #undef HAVE_STRSTR
150
151 /* Define if you have the strcasecmp function.  */
152 #undef HAVE_STRCASECMP
153
154 /* Define if you have the strncasecmp function.  */
155 #undef HAVE_STRNCASECMP
156
157 /* Define if you have the strpbrk function.  */
158 #undef HAVE_STRPBRK
159
160 /* Define if you have the memmove function.  */
161 #undef HAVE_MEMMOVE
162
163 /* Define if you have the strptime function.  */
164 #undef HAVE_STRPTIME
165
166 /* Define if you have the mktime function.  */
167 #undef HAVE_MKTIME
168
169 /* Define if you have the symlink function.  */
170 #undef HAVE_SYMLINK
171
172 /* Define if you have the access function.  */
173 #undef HAVE_ACCESS
174
175 /* Define if you have the isatty function.  */
176 #undef HAVE_ISATTY
177
178 /* Define if you have the signal function.  */
179 #undef HAVE_SIGNAL
180
181 /* Define if you have the sigsetjmp function.  */
182 #undef HAVE_SIGSETJMP
183
184 /* Define if you have the sigblock function.  */
185 #undef HAVE_SIGBLOCK
186
187 /* Define if you have the gettext function.  */
188 #undef HAVE_GETTEXT
189
190 /* Define if you have the usleep function.  */
191 #undef HAVE_USLEEP
192
193 /* Define if you have the <string.h> header file.  */
194 #undef HAVE_STRING_H
195
196 /* Define if you have the <stdarg.h> header file.  */
197 #undef HAVE_STDARG_H
198
199 /* Define if you have the <unistd.h> header file.  */
200 #undef HAVE_UNISTD_H
201
202 /* Define if you have the <utime.h> header file.  */
203 #undef HAVE_UTIME_H
204
205 /* Define if you have the <sys/utime.h> header file.  */
206 #undef HAVE_SYS_UTIME_H
207
208 /* Define if you have the <termios.h> header file.  */
209 #undef HAVE_TERMIOS_H
210
211 /* Define if you have the <sys/ioctl.h> header file.  */
212 #undef HAVE_SYS_IOCTL_H
213
214 /* Define if you have the <sys/select.h> header file.  */
215 #undef HAVE_SYS_SELECT_H
216
217 /* Define if you have the <pwd.h> header file.  */
218 #undef HAVE_PWD_H
219
220 /* Define if you have the <signal.h> header file.  */
221 #undef HAVE_SIGNAL_H
222
223 /* Define if you have the <setjmp.h> header file.  */
224 #undef HAVE_SETJMP_H
225
226 /* Define if you have the <libintl.h> header file.  */
227 #undef HAVE_LIBINTL_H
228
229 /* Define if you have the <locale.h> header file.  */
230 #undef HAVE_LOCALE_H
231
232 /* Define to be the name of the operating system.  */
233 #undef OS_TYPE
234
235 /* Define if you wish to compile with socks support.  */
236 #undef HAVE_SOCKS
237
238 /* Define to 1 if ANSI function prototypes are usable.  */
239 #undef PROTOTYPES
240
241 /* Define if all libs needed for ssl support are existing */
242 #undef HAVE_SSL
243
244 /* Define if we're compiling in support for MD5.  */
245 #undef HAVE_MD5
246
247 /* Define if we're using Solaris libmd5.  */
248 #undef HAVE_SOLARIS_MD5
249
250 /* Define if we're using OpenSSL md5.  */
251 #undef HAVE_OPENSSL_MD5
252
253 /* Define if we're using builtin (GNU) md5.c.  */
254 #undef HAVE_BUILTIN_MD5
255
256 /* Define if you have the getaddrinfo function.  */
257 #undef HAVE_GETADDRINFO
258
259 /* Define if the system headers support the AI_ADDRCONFIG flag. */
260 #undef HAVE_GETADDRINFO_AI_ADDRCONFIG
261
262 /* Define if the system headers support the AI_V4MAPPED flag. */
263 #undef HAVE_GETADDRINFO_AI_V4MAPPED
264
265 /* Define if the system headers support the AI_ALL flag. */
266 #undef HAVE_GETADDRINFO_AI_ALL
267
268 /* Define if the system supports struct sockaddr_in6 */
269 #undef HAVE_HAVE_STRUCT_SOCKADDR_IN6
270
271 /* Define if struct sockaddr_in6 has the sin6_scope_id member */
272 #undef HAVE_SOCKADDR_IN6_SCOPE_ID
273
274 /* Define if you want to enable the IPv6 support.  */
275 #undef ENABLE_IPV6
276
277 /* Defined to int or size_t on systems without socklen_t.  */
278 #undef socklen_t
279
280 /* Define if you have int32_t.  */
281 #undef HAVE_INT32_T
282
283 /* Define if you have u_int32_t.  */
284 #undef HAVE_U_INT32_T
285
286 /* First a gambit to see whether we're on Solaris.  We'll
287    need it below.  */
288 #ifdef __sun
289 # ifdef __SVR4
290 #  define solaris
291 # endif
292 #endif
293
294 /* The following several lines can be very dangerous; they can cripple
295    the header files and break compilation in _verY_ non-obvious ways.
296    Because of that, we define them only on architectures we know
297    about.  */
298
299 #undef NAMESPACE_TWEAKS
300
301 #ifdef solaris
302 # define NAMESPACE_TWEAKS
303 # ifdef __GNUC__
304 /* Prevent stdio.h from declaring va_list and thus tripping gcc's
305    stdarg.h. */
306 #  define _VA_LIST
307 # endif
308 #endif
309
310 #ifdef __linux__
311 # define NAMESPACE_TWEAKS
312 #endif
313
314 #ifdef NAMESPACE_TWEAKS
315
316 /* Request the "Unix 98 compilation environment". */
317 #define _XOPEN_SOURCE 500
318
319 /* For Solaris: request everything else that is available and doesn't
320    conflict with the above.  */
321 #define __EXTENSIONS__
322
323 /* For Linux: request features of 4.3BSD and SVID (System V Interface
324    Definition). */
325 #define _SVID_SOURCE
326 #define _BSD_SOURCE
327
328 #endif /* NAMESPACE_TWEAKS */
329
330 #endif /* CONFIG_H */