1 /* Configuration header file.
2 Copyright (C) 1995, 1996, 1997, 1998, 2004
3 Free Software Foundation, Inc.
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 In addition, as a special exception, the Free Software Foundation
20 gives permission to link the code of its release of Wget with the
21 OpenSSL project's "OpenSSL" library (or with modified versions of it
22 that use the same license as the "OpenSSL" library), and distribute
23 the linked executables. You must obey the GNU General Public License
24 in all respects for all of the code used other than "OpenSSL". If you
25 modify this file, you may extend this exception to your version of the
26 file, but you are not obligated to do so. If you do not wish to do
27 so, delete this exception statement from your version. */
33 /* Define if you have the <alloca.h> header file. */
36 /* Define to empty if the keyword does not work. */
39 /* Define to `unsigned' if <sys/types.h> doesn't define. */
42 /* Define if you have the ANSI C header files. */
43 #define STDC_HEADERS 1
45 /* Define as the return type of signal handlers (int or void). */
46 #define RETSIGTYPE int
48 /* Define if your architecture is big endian (with the most
49 significant byte first). */
50 #undef WORDS_BIGENDIAN
52 /* Define if you want the FTP support for Opie compiled in. */
55 /* Define if you want the HTTP Digest Authorization compiled in. */
58 /* Define if you want the debug output support compiled in. */
59 #define ENABLE_DEBUG 1
61 /* Define if you have sys/time.h header. */
62 #undef HAVE_SYS_TIME_H
64 /* Define if you can safely include both <sys/time.h> and <time.h>. */
65 #undef TIME_WITH_SYS_TIME
67 /* Define if you have struct utimbuf. */
68 #define HAVE_STRUCT_UTIMBUF 1
70 /* Define if you have the gethostbyname function. */
71 /* #undef HAVE_GETHOSTBYNAME */
73 /* Define if you have the uname function. */
76 /* Define if you have the gethostname function. */
77 #define HAVE_GETHOSTNAME 1
79 /* Define if you have the select function. */
82 /* Define if you have the gettimeofday function. */
83 #undef HAVE_GETTIMEOFDAY
85 /* Define if you have the strdup function. */
88 /* Define if you have the sys/utsname.h header. */
89 #undef HAVE_SYS_UTSNAME_H
91 /* Define if you have the strerror function. */
92 #define HAVE_STRERROR 1
94 /* Define if you have the snprintf function. */
95 #define HAVE_SNPRINTF 1
97 /* Define if you have the vsnprintf function. */
98 #define HAVE_VSNPRINTF 1
100 /* Define to 1 if you have the `strpbrk' function. */
101 #define HAVE_STRPBRK 1
103 /* Define if you have the strstr function. */
104 #define HAVE_STRSTR 1
106 /* Define if you have the strcasecmp function. */
107 #define HAVE_STRCASECMP 1
109 /* Define if you have the strncasecmp function. */
110 #define HAVE_STRNCASECMP 1
112 /* Define if you have the strptime function. */
115 /* Define if you have the mktime function. */
116 #define HAVE_MKTIME 1
118 /* Define if you have the symlink function. */
121 /* Define if you have the signal function. */
124 /* Define if you have the <stdarg.h> header file. */
125 #define HAVE_STDARG_H 1
127 /* Use ANSI-style stdargs regardless of whether the compiler bothers
128 to define __STDC__. (Many don't when extensions are enabled.)
129 This define used to be in mswindows.h, but wheren't making any use there */
130 #define WGET_USE_STDARG
132 /* Define if you have the <stdlib.h> header file. */
133 #define HAVE_STDLIB_H 1
135 /* Define if you have the <string.h> header file. */
136 #define HAVE_STRING_H 1
138 /* Define if you have the <unistd.h> header file. */
139 #if !defined(_MSC_VER)
143 /* None except Digital Mars have sleep/usleep functions */
145 #define HAVE_USLEEP 1
149 /* Define if you have the <utime.h> header file. */
152 /* Define if you have the <sys/utime.h> header file. */
153 #define HAVE_SYS_UTIME_H 1
155 /* Define to 1 if you have the <limits.h> header file. */
156 #define HAVE_LIMITS_H 1
158 /* Define to 1 if you have the <locale.h> header file. */
159 #define HAVE_LOCALE_H 1
161 /* Define if you have the <sys/select.h> header file. */
162 #undef HAVE_SYS_SELECT_H
164 /* Define if you have the <pwd.h> header file. */
167 /* Define if you have the <signal.h> header file. */
168 #define HAVE_SIGNAL_H 1
170 /* Define to be the name of the operating system. */
171 #define OS_TYPE "Windows"
173 #define CTRLBREAK_BACKGND 1
175 /* Define if you wish to compile with socks support. */
176 /* #undef HAVE_SOCKS */
178 /* Define to 1 if ANSI function prototypes are usable. */
181 /* Define if we're compiling in support for MD5. */
184 /* Define if we're using Solaris libmd5. */
185 #undef HAVE_SOLARIS_MD5
187 /* Define if we're using builtin (GNU) md5.c. */
188 #define HAVE_BUILTIN_MD5 1
190 /* Work around VC 6 issues */
191 #define inline __inline
192 #define ftruncate chsize
194 /* Define if you have the isatty function. */
195 #define HAVE_ISATTY 1
197 /* Define if you have the memmove function */
198 #define HAVE_MEMMOVE 1
200 /* Define to the length of short. */
201 #define SIZEOF_SHORT 2
203 /* Define to the length of int. */
206 /* Define to the length of long. */
207 #define SIZEOF_LONG 4
209 /* Defined to int or size_t on systems without socklen_t. */
210 #define socklen_t int
212 /* Define if you have uint32_t. */
215 #endif /* CONFIG_H */