1 | /* Configuration header file.
|
---|
2 | Copyright (C) 1995, 1996, 1997, 1998, 2004
|
---|
3 | Free Software Foundation, Inc.
|
---|
4 |
|
---|
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.
|
---|
9 |
|
---|
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.
|
---|
14 |
|
---|
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.
|
---|
18 |
|
---|
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. */
|
---|
28 |
|
---|
29 |
|
---|
30 | #ifndef CONFIG_H
|
---|
31 | #define CONFIG_H
|
---|
32 |
|
---|
33 | #define HAVE_SNPRINTF 1
|
---|
34 |
|
---|
35 | #define HAVE_MEMMOVE 1
|
---|
36 | #define ftruncate chsize
|
---|
37 | #define inline __inline
|
---|
38 |
|
---|
39 | /* Flag that C files should include <stdarg.h>, not <varargs.h>. */
|
---|
40 | #define WGET_USE_STDARG
|
---|
41 |
|
---|
42 | /* Define if the free Borland C++Builder 5.5 command-line compiler is used,
|
---|
43 | because its utime() has a bug. */
|
---|
44 | #define HACK_BCC_UTIME_BUG
|
---|
45 |
|
---|
46 | #ifdef HACK_BCC_UTIME_BUG
|
---|
47 | #define utime borland_utime
|
---|
48 | #endif
|
---|
49 |
|
---|
50 | /* Define if you have the <alloca.h> header file. */
|
---|
51 | #undef HAVE_ALLOCA_H
|
---|
52 |
|
---|
53 | /* For Borland C++ 5.5, alloca is defined in the <malloc.h> header file. */
|
---|
54 | #include <malloc.h>
|
---|
55 |
|
---|
56 | /* Define to empty if the keyword does not work. */
|
---|
57 | /* #undef const */
|
---|
58 |
|
---|
59 | /* Define to `unsigned' if <sys/types.h> doesn't define. */
|
---|
60 | /* #undef size_t */
|
---|
61 |
|
---|
62 | /* Define if you have the ANSI C header files. */
|
---|
63 | #define STDC_HEADERS 1
|
---|
64 |
|
---|
65 | /* Define as the return type of signal handlers (int or void). */
|
---|
66 | #define RETSIGTYPE int
|
---|
67 |
|
---|
68 | /* Define if your architecture is big endian (with the most
|
---|
69 | significant byte first). */
|
---|
70 | #undef WORDS_BIGENDIAN
|
---|
71 |
|
---|
72 | /* Define this if you want the NLS support. */
|
---|
73 | #undef ENABLE_NLS
|
---|
74 |
|
---|
75 | /* Define if you want the FTP support for Opie compiled in. */
|
---|
76 | #define ENABLE_OPIE 1
|
---|
77 |
|
---|
78 | /* Define if you want the HTTP Digest Authorization compiled in. */
|
---|
79 | #define ENABLE_DIGEST 1
|
---|
80 |
|
---|
81 | /* Define if you want the NTLM authorization support compiled in. */
|
---|
82 | #ifdef HAVE_SSL
|
---|
83 | # define ENABLE_NTLM
|
---|
84 | #endif
|
---|
85 |
|
---|
86 | /* Define if you want the debug output support compiled in. */
|
---|
87 | #define ENABLE_DEBUG 1
|
---|
88 |
|
---|
89 | /* Define if you have sys/time.h header. */
|
---|
90 | #undef HAVE_SYS_TIME_H
|
---|
91 |
|
---|
92 | /* Define if you can safely include both <sys/time.h> and <time.h>. */
|
---|
93 | #undef TIME_WITH_SYS_TIME
|
---|
94 |
|
---|
95 | /* Define if you have struct utimbuf. */
|
---|
96 | #define HAVE_STRUCT_UTIMBUF 1
|
---|
97 |
|
---|
98 | /* Define if you have the gethostbyname function. */
|
---|
99 | /* #undef HAVE_GETHOSTBYNAME */
|
---|
100 |
|
---|
101 | /* Define if you have the uname function. */
|
---|
102 | #undef HAVE_UNAME
|
---|
103 |
|
---|
104 | /* Define if you have the gethostname function. */
|
---|
105 | #define HAVE_GETHOSTNAME 1
|
---|
106 |
|
---|
107 | /* Define if you have the select function. */
|
---|
108 | #define HAVE_SELECT 1
|
---|
109 |
|
---|
110 | /* Define if you have the gettimeofday function. */
|
---|
111 | #undef HAVE_GETTIMEOFDAY
|
---|
112 |
|
---|
113 | /* Define if you have the strdup function. */
|
---|
114 | #define HAVE_STRDUP 1
|
---|
115 |
|
---|
116 | /* Define if you have the sys/utsname.h header. */
|
---|
117 | #undef HAVE_SYS_UTSNAME_H
|
---|
118 |
|
---|
119 | /* Define if you have the strerror function. */
|
---|
120 | #define HAVE_STRERROR 1
|
---|
121 |
|
---|
122 | /* Define if you have the strstr function. */
|
---|
123 | #define HAVE_STRSTR 1
|
---|
124 |
|
---|
125 | /* Define if you have the strcasecmp function. */
|
---|
126 | #define HAVE_STRCASECMP 1
|
---|
127 |
|
---|
128 | /* Define if you have the strncasecmp function. */
|
---|
129 | #define HAVE_STRNCASECMP 1
|
---|
130 |
|
---|
131 | /* Define if you have the strptime function. */
|
---|
132 | #undef HAVE_STRPTIME
|
---|
133 |
|
---|
134 | /* Define if you have the mktime function. */
|
---|
135 | #define HAVE_MKTIME 1
|
---|
136 |
|
---|
137 | /* Define if you have the symlink function. */
|
---|
138 | #undef HAVE_SYMLINK
|
---|
139 |
|
---|
140 | /* Define if you have the signal function. */
|
---|
141 | #undef HAVE_SIGNAL
|
---|
142 |
|
---|
143 | /* Define if you have the <stdarg.h> header file. */
|
---|
144 | #define HAVE_STDARG_H 1
|
---|
145 |
|
---|
146 | /* Define if you have the <stdlib.h> header file. */
|
---|
147 | #define HAVE_STDLIB_H 1
|
---|
148 |
|
---|
149 | /* Define if you have the <string.h> header file. */
|
---|
150 | #define HAVE_STRING_H 1
|
---|
151 |
|
---|
152 | /* Define if you have the <unistd.h> header file. */
|
---|
153 | /* #define HAVE_UNISTD_H 1 */
|
---|
154 | #undef HAVE_UNISTD_H
|
---|
155 |
|
---|
156 | /* Define if you have the <utime.h> header file. */
|
---|
157 | #define HAVE_UTIME_H 1
|
---|
158 |
|
---|
159 | /* Define if you have the <sys/utime.h> header file. */
|
---|
160 | #undef HAVE_SYS_UTIME_H
|
---|
161 |
|
---|
162 | /* Define if you have the <sys/select.h> header file. */
|
---|
163 | #undef HAVE_SYS_SELECT_H
|
---|
164 |
|
---|
165 | /* Define if you have the <pwd.h> header file. */
|
---|
166 | #undef HAVE_PWD_H
|
---|
167 |
|
---|
168 | /* Define if you have the <signal.h> header file. */
|
---|
169 | #undef HAVE_SIGNAL_H
|
---|
170 |
|
---|
171 | /* Define to be the name of the operating system. */
|
---|
172 | #define OS_TYPE "Windows"
|
---|
173 |
|
---|
174 | #define CTRLBREAK_BACKGND 1
|
---|
175 |
|
---|
176 | /* Define if you wish to compile with socks support. */
|
---|
177 | /* #undef HAVE_SOCKS */
|
---|
178 |
|
---|
179 | /* Define to 1 if ANSI function prototypes are usable. */
|
---|
180 | #define PROTOTYPES 1
|
---|
181 |
|
---|
182 | /* Define if we're compiling in support for MD5. */
|
---|
183 | #define HAVE_MD5 1
|
---|
184 |
|
---|
185 | /* Define if we're using Solaris libmd5. */
|
---|
186 | #undef HAVE_SOLARIS_MD5
|
---|
187 |
|
---|
188 | /* Define if we're using builtin (GNU) md5.c. */
|
---|
189 | #define HAVE_BUILTIN_MD5 1
|
---|
190 |
|
---|
191 | /* Define if you have the isatty function. */
|
---|
192 | #define HAVE_ISATTY 1
|
---|
193 |
|
---|
194 | /* Define to the length of short. */
|
---|
195 | #define SIZEOF_SHORT 2
|
---|
196 |
|
---|
197 | /* Define to the length of int. */
|
---|
198 | #define SIZEOF_INT 4
|
---|
199 |
|
---|
200 | /* Define to the length of long. */
|
---|
201 | #define SIZEOF_LONG 4
|
---|
202 |
|
---|
203 | /* Defined to int or size_t on systems without socklen_t. */
|
---|
204 | #define socklen_t int
|
---|
205 |
|
---|
206 | /* Define if you have uint32_t. */
|
---|
207 | /* #define HAVE_UINT32_T */
|
---|
208 |
|
---|
209 | #endif /* CONFIG_H */
|
---|