1 /* Configuration header file.
2 Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
4 This file is part of Wget.
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
23 /* Define if you have the <alloca.h> header file. */
26 /* AIX requires this to be the first thing in the file. */
28 # define alloca __builtin_alloca
36 # ifndef alloca /* predefined by HP cc +Olibcalls */
43 /* Define if on AIX 3.
44 System headers sometimes define this.
45 We just want to avoid a redefinition error message. */
50 /* Define to empty if the keyword does not work. */
53 /* Define to empty or __inline__ or __inline. */
56 /* Define to `unsigned' if <sys/types.h> doesn't define. */
59 /* Define to `int' if <sys/types.h> doesn't define. */
62 /* Define if you have the ANSI C header files. */
65 /* Define as the return type of signal handlers (int or void). */
68 /* Define if your architecture is big endian (with the most
69 significant byte first). */
70 #undef WORDS_BIGENDIAN
72 /* Define to the length of long. */
75 /* Define to the length of long long. */
76 #undef SIZEOF_LONG_LONG
79 #if SIZEOF_LONG_LONG != 0
80 # define HAVE_LONG_LONG
83 /* Define this if you want the NLS support. */
86 /* Define if you want the FTP support for Opie compiled in. */
89 /* Define if you want the HTTP Digest Authorization compiled in. */
92 /* Define if you want the debug output support compiled in. */
95 /* Define if you have sys/time.h header. */
96 #undef HAVE_SYS_TIME_H
98 /* Define if you can safely include both <sys/time.h> and <time.h>. */
99 #undef TIME_WITH_SYS_TIME
101 /* Define if you have struct utimbuf. */
102 #undef HAVE_STRUCT_UTIMBUF
104 /* Define if you have the uname function. */
107 /* Define if you have a working version of mmap. */
110 /* Define if you have the gethostname function. */
111 #undef HAVE_GETHOSTNAME
113 /* Define if you have the select function. */
116 /* Define if you have the gettimeofday function. */
117 #undef HAVE_GETTIMEOFDAY
119 /* Define if you have the strdup function. */
122 /* Define if you have the sys/utsname.h header. */
123 #undef HAVE_SYS_UTSNAME_H
125 /* Define if you have the strerror function. */
128 /* Define if you have the snprintf function. */
131 /* Define if you have the vsnprintf function. */
132 #undef HAVE_VSNPRINTF
134 /* Define if you have the strstr function. */
137 /* Define if you have the strcasecmp function. */
138 #undef HAVE_STRCASECMP
140 /* Define if you have the strncasecmp function. */
141 #undef HAVE_STRNCASECMP
143 /* Define if you have the strptime function. */
146 /* Define if you have the mktime function. */
149 /* Define if you have the symlink function. */
152 /* Define if you have the access function. */
155 /* Define if you have the isatty function. */
158 /* Define if you have the signal function. */
161 /* Define if you have the gettext function. */
164 /* Define if you have the <string.h> header file. */
167 /* Define if you have the <stdarg.h> header file. */
170 /* Define if you have the <unistd.h> header file. */
173 /* Define if you have the <utime.h> header file. */
176 /* Define if you have the <sys/utime.h> header file. */
177 #undef HAVE_SYS_UTIME_H
179 /* Define if you have the <sys/select.h> header file. */
180 #undef HAVE_SYS_SELECT_H
182 /* Define if you have the <pwd.h> header file. */
185 /* Define if you have the <signal.h> header file. */
188 /* Define if you have the <libintl.h> header file. */
189 #undef HAVE_LIBINTL_H
191 /* Define if you have the <locale.h> header file. */
194 /* Define to be the name of the operating system. */
197 /* Define if you wish to compile with socks support. */
200 /* Define to 1 if ANSI function prototypes are usable. */
203 /* Define if all libs needed for ssl support are existing */
206 /* First a gambit to see whether we're on Solaris. We'll
214 /* The following several lines can be very dangerous; they can cripple
215 the header files and break compilation in _verY_ non-obvious ways.
216 Because of that, we define them only on architectures we know
219 #undef NAMESPACE_TWEAKS
222 # define NAMESPACE_TWEAKS
226 # define NAMESPACE_TWEAKS
229 #ifdef NAMESPACE_TWEAKS
231 /* Request the "Unix 98 compilation environment". */
232 #define _XOPEN_SOURCE 500
234 /* For Solaris: request everything else that is available and doesn't
235 conflict with the above. */
236 #define __EXTENSIONS__
238 /* For Linux: request features of 4.3BSD and SVID (System V Interface
243 #endif /* NAMESPACE_TWEAKS */
245 #endif /* CONFIG_H */