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 /* Borland C does not define __STDC__ when the Borland extensions are
33 enabled, but you need those extensions to compile <windows.h>. */
34 #if !defined(__STDC__) && defined(__BORLANDC__)
39 #define ftruncate chsize
40 #define inline __inline
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
46 #ifdef HACK_BCC_UTIME_BUG
47 #define utime borland_utime
50 /* Define if you have the <alloca.h> header file. */
53 /* For Borland C++ 5.5, alloca is defined in the <malloc.h> header file. */
56 /* Define to empty if the keyword does not work. */
59 /* Define to `unsigned' if <sys/types.h> doesn't define. */
62 /* Define if you have the ANSI C header files. */
63 #define STDC_HEADERS 1
65 /* Define as the return type of signal handlers (int or void). */
66 #define RETSIGTYPE int
68 /* Define if your architecture is big endian (with the most
69 significant byte first). */
70 #undef WORDS_BIGENDIAN
72 /* Define this if you want the NLS support. */
75 /* Define if you want the FTP support for Opie compiled in. */
78 /* Define if you want the HTTP Digest Authorization compiled in. */
81 /* Define if you want the debug output support compiled in. */
84 /* Define if you have sys/time.h header. */
85 #undef HAVE_SYS_TIME_H
87 /* Define if you can safely include both <sys/time.h> and <time.h>. */
88 #undef TIME_WITH_SYS_TIME
90 /* Define if you have struct utimbuf. */
91 #define HAVE_STRUCT_UTIMBUF 1
93 /* Define if you have the gethostbyname function. */
94 /* #undef HAVE_GETHOSTBYNAME */
96 /* Define if you have the uname function. */
99 /* Define if you have the gethostname function. */
100 #define HAVE_GETHOSTNAME 1
102 /* Define if you have the select function. */
103 #define HAVE_SELECT 1
105 /* Define if you have the gettimeofday function. */
106 #undef HAVE_GETTIMEOFDAY
108 /* Define if you have the strdup function. */
109 #define HAVE_STRDUP 1
111 /* Define if you have the sys/utsname.h header. */
112 #undef HAVE_SYS_UTSNAME_H
114 /* Define if you have the strerror function. */
115 #define HAVE_STRERROR 1
117 /* Define if you have the strstr function. */
118 #define HAVE_STRSTR 1
120 /* Define if you have the strcasecmp function. */
121 #define HAVE_STRCASECMP 1
123 /* Define if you have the strncasecmp function. */
124 #define HAVE_STRNCASECMP 1
126 /* Define if you have the strptime function. */
129 /* Define if you have the mktime function. */
130 #define HAVE_MKTIME 1
132 /* Define if you have the symlink function. */
135 /* Define if you have the signal function. */
138 /* Define if you have the <stdarg.h> header file. */
139 #define HAVE_STDARG_H 1
141 /* Define if you have the <stdlib.h> header file. */
142 #define HAVE_STDLIB_H 1
144 /* Define if you have the <string.h> header file. */
145 #define HAVE_STRING_H 1
147 /* Define if you have the <unistd.h> header file. */
148 /* #define HAVE_UNISTD_H 1 */
151 /* Define if you have the <utime.h> header file. */
152 #define HAVE_UTIME_H 1
154 /* Define if you have the <sys/utime.h> header file. */
155 #undef HAVE_SYS_UTIME_H
157 /* Define if you have the <sys/select.h> header file. */
158 #undef HAVE_SYS_SELECT_H
160 /* Define if you have the <pwd.h> header file. */
163 /* Define if you have the <signal.h> header file. */
166 /* Define to be the name of the operating system. */
167 #define OS_TYPE "Windows"
169 #define CTRLBREAK_BACKGND 1
171 /* Define if you wish to compile with socks support. */
172 /* #undef HAVE_SOCKS */
174 /* Define to 1 if ANSI function prototypes are usable. */
177 /* Define if we're compiling in support for MD5. */
180 /* Define if we're using Solaris libmd5. */
181 #undef HAVE_SOLARIS_MD5
183 /* Define if we're using builtin (GNU) md5.c. */
184 #define HAVE_BUILTIN_MD5 1
186 /* Define if you have the isatty function. */
190 #endif /* CONFIG_H */