1 /* Configuration header file.
2 Copyright (C) 1995, 1996, 1997, 1998, 2000, 2001
3 Free Software Foundation, Inc.
5 This file is part of GNU Wget.
7 GNU Wget is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
12 GNU Wget is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with Wget; if not, write to the Free Software
19 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 In addition, as a special exception, the Free Software Foundation
22 gives permission to link the code of its release of Wget with the
23 OpenSSL project's "OpenSSL" library (or with modified versions of it
24 that use the same license as the "OpenSSL" library), and distribute
25 the linked executables. You must obey the GNU General Public License
26 in all respects for all of the code used other than "OpenSSL". If you
27 modify this file, you may extend this exception to your version of the
28 file, but you are not obligated to do so. If you do not wish to do
29 so, delete this exception statement from your version. */
34 /* Define if you have the <alloca.h> header file. */
37 /* AIX requires this to be the first thing in the file. */
39 # define alloca __builtin_alloca
47 # ifndef alloca /* predefined by HP cc +Olibcalls */
54 /* Define if on AIX 3.
55 System headers sometimes define this.
56 We just want to avoid a redefinition error message. */
61 /* Define to empty if the keyword does not work. */
64 /* Define to empty or __inline__ or __inline. */
67 /* Define to `unsigned' if <sys/types.h> doesn't define. */
70 /* Define to `int' if <sys/types.h> doesn't define. */
73 /* Define if you have the ANSI C header files. */
76 /* Define as the return type of signal handlers (int or void). */
79 /* Define if your architecture is big endian (with the most
80 significant byte first). */
81 #undef WORDS_BIGENDIAN
83 /* Define to the length of long. */
86 /* Define to the length of long long. */
87 #undef SIZEOF_LONG_LONG
90 #if SIZEOF_LONG_LONG != 0
91 # define HAVE_LONG_LONG
94 /* Define this if you want the NLS support. */
97 /* Define if you want the FTP support for Opie compiled in. */
100 /* Define if you want the HTTP Digest Authorization compiled in. */
103 /* Define if you want the debug output support compiled in. */
106 /* Define if you have sys/time.h header. */
107 #undef HAVE_SYS_TIME_H
109 /* Define if you can safely include both <sys/time.h> and <time.h>. */
110 #undef TIME_WITH_SYS_TIME
112 /* Define if you have struct utimbuf. */
113 #undef HAVE_STRUCT_UTIMBUF
115 /* Define if you have the uname function. */
118 /* Define if you have a working version of mmap. */
121 /* Define if you have the gethostname function. */
122 #undef HAVE_GETHOSTNAME
124 /* Define if you have the select function. */
127 /* Define if you have the gettimeofday function. */
128 #undef HAVE_GETTIMEOFDAY
130 /* Define if you have the strdup function. */
133 /* Define if you have the sys/utsname.h header. */
134 #undef HAVE_SYS_UTSNAME_H
136 /* Define if you have the strerror function. */
139 /* Define if you have the snprintf function. */
142 /* Define if you have the vsnprintf function. */
143 #undef HAVE_VSNPRINTF
145 /* Define if you have the strstr function. */
148 /* Define if you have the strcasecmp function. */
149 #undef HAVE_STRCASECMP
151 /* Define if you have the strncasecmp function. */
152 #undef HAVE_STRNCASECMP
154 /* Define if you have the strpbrk function. */
157 /* Define if you have the memmove function. */
160 /* Define if you have the strptime function. */
163 /* Define if you have the mktime function. */
166 /* Define if you have the symlink function. */
169 /* Define if you have the access function. */
172 /* Define if you have the isatty function. */
175 /* Define if you have the signal function. */
178 /* Define if you have the sigsetjmp function. */
179 #undef HAVE_SIGSETJMP
181 /* Define if you have the sigblock function. */
184 /* Define if you have the gettext function. */
187 /* Define if you have the usleep function. */
190 /* Define if you have the <string.h> header file. */
193 /* Define if you have the <stdarg.h> header file. */
196 /* Define if you have the <unistd.h> header file. */
199 /* Define if you have the <utime.h> header file. */
202 /* Define if you have the <sys/utime.h> header file. */
203 #undef HAVE_SYS_UTIME_H
205 /* Define if you have the <termios.h> header file. */
206 #undef HAVE_TERMIOS_H
208 /* Define if you have the <sys/ioctl.h> header file. */
209 #undef HAVE_SYS_IOCTL_H
211 /* Define if you have the <sys/select.h> header file. */
212 #undef HAVE_SYS_SELECT_H
214 /* Define if you have the <pwd.h> header file. */
217 /* Define if you have the <signal.h> header file. */
220 /* Define if you have the <setjmp.h> header file. */
223 /* Define if you have the <libintl.h> header file. */
224 #undef HAVE_LIBINTL_H
226 /* Define if you have the <locale.h> header file. */
229 /* Define to be the name of the operating system. */
232 /* Define if you wish to compile with socks support. */
235 /* Define to 1 if ANSI function prototypes are usable. */
238 /* Define if all libs needed for ssl support are existing */
241 /* Define if we're compiling in support for MD5. */
244 /* Define if we're using Solaris libmd5. */
245 #undef HAVE_SOLARIS_MD5
247 /* Define if we're using OpenSSL md5. */
248 #undef HAVE_OPENSSL_MD5
250 /* Define if we're using builtin (GNU) md5.c. */
251 #undef HAVE_BUILTIN_MD5
253 /* Define if you have the getaddrinfo function. */
254 #undef HAVE_GETADDRINFO
256 /* Define if the system headers support the AI_ADDRCONFIG flag. */
257 #undef HAVE_GETADDRINFO_AI_ADDRCONFIG
259 /* Define if the system headers support the AI_V4MAPPED flag. */
260 #undef HAVE_GETADDRINFO_AI_V4MAPPED
262 /* Define if the system headers support the AI_ALL flag. */
263 #undef HAVE_GETADDRINFO_AI_ALL
265 /* Define if the system supports struct sockaddr_in6 */
266 #undef HAVE_HAVE_STRUCT_SOCKADDR_IN6
268 /* Define if struct sockaddr_in6 has the sin6_scope_id member */
269 #undef HAVE_SOCKADDR_IN6_SCOPE_ID
271 /* Define if you want to enable the IPv6 support. */
274 /* First a gambit to see whether we're on Solaris. We'll
282 /* The following several lines can be very dangerous; they can cripple
283 the header files and break compilation in _verY_ non-obvious ways.
284 Because of that, we define them only on architectures we know
287 #undef NAMESPACE_TWEAKS
290 # define NAMESPACE_TWEAKS
292 /* Prevent stdio.h from declaring va_list and thus tripping gcc's
299 # define NAMESPACE_TWEAKS
302 #ifdef NAMESPACE_TWEAKS
304 /* Request the "Unix 98 compilation environment". */
305 #define _XOPEN_SOURCE 500
307 /* For Solaris: request everything else that is available and doesn't
308 conflict with the above. */
309 #define __EXTENSIONS__
311 /* For Linux: request features of 4.3BSD and SVID (System V Interface
316 #endif /* NAMESPACE_TWEAKS */
318 #endif /* CONFIG_H */