]> sjero.net Git - wget/blob - windows/config.h.mingw
[svn] Don't delete executables other than wget.exe.
[wget] / windows / config.h.mingw
1 /* Configuration header file.
2    Copyright (C) 1995, 1996, 1997, 1998, 2000, 2001, 2004
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 /* For MinGW GCC/Win32, alloca is defined in the <malloc.h> header file. */
38 #include <malloc.h>
39
40 /* Flag that C files should include <stdarg.h>, not <varargs.h>.  */
41 #define WGET_USE_STDARG
42
43 /* Define to empty if the keyword does not work.  */
44 /* #undef const */
45
46 /* Define to empty or __inline__ or __inline.  */
47 /* #undef inline */
48
49 /* Define to `unsigned' if <sys/types.h> doesn't define.  */
50 /* #undef size_t */
51
52 /* Define to `int' if <sys/types.h> doesn't define.  */
53 /* #undef pid_t */
54
55 /* Define if you have the ANSI C header files.  */
56 #define STDC_HEADERS 1
57
58 /* Define as the return type of signal handlers (int or void).  */
59 #define RETSIGTYPE void
60
61 /* Define if your architecture is big endian (with the most
62    significant byte first).  */
63 /* #undef WORDS_BIGENDIAN */
64
65 #define ftruncate chsize
66
67 /* Define to the length of short. */
68 #define SIZEOF_SHORT 2
69
70 /* Define to the length of int. */
71 #define SIZEOF_INT 4
72
73 /* Define to the length of long. */
74 #define SIZEOF_LONG 4
75
76 /* Define to the length of long long. */
77 #define SIZEOF_LONG_LONG 8
78
79 /* Define this if you want the NLS support.  */
80 /* #undef HAVE_NLS */
81
82 /* Define if you want the FTP support for Opie compiled in.  */
83 #define ENABLE_OPIE 1
84
85 /* Define if you want the NTLM authorization support compiled in. */
86 #ifdef HAVE_SSL
87 # define ENABLE_NTLM
88 #endif
89
90 /* Define if you want the HTTP Digest Authorization compiled in.  */
91 #define ENABLE_DIGEST 1
92
93 /* Define if you want the debug output support compiled in.  */
94 #define ENABLE_DEBUG 1
95
96 /* Define to 1 if the system has the type `sig_atomic_t'. */
97 #define HAVE_SIG_ATOMIC_T 1
98
99 /* Define if you have sys/time.h header.  */
100 #define HAVE_SYS_TIME_H 1
101
102 /* Define if you can safely include both <sys/time.h> and <time.h>.  */
103 #define TIME_WITH_SYS_TIME 1
104
105 /* Define if you have struct utimbuf.  */
106 #define HAVE_STRUCT_UTIMBUF 1
107
108 /* Define if you have the uname function.  */
109 /* #undef HAVE_UNAME */
110
111 /* Define if you have a working version of mmap.  */
112 /* #undef HAVE_MMAP */
113
114 /* Define if you have the gethostname function.  */
115 /* #undef HAVE_GETHOSTNAME */
116
117 /* Define if you have the select function.  */
118 /* #undef HAVE_SELECT */
119
120 /* Define if you have the gettimeofday function.  */
121 /* #undef HAVE_GETTIMEOFDAY */
122
123 /* Define if you have the strdup function.  */
124 #define HAVE_STRDUP 1
125
126 /* Define if you have the sys/utsname.h header.  */
127 /* #undef HAVE_SYS_UTSNAME_H */
128
129 /* Define if you have the strerror function.  */
130 #define HAVE_STRERROR 1
131
132 /* Define if you have the snprintf function.  */
133 #define HAVE_SNPRINTF 1
134
135 /* Define if you have the vsnprintf function.  */
136 #define HAVE_VSNPRINTF 1
137
138 /* Define if you have the strstr function.  */
139 #define HAVE_STRSTR 1
140
141 /* Define if you have the strcasecmp function.  */
142 #define HAVE_STRCASECMP 1
143
144 /* Define if you have the strncasecmp function.  */
145 #define HAVE_STRNCASECMP 1
146
147 /* Define if you have the strpbrk function.  */
148 #define HAVE_STRPBRK 1
149
150 /* Define if you have the memmove function.  */
151 #define HAVE_MEMMOVE 1
152
153 /* Define if you have the strptime function.  */
154 /* #undef HAVE_STRPTIME */
155
156 /* Define if you have the mktime function.  */
157 #define HAVE_MKTIME 1
158
159 /* Define if you have the symlink function.  */
160 /* #undef HAVE_SYMLINK */
161
162 /* Define if you have the access function.  */
163 #define HAVE_ACCESS 1
164
165 /* Define if you have the isatty function.  */
166 #define HAVE_ISATTY 1
167
168 /* Define if you have the signal function.  */
169 /* #undef HAVE_SIGNAL */
170
171 /* Define if you have the sigsetjmp function.  */
172 /* #undef HAVE_SIGSETJMP */
173
174 /* Define if you have the sigblock function.  */
175 /* #undef HAVE_SIGBLOCK */
176
177 /* Define if you have the gettext function.  */
178 /* #undef HAVE_GETTEXT */
179
180 /* Define if you have the usleep function.  */
181 /* #undef HAVE_USLEEP */
182
183 /* Define if you have the <string.h> header file.  */
184 #define HAVE_STRING_H 1
185
186 /* Define if you have the <stdarg.h> header file.  */
187 #define HAVE_STDARG_H 1
188
189 /* Define if you have the <unistd.h> header file.  */
190 #define HAVE_UNISTD_H 1
191
192 /* Define if you have the <utime.h> header file.  */
193 #define HAVE_UTIME_H 1
194
195 /* Define if you have the <sys/utime.h> header file.  */
196 #define HAVE_SYS_UTIME_H 1
197
198 /* Define if you have the <termios.h> header file.  */
199 /* #undef HAVE_TERMIOS_H */
200
201 /* Define if you have the <sys/ioctl.h> header file.  */
202 /* #undef HAVE_SYS_IOCTL_H */
203
204 /* Define if you have the <sys/select.h> header file.  */
205 /* #undef HAVE_SYS_SELECT_H */
206
207 /* Define if you have the <pwd.h> header file.  */
208 /* #undef HAVE_PWD_H */
209
210 /* Define if you have the <signal.h> header file.  */
211 #define HAVE_SIGNAL_H 1
212
213 /* Define if you have the <setjmp.h> header file.  */
214 #define HAVE_SETJMP_H 1
215
216 /* Define if you have the <libintl.h> header file.  */
217 /* #undef HAVE_LIBINTL_H */
218
219 /* Define if you have the <locale.h> header file.  */
220 #define HAVE_LOCALE_H 1
221
222 /* Define to be the name of the operating system.  */
223 #define OS_TYPE "mingw32"
224
225 /* Define if you wish to compile with socks support.  */
226 /* #undef HAVE_SOCKS */
227
228 /* Define to 1 if ANSI function prototypes are usable.  */
229 #define PROTOTYPES 1
230
231 /* Define if all libs needed for ssl support are existing */
232 /* #undef HAVE_SSL */
233
234 /* Define if we're compiling in support for MD5.  */
235 #define HAVE_MD5 1
236
237 /* Define if we're using Solaris libmd5.  */
238 /* #undef HAVE_SOLARIS_MD5 */
239
240 /* Define if we're using OpenSSL md5.  */
241 /* #undef HAVE_OPENSSL_MD5 */
242
243 /* Define if we're using builtin (GNU) md5.c.  */
244 #define HAVE_BUILTIN_MD5 1
245
246 /* Define if you have the getaddrinfo function.  */
247 /* #undef HAVE_GETADDRINFO */
248
249 /* Define if the system headers support the AI_ADDRCONFIG flag. */
250 /* #undef HAVE_GETADDRINFO_AI_ADDRCONFIG */
251
252 /* Define if the system headers support the AI_V4MAPPED flag. */
253 /* #undef HAVE_GETADDRINFO_AI_V4MAPPED */
254
255 /* Define if the system headers support the AI_ALL flag. */
256 /* #undef HAVE_GETADDRINFO_AI_ALL */
257
258 /* Define if the system supports struct sockaddr_in6 */
259 /* #undef HAVE_HAVE_STRUCT_SOCKADDR_IN6 */
260
261 /* Define if struct sockaddr_in6 has the sin6_scope_id member */
262 /* #undef HAVE_SOCKADDR_IN6_SCOPE_ID */
263
264 /* Define if you want to enable the IPv6 support.  */
265 /* #undef ENABLE_IPV6 */
266
267 /* Defined to int or size_t on systems without socklen_t.  */
268 #define socklen_t int
269
270 /* Define if you have uint32_t.  */
271 #undef HAVE_UINT32_T
272
273 #endif /* CONFIG_H */