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 `unsigned' if <sys/types.h> doesn't define. */
56 /* Define to `int' if <sys/types.h> doesn't define. */
59 /* Define if you have the ANSI C header files. */
62 /* Define as the return type of signal handlers (int or void). */
65 /* Define if your architecture is big endian (with the most
66 significant byte first). */
67 #undef WORDS_BIGENDIAN
69 /* Define to the length of long. */
72 /* Define to the length of long long. */
73 #undef SIZEOF_LONG_LONG
76 #if SIZEOF_LONG_LONG != 0
77 # define HAVE_LONG_LONG
80 /* Define this if you want the NLS support. */
83 /* Define if you want the FTP support for Opie compiled in. */
86 /* Define if you want the HTTP Digest Authorization compiled in. */
89 /* Define if you want the debug output support compiled in. */
92 /* Define if you have sys/time.h header. */
93 #undef HAVE_SYS_TIME_H
95 /* Define if you can safely include both <sys/time.h> and <time.h>. */
96 #undef TIME_WITH_SYS_TIME
98 /* Define if you have struct utimbuf. */
99 #undef HAVE_STRUCT_UTIMBUF
101 /* Define if you have the uname function. */
104 /* Define if you have a working version of mmap. */
107 /* Define if you have the gethostname function. */
108 #undef HAVE_GETHOSTNAME
110 /* Define if you have the select function. */
113 /* Define if you have the gettimeofday function. */
114 #undef HAVE_GETTIMEOFDAY
116 /* Define if you have the strdup function. */
119 /* Define if you have the sys/utsname.h header. */
120 #undef HAVE_SYS_UTSNAME_H
122 /* Define if you have the strerror function. */
125 /* Define if you have the snprintf function. */
128 /* Define if you have the vsnprintf function. */
129 #undef HAVE_VSNPRINTF
131 /* Define if you have the strstr function. */
134 /* Define if you have the strcasecmp function. */
135 #undef HAVE_STRCASECMP
137 /* Define if you have the strncasecmp function. */
138 #undef HAVE_STRNCASECMP
140 /* Define if you have the strptime function. */
143 /* Define if you have the mktime function. */
146 /* Define if you have the symlink function. */
149 /* Define if you have the access function. */
152 /* Define if you have the isatty function. */
155 /* Define if you have the signal function. */
158 /* Define if you have the gettext function. */
161 /* Define if you have the <string.h> header file. */
164 /* Define if you have the <stdarg.h> header file. */
167 /* Define if you have the <unistd.h> header file. */
170 /* Define if you have the <utime.h> header file. */
173 /* Define if you have the <sys/utime.h> header file. */
174 #undef HAVE_SYS_UTIME_H
176 /* Define if you have the <sys/select.h> header file. */
177 #undef HAVE_SYS_SELECT_H
179 /* Define if you have the <pwd.h> header file. */
182 /* Define if you have the <signal.h> header file. */
185 /* Define if you have the <libintl.h> header file. */
186 #undef HAVE_LIBINTL_H
188 /* Define if you have the <locale.h> header file. */
191 /* Define to be the name of the operating system. */
194 /* Define if you wish to compile with socks support. */
197 /* Define to 1 if ANSI function prototypes are usable. */
202 to get prototype for strptime, we need this (taken from lftp)
204 #define __USE_XOPEN 1
207 But I don't think that's right. The __USE_XOPEN thing is an
208 internal glibc2 thing that gets defined in features.h. From
209 reading that file carefully, I think we need something like this
210 incantation to get the kind of features we use.
212 However, testing Wget under Solaris showed that compilation of
213 connect.c chokes because of the _XOPEN_SOURCE definition. So I'm
214 disabling it. If anyone understands this maze, please help! */
217 # define _XOPEN_SOURCE 500
218 # define _SVID_SOURCE
221 /* Define if all libs needed for ssl support are existing */
224 #endif /* CONFIG_H */