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 the gethostname function. */
105 #undef HAVE_GETHOSTNAME
107 /* Define if you have the select function. */
110 /* Define if you have the gettimeofday function. */
111 #undef HAVE_GETTIMEOFDAY
113 /* Define if you have the strdup function. */
116 /* Define if you have the sys/utsname.h header. */
117 #undef HAVE_SYS_UTSNAME_H
119 /* Define if you have the strerror function. */
122 /* Define if you have the snprintf function. */
125 /* Define if you have the vsnprintf function. */
126 #undef HAVE_VSNPRINTF
128 /* Define if you have the strstr function. */
131 /* Define if you have the strcasecmp function. */
132 #undef HAVE_STRCASECMP
134 /* Define if you have the strncasecmp function. */
135 #undef HAVE_STRNCASECMP
137 /* Define if you have the strptime function. */
140 /* Define if you have the mktime function. */
143 /* Define if you have the symlink function. */
146 /* Define if you have the access function. */
149 /* Define if you have the isatty function. */
152 /* Define if you have the signal function. */
155 /* Define if you have the gettext function. */
158 /* Define if you have the <string.h> header file. */
161 /* Define if you have the <stdarg.h> header file. */
164 /* Define if you have the <unistd.h> header file. */
167 /* Define if you have the <utime.h> header file. */
170 /* Define if you have the <sys/utime.h> header file. */
171 #undef HAVE_SYS_UTIME_H
173 /* Define if you have the <sys/select.h> header file. */
174 #undef HAVE_SYS_SELECT_H
176 /* Define if you have the <pwd.h> header file. */
179 /* Define if you have the <signal.h> header file. */
182 /* Define if you have the <libintl.h> header file. */
183 #undef HAVE_LIBINTL_H
185 /* Define if you have the <locale.h> header file. */
188 /* Define to be the name of the operating system. */
191 /* Define if you wish to compile with socks support. */
194 /* Define to 1 if ANSI function prototypes are usable. */
199 to get prototype for strptime, we need this (taken from lftp)
201 #define __USE_XOPEN 1
204 But I don't think that's right. The __USE_XOPEN thing is an
205 internal glibc2 thing that gets defined in features.h. From
206 reading that file carefully, I think we need something like this
207 incantation to get the kind of features we use.
209 However, testing Wget under Solaris showed that compilation of
210 connect.c chokes because of the _XOPEN_SOURCE definition. So I'm
211 disabling it. If anyone understands this maze, please help! */
214 # define _XOPEN_SOURCE 500
215 # define _SVID_SOURCE
218 #endif /* CONFIG_H */