]> sjero.net Git - wget/blob - src/config.h.in
[svn] Rewrite parsing and handling of URLs.
[wget] / src / config.h.in
1 /* Configuration header file.
2    Copyright (C) 1995, 1996, 1997, 1998, 2000, 2001
3    Free Software Foundation, Inc.
4
5 This file is part of GNU Wget.
6
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.
11
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.
16
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.  */
20
21 #ifndef CONFIG_H
22 #define CONFIG_H
23
24 /* Define if you have the <alloca.h> header file.  */
25 #undef HAVE_ALLOCA_H
26
27 /* AIX requires this to be the first thing in the file.  */
28 #ifdef __GNUC__
29 # define alloca __builtin_alloca
30 #else
31 # if HAVE_ALLOCA_H
32 #  include <alloca.h>
33 # else
34 #  ifdef _AIX
35  #pragma alloca
36 #  else
37 #   ifndef alloca /* predefined by HP cc +Olibcalls */
38 char *alloca ();
39 #   endif
40 #  endif
41 # endif
42 #endif
43
44 /* Define if on AIX 3.
45    System headers sometimes define this.
46    We just want to avoid a redefinition error message.  */
47 #ifndef _ALL_SOURCE
48 #undef _ALL_SOURCE
49 #endif
50
51 /* Define to empty if the keyword does not work.  */
52 #undef const
53
54 /* Define to empty or __inline__ or __inline.  */
55 #undef inline
56
57 /* Define to `unsigned' if <sys/types.h> doesn't define.  */
58 #undef size_t
59
60 /* Define to `int' if <sys/types.h> doesn't define.  */
61 #undef pid_t
62
63 /* Define if you have the ANSI C header files.  */
64 #undef STDC_HEADERS
65
66 /* Define as the return type of signal handlers (int or void).  */
67 #undef RETSIGTYPE
68
69 /* Define if your architecture is big endian (with the most
70    significant byte first).  */
71 #undef WORDS_BIGENDIAN
72
73 /* Define to the length of long. */
74 #undef SIZEOF_LONG
75
76 /* Define to the length of long long. */
77 #undef SIZEOF_LONG_LONG
78
79 #undef HAVE_LONG_LONG
80 #if SIZEOF_LONG_LONG != 0
81 # define HAVE_LONG_LONG
82 #endif
83
84 /* Define this if you want the NLS support.  */
85 #undef HAVE_NLS
86
87 /* Define if you want the FTP support for Opie compiled in.  */
88 #undef USE_OPIE
89
90 /* Define if you want the HTTP Digest Authorization compiled in.  */
91 #undef USE_DIGEST
92
93 /* Define if you want the debug output support compiled in.  */
94 #undef DEBUG
95
96 /* Define if you have sys/time.h header.  */
97 #undef HAVE_SYS_TIME_H
98
99 /* Define if you can safely include both <sys/time.h> and <time.h>.  */
100 #undef TIME_WITH_SYS_TIME
101
102 /* Define if you have struct utimbuf.  */
103 #undef HAVE_STRUCT_UTIMBUF
104
105 /* Define if you have the uname function.  */
106 #undef HAVE_UNAME
107
108 /* Define if you have a working version of mmap.  */
109 #undef HAVE_MMAP
110
111 /* Define if you have the gethostname function.  */
112 #undef HAVE_GETHOSTNAME
113
114 /* Define if you have the select function.  */
115 #undef HAVE_SELECT
116
117 /* Define if you have the gettimeofday function.  */
118 #undef HAVE_GETTIMEOFDAY
119
120 /* Define if you have the strdup function.  */
121 #undef HAVE_STRDUP
122
123 /* Define if you have the sys/utsname.h header.  */
124 #undef HAVE_SYS_UTSNAME_H
125
126 /* Define if you have the strerror function.  */
127 #undef HAVE_STRERROR
128
129 /* Define if you have the snprintf function.  */
130 #undef HAVE_SNPRINTF
131
132 /* Define if you have the vsnprintf function.  */
133 #undef HAVE_VSNPRINTF
134
135 /* Define if you have the strstr function.  */
136 #undef HAVE_STRSTR
137
138 /* Define if you have the strcasecmp function.  */
139 #undef HAVE_STRCASECMP
140
141 /* Define if you have the strncasecmp function.  */
142 #undef HAVE_STRNCASECMP
143
144 /* Define if you have the strpbrk function.  */
145 #undef HAVE_STRPBRK
146
147 /* Define if you have the strptime function.  */
148 #undef HAVE_STRPTIME
149
150 /* Define if you have the mktime function.  */
151 #undef HAVE_MKTIME
152
153 /* Define if you have the symlink function.  */
154 #undef HAVE_SYMLINK
155
156 /* Define if you have the access function.  */
157 #undef HAVE_ACCESS
158
159 /* Define if you have the isatty function.  */
160 #undef HAVE_ISATTY
161
162 /* Define if you have the signal function.  */
163 #undef HAVE_SIGNAL
164
165 /* Define if you have the gettext function.  */
166 #undef HAVE_GETTEXT
167
168 /* Define if you have the <string.h> header file.  */
169 #undef HAVE_STRING_H
170
171 /* Define if you have the <stdarg.h> header file.  */
172 #undef HAVE_STDARG_H
173
174 /* Define if you have the <unistd.h> header file.  */
175 #undef HAVE_UNISTD_H
176
177 /* Define if you have the <utime.h> header file.  */
178 #undef HAVE_UTIME_H
179
180 /* Define if you have the <sys/utime.h> header file.  */
181 #undef HAVE_SYS_UTIME_H
182
183 /* Define if you have the <sys/select.h> header file.  */
184 #undef HAVE_SYS_SELECT_H
185
186 /* Define if you have the <pwd.h> header file.  */
187 #undef HAVE_PWD_H
188
189 /* Define if you have the <signal.h> header file.  */
190 #undef HAVE_SIGNAL_H
191
192 /* Define if you have the <libintl.h> header file.  */
193 #undef HAVE_LIBINTL_H
194
195 /* Define if you have the <locale.h> header file.  */
196 #undef HAVE_LOCALE_H
197
198 /* Define to be the name of the operating system.  */
199 #undef OS_TYPE
200
201 /* Define if you wish to compile with socks support.  */
202 #undef HAVE_SOCKS
203
204 /* Define to 1 if ANSI function prototypes are usable.  */
205 #undef PROTOTYPES
206
207 /* Define if all libs needed for ssl support are existing */
208 #undef HAVE_SSL
209
210 /* Define if we're compiling in support for MD5.  */
211 #undef HAVE_MD5
212
213 /* Define if we're using Solaris libmd5.  */
214 #undef HAVE_SOLARIS_MD5
215
216 /* Define if we're using builtin (GNU) md5.c.  */
217 #undef HAVE_BUILTIN_MD5
218
219 /* First a gambit to see whether we're on Solaris.  We'll
220    need it below.  */
221 #ifdef __sun
222 # ifdef __SVR4
223 #  define solaris
224 # endif
225 #endif
226
227 /* The following several lines can be very dangerous; they can cripple
228    the header files and break compilation in _verY_ non-obvious ways.
229    Because of that, we define them only on architectures we know
230    about.  */
231
232 #undef NAMESPACE_TWEAKS
233
234 #ifdef solaris
235 # define NAMESPACE_TWEAKS
236 #endif
237
238 #ifdef __linux__
239 # define NAMESPACE_TWEAKS
240 #endif
241
242 #ifdef NAMESPACE_TWEAKS
243
244 /* Request the "Unix 98 compilation environment". */
245 #define _XOPEN_SOURCE 500
246
247 /* For Solaris: request everything else that is available and doesn't
248    conflict with the above.  */
249 #define __EXTENSIONS__
250
251 /* For Linux: request features of 4.3BSD and SVID (System V Interface
252    Definition). */
253 #define _SVID_SOURCE
254 #define _BSD_SOURCE
255
256 #endif /* NAMESPACE_TWEAKS */
257
258 #endif /* CONFIG_H */