1 /* Configuration header file.
2 Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 In addition, as a special exception, the Free Software Foundation
19 gives permission to link the code of its release of Wget with the
20 OpenSSL project's "OpenSSL" library (or with modified versions of it
21 that use the same license as the "OpenSSL" library), and distribute
22 the linked executables. You must obey the GNU General Public License
23 in all respects for all of the code used other than "OpenSSL". If you
24 modify this file, you may extend this exception to your version of the
25 file, but you are not obligated to do so. If you do not wish to do
26 so, delete this exception statement from your version. */
32 /* MS Visual C does not define __STDC__ when the MSC extensions are
33 enabled, but you need those extensions to compile <windows.h>. */
34 #if !defined(__STDC__) && defined(_MSC_EXTENSIONS)
38 /* Setting __STDC__ causes MSVC to break other stuff... */
39 #if __STDC__ && defined(_MSC_VER)
40 # define utimbuf _utimbuf
41 # define O_RDONLY _O_RDONLY
42 # define alloca _alloca
45 /* Define if you have the <alloca.h> header file. */
48 /* Microsoft and Watcom libraries have an alloca function. */
51 /* Define to empty if the keyword does not work. */
54 /* Define to `unsigned' if <sys/types.h> doesn't define. */
57 /* Define if you have the ANSI C header files. */
58 #define STDC_HEADERS 1
60 /* Define as the return type of signal handlers (int or void). */
61 #define RETSIGTYPE int
63 /* Define if your architecture is big endian (with the most
64 significant byte first). */
65 #undef WORDS_BIGENDIAN
67 /* Define this if you want the NLS support. */
70 /* Define if you want the FTP support for Opie compiled in. */
73 /* Define if you want the HTTP Digest Authorization compiled in. */
76 /* Define if you want the debug output support compiled in. */
79 /* Define if you have sys/time.h header. */
80 #undef HAVE_SYS_TIME_H
82 /* Define if you can safely include both <sys/time.h> and <time.h>. */
83 #undef TIME_WITH_SYS_TIME
85 /* Define if you have struct utimbuf. */
86 #define HAVE_STRUCT_UTIMBUF 1
88 /* Define if you have the gethostbyname function. */
89 /* #undef HAVE_GETHOSTBYNAME */
91 /* Define if you have the uname function. */
94 /* Define if you have the gethostname function. */
95 #define HAVE_GETHOSTNAME 1
97 /* Define if you have the select function. */
100 /* Define if you have the gettimeofday function. */
101 #undef HAVE_GETTIMEOFDAY
103 /* Define if you have the strdup function. */
104 #define HAVE_STRDUP 1
106 /* Define if you have the sys/utsname.h header. */
107 #undef HAVE_SYS_UTSNAME_H
109 /* Define if you have the strerror function. */
110 #define HAVE_STRERROR 1
112 /* Define if you have the snprintf function. */
115 /* Define if you have the vsnprintf function. */
116 #undef HAVE_VSNPRINTF
118 /* Define if you have the strstr function. */
119 #define HAVE_STRSTR 1
121 /* Define if you have the strcasecmp function. */
122 #define HAVE_STRCASECMP 1
124 /* Define if you have the strncasecmp function. */
125 #define HAVE_STRNCASECMP 1
127 /* Define if you have the strptime function. */
130 /* Define if you have the mktime function. */
131 #define HAVE_MKTIME 1
133 /* Define if you have the symlink function. */
136 /* Define if you have the signal function. */
139 /* Define if you have the <stdarg.h> header file. */
140 #define HAVE_STDARG_H 1
142 /* Define if you have the <stdlib.h> header file. */
143 #define HAVE_STDLIB_H 1
145 /* Define if you have the <string.h> header file. */
146 #define HAVE_STRING_H 1
148 /* Define if you have the <unistd.h> header file. */
149 /* #define HAVE_UNISTD_H 1 */
152 /* Define if you have the <utime.h> header file. */
155 /* Define if you have the <sys/utime.h> header file. */
156 #define HAVE_SYS_UTIME_H 1
158 /* Define if you have the <sys/select.h> header file. */
159 #undef HAVE_SYS_SELECT_H
161 /* Define if you have the <pwd.h> header file. */
164 /* Define if you have the <signal.h> header file. */
167 /* Define to be the name of the operating system. */
168 #define OS_TYPE "Windows"
170 #define CTRLBREAK_BACKGND 1
172 /* Define if you wish to compile with socks support. */
173 /* #undef HAVE_SOCKS */
175 /* Define to 1 if ANSI function prototypes are usable. */
178 /* Define if we're compiling in support for MD5. */
181 /* Define if we're using Solaris libmd5. */
182 #undef HAVE_SOLARIS_MD5
184 /* Define if we're using builtin (GNU) md5.c. */
185 #define HAVE_BUILTIN_MD5 1
187 /* Work around VC 6 issues */
188 #define inline __inline
189 #define ftruncate chsize
191 /* Define if you have the isatty function. */
192 #define HAVE_ISATTY 1
194 #endif /* CONFIG_H */