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. */
24 /* Define if you have the <alloca.h> header file. */
27 /* AIX requires this to be the first thing in the file. */
29 # define alloca __builtin_alloca
37 # ifndef alloca /* predefined by HP cc +Olibcalls */
44 /* Define if on AIX 3.
45 System headers sometimes define this.
46 We just want to avoid a redefinition error message. */
51 /* Define to empty if the keyword does not work. */
54 /* Define to empty or __inline__ or __inline. */
57 /* Define to `unsigned' if <sys/types.h> doesn't define. */
60 /* Define to `int' if <sys/types.h> doesn't define. */
63 /* Define if you have the ANSI C header files. */
66 /* Define as the return type of signal handlers (int or void). */
69 /* Define if your architecture is big endian (with the most
70 significant byte first). */
71 #undef WORDS_BIGENDIAN
73 /* Define to the length of long. */
76 /* Define to the length of long long. */
77 #undef SIZEOF_LONG_LONG
80 #if SIZEOF_LONG_LONG != 0
81 # define HAVE_LONG_LONG
84 /* Define this if you want the NLS support. */
87 /* Define if you want the FTP support for Opie compiled in. */
90 /* Define if you want the HTTP Digest Authorization compiled in. */
93 /* Define if you want the debug output support compiled in. */
96 /* Define if you have sys/time.h header. */
97 #undef HAVE_SYS_TIME_H
99 /* Define if you can safely include both <sys/time.h> and <time.h>. */
100 #undef TIME_WITH_SYS_TIME
102 /* Define if you have struct utimbuf. */
103 #undef HAVE_STRUCT_UTIMBUF
105 /* Define if you have the uname function. */
108 /* Define if you have a working version of mmap. */
111 /* Define if you have the gethostname function. */
112 #undef HAVE_GETHOSTNAME
114 /* Define if you have the select function. */
117 /* Define if you have the gettimeofday function. */
118 #undef HAVE_GETTIMEOFDAY
120 /* Define if you have the strdup function. */
123 /* Define if you have the sys/utsname.h header. */
124 #undef HAVE_SYS_UTSNAME_H
126 /* Define if you have the strerror function. */
129 /* Define if you have the snprintf function. */
132 /* Define if you have the vsnprintf function. */
133 #undef HAVE_VSNPRINTF
135 /* Define if you have the strstr function. */
138 /* Define if you have the strcasecmp function. */
139 #undef HAVE_STRCASECMP
141 /* Define if you have the strncasecmp function. */
142 #undef HAVE_STRNCASECMP
144 /* Define if you have the strpbrk function. */
147 /* Define if you have the memmove function. */
150 /* Define if you have the strptime function. */
153 /* Define if you have the mktime function. */
156 /* Define if you have the symlink function. */
159 /* Define if you have the access function. */
162 /* Define if you have the isatty function. */
165 /* Define if you have the signal function. */
168 /* Define if you have the gettext function. */
171 /* Define if you have the usleep function. */
174 /* Define if you have the <string.h> header file. */
177 /* Define if you have the <stdarg.h> header file. */
180 /* Define if you have the <unistd.h> header file. */
183 /* Define if you have the <utime.h> header file. */
186 /* Define if you have the <sys/utime.h> header file. */
187 #undef HAVE_SYS_UTIME_H
189 /* Define if you have the <sys/ioctl.h> header file. */
190 #undef HAVE_SYS_IOCTL_H
192 /* Define if you have the <sys/select.h> header file. */
193 #undef HAVE_SYS_SELECT_H
195 /* Define if you have the <pwd.h> header file. */
198 /* Define if you have the <signal.h> header file. */
201 /* Define if you have the <libintl.h> header file. */
202 #undef HAVE_LIBINTL_H
204 /* Define if you have the <locale.h> header file. */
207 /* Define to be the name of the operating system. */
210 /* Define if you wish to compile with socks support. */
213 /* Define to 1 if ANSI function prototypes are usable. */
216 /* Define if all libs needed for ssl support are existing */
219 /* Define if we're compiling in support for MD5. */
222 /* Define if we're using Solaris libmd5. */
223 #undef HAVE_SOLARIS_MD5
225 /* Define if we're using OpenSSL md5. */
226 #undef HAVE_OPENSSL_MD5
228 /* Define if we're using builtin (GNU) md5.c. */
229 #undef HAVE_BUILTIN_MD5
231 /* First a gambit to see whether we're on Solaris. We'll
239 /* The following several lines can be very dangerous; they can cripple
240 the header files and break compilation in _verY_ non-obvious ways.
241 Because of that, we define them only on architectures we know
244 #undef NAMESPACE_TWEAKS
247 # define NAMESPACE_TWEAKS
251 # define NAMESPACE_TWEAKS
254 #ifdef NAMESPACE_TWEAKS
256 /* Request the "Unix 98 compilation environment". */
257 #define _XOPEN_SOURCE 500
259 /* For Solaris: request everything else that is available and doesn't
260 conflict with the above. */
261 #define __EXTENSIONS__
263 /* For Linux: request features of 4.3BSD and SVID (System V Interface
268 #endif /* NAMESPACE_TWEAKS */
270 #endif /* CONFIG_H */