]> sjero.net Git - wget/blob - windows/config.h.ms
[svn] Don't delete executables other than wget.exe.
[wget] / windows / config.h.ms
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 if you have the <alloca.h> header file.  */
34 #undef HAVE_ALLOCA_H
35
36 /* Define to empty if the keyword does not work.  */
37 /* #undef const */
38
39 /* Define to `unsigned' if <sys/types.h> doesn't define.  */
40 /* #undef size_t */
41
42 /* Define if you have the ANSI C header files.  */
43 #define STDC_HEADERS 1
44
45 /* Define as the return type of signal handlers (int or void).  */
46 #define RETSIGTYPE int
47
48 /* Define if your architecture is big endian (with the most
49    significant byte first).  */
50 #undef WORDS_BIGENDIAN
51
52 /* Define if you want the FTP support for Opie compiled in.  */
53 #define ENABLE_OPIE 1
54
55 /* Define if you want the HTTP Digest Authorization compiled in.  */
56 #define ENABLE_DIGEST 1
57
58 /* Define if you want the NTLM authorization support compiled in. */
59 #ifdef HAVE_SSL
60 # define ENABLE_NTLM
61 #endif
62
63 /* Define if you want the debug output support compiled in.  */
64 #define ENABLE_DEBUG 1
65
66 /* Define if you have sys/time.h header. */
67 #undef HAVE_SYS_TIME_H
68
69 /* Define if you can safely include both <sys/time.h> and <time.h>.  */
70 #undef TIME_WITH_SYS_TIME
71
72 /* Define if you have struct utimbuf.  */
73 #define HAVE_STRUCT_UTIMBUF 1
74
75 /* Define if you have the gethostbyname function.  */
76 /* #undef HAVE_GETHOSTBYNAME */
77
78 /* Define if you have the uname function.  */
79 #undef HAVE_UNAME
80
81 /* Define if you have the gethostname function.  */
82 #define HAVE_GETHOSTNAME 1
83
84 /* Define if you have the select function.  */
85 #define HAVE_SELECT 1
86
87 /* Define if you have the gettimeofday function.  */
88 #undef HAVE_GETTIMEOFDAY
89
90 /* Define if you have the strdup function.  */
91 #define HAVE_STRDUP 1
92
93 /* Define if you have the sys/utsname.h header. */
94 #undef HAVE_SYS_UTSNAME_H
95
96 /* Define if you have the strerror function. */
97 #define HAVE_STRERROR 1
98
99 /* Define if you have the snprintf function.  */
100 #define HAVE_SNPRINTF 1
101
102 /* Define if you have the vsnprintf function.  */
103 #define HAVE_VSNPRINTF 1
104
105 /* Define to 1 if you have the `strpbrk' function. */
106 #define HAVE_STRPBRK 1
107
108 /* Define if you have the strstr function. */
109 #define HAVE_STRSTR 1
110
111 /* Define if you have the strcasecmp function. */
112 #define HAVE_STRCASECMP 1
113
114 /* Define if you have the strncasecmp function. */
115 #define HAVE_STRNCASECMP 1
116
117 /* Define if you have the strptime function. */
118 #undef HAVE_STRPTIME
119
120 /* Define if you have the mktime function. */
121 #define HAVE_MKTIME 1
122
123 /* Define if you have the symlink function. */
124 #undef HAVE_SYMLINK
125
126 /* Define if you have the signal function. */
127 #undef HAVE_SIGNAL
128
129 /* Define if you have the <stdarg.h> header file.  */
130 #define HAVE_STDARG_H 1
131
132 /* Use ANSI-style stdargs regardless of whether the compiler bothers
133    to define __STDC__.  (Many don't when extensions are enabled.)
134    This define used to be in mswindows.h, but wheren't making any use there */
135 #define WGET_USE_STDARG
136
137 /* Define if you have the <stdlib.h> header file.  */
138 #define HAVE_STDLIB_H 1
139
140 /* Define if you have the <string.h> header file.  */
141 #define HAVE_STRING_H 1
142
143 /* Define if you have the <unistd.h> header file.  */
144 #if !defined(_MSC_VER)
145 #undef HAVE_UNISTD_H
146 #endif
147
148 /* None except Digital Mars have sleep/usleep functions */
149 #if defined(__DMC__)
150 #define HAVE_USLEEP 1
151 #define HAVE_SLEEP 1
152 #endif
153
154 /* Define if you have the <utime.h> header file.  */
155 #undef HAVE_UTIME_H
156
157 /* Define if you have the <sys/utime.h> header file.  */
158 #define HAVE_SYS_UTIME_H 1
159
160 /* Define to 1 if you have the <limits.h> header file. */
161 #define HAVE_LIMITS_H 1
162
163 /* Define to 1 if you have the <locale.h> header file. */
164 #define HAVE_LOCALE_H 1
165
166 /* Define if you have the <sys/select.h> header file.  */
167 #undef HAVE_SYS_SELECT_H
168
169 /* Define if you have the <pwd.h> header file.  */
170 #undef HAVE_PWD_H
171
172 /* Define if you have the <signal.h> header file.  */
173 #define HAVE_SIGNAL_H 1
174
175 /* Define to be the name of the operating system.  */
176 #define OS_TYPE "Windows"
177
178 #define CTRLBREAK_BACKGND 1
179
180 /* Define if you wish to compile with socks support.  */
181 /* #undef HAVE_SOCKS */
182
183 /* Define to 1 if ANSI function prototypes are usable.  */
184 #define PROTOTYPES 1
185
186 /* Define if we're compiling in support for MD5.  */
187 #define HAVE_MD5 1
188
189 /* Define if we're using Solaris libmd5.  */
190 #undef HAVE_SOLARIS_MD5
191
192 /* Define if we're using builtin (GNU) md5.c.  */
193 #define HAVE_BUILTIN_MD5 1
194
195 /* Work around VC 6 issues */
196 #define inline __inline
197 #define ftruncate chsize
198
199 /* Define if you have the isatty function.  */
200 #define HAVE_ISATTY 1
201
202 /* Define if you have the memmove function */
203 #define HAVE_MEMMOVE 1
204
205 /* Define to the length of short. */
206 #define SIZEOF_SHORT 2
207
208 /* Define to the length of int. */
209 #define SIZEOF_INT 4
210
211 /* Define to the length of long. */
212 #define SIZEOF_LONG 4
213
214 /* Defined to int or size_t on systems without socklen_t.  */
215 #define socklen_t int
216
217 /* Define if you have uint32_t.  */
218 #undef HAVE_UINT32_T
219
220 #endif /* CONFIG_H */