~ubuntu-branches/ubuntu/hardy/wget/hardy-updates

« back to all changes in this revision

Viewing changes to src/config.h.in

  • Committer: Bazaar Package Importer
  • Author(s): Noèl Köthe
  • Date: 2004-02-13 20:26:44 UTC
  • Revision ID: james.westby@ubuntu.com-20040213202644-skxj93qs15sskqfy
Tags: upstream-1.9.1
Import upstream version 1.9.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
In addition, as a special exception, the Free Software Foundation
 
22
gives permission to link the code of its release of Wget with the
 
23
OpenSSL project's "OpenSSL" library (or with modified versions of it
 
24
that use the same license as the "OpenSSL" library), and distribute
 
25
the linked executables.  You must obey the GNU General Public License
 
26
in all respects for all of the code used other than "OpenSSL".  If you
 
27
modify this file, you may extend this exception to your version of the
 
28
file, but you are not obligated to do so.  If you do not wish to do
 
29
so, delete this exception statement from your version.  */
 
30
 
 
31
#ifndef CONFIG_H
 
32
#define CONFIG_H
 
33
 
 
34
/* Define if you have the <alloca.h> header file.  */
 
35
#undef HAVE_ALLOCA_H
 
36
 
 
37
/* AIX requires this to be the first thing in the file.  */
 
38
#ifdef __GNUC__
 
39
# define alloca __builtin_alloca
 
40
#else
 
41
# if HAVE_ALLOCA_H
 
42
#  include <alloca.h>
 
43
# else
 
44
#  ifdef _AIX
 
45
 #pragma alloca
 
46
#  else
 
47
#   ifndef alloca /* predefined by HP cc +Olibcalls */
 
48
char *alloca ();
 
49
#   endif
 
50
#  endif
 
51
# endif
 
52
#endif
 
53
 
 
54
/* Define if on AIX 3.
 
55
   System headers sometimes define this.
 
56
   We just want to avoid a redefinition error message.  */
 
57
#ifndef _ALL_SOURCE
 
58
#undef _ALL_SOURCE
 
59
#endif
 
60
 
 
61
/* Define to empty if the keyword does not work.  */
 
62
#undef const
 
63
 
 
64
/* Define to empty or __inline__ or __inline.  */
 
65
#undef inline
 
66
 
 
67
/* Define to `unsigned' if <sys/types.h> doesn't define.  */
 
68
#undef size_t
 
69
 
 
70
/* Define to `int' if <sys/types.h> doesn't define.  */
 
71
#undef pid_t
 
72
 
 
73
/* Define if you have the ANSI C header files.  */
 
74
#undef STDC_HEADERS
 
75
 
 
76
/* Define as the return type of signal handlers (int or void).  */
 
77
#undef RETSIGTYPE
 
78
 
 
79
/* Define if your architecture is big endian (with the most
 
80
   significant byte first).  */
 
81
#undef WORDS_BIGENDIAN
 
82
 
 
83
/* Define to the length of short. */
 
84
#undef SIZEOF_SHORT
 
85
 
 
86
/* Define to the length of int. */
 
87
#undef SIZEOF_INT
 
88
 
 
89
/* Define to the length of long. */
 
90
#undef SIZEOF_LONG
 
91
 
 
92
/* Define to the length of long long. */
 
93
#undef SIZEOF_LONG_LONG
 
94
 
 
95
/* Define this if you want the NLS support.  */
 
96
#undef HAVE_NLS
 
97
 
 
98
/* Define if you want the FTP support for Opie compiled in.  */
 
99
#undef USE_OPIE
 
100
 
 
101
/* Define if you want the HTTP Digest Authorization compiled in.  */
 
102
#undef USE_DIGEST
 
103
 
 
104
/* Define if you want the debug output support compiled in.  */
 
105
#undef ENABLE_DEBUG
 
106
 
 
107
/* Define if you have sys/time.h header.  */
 
108
#undef HAVE_SYS_TIME_H
 
109
 
 
110
/* Define if you can safely include both <sys/time.h> and <time.h>.  */
 
111
#undef TIME_WITH_SYS_TIME
 
112
 
 
113
/* Define if you have inttypes.h header.  */
 
114
#undef HAVE_INTTYPES_H
 
115
 
 
116
/* Define if you have struct utimbuf.  */
 
117
#undef HAVE_STRUCT_UTIMBUF
 
118
 
 
119
/* Define if you have the uname function.  */
 
120
#undef HAVE_UNAME
 
121
 
 
122
/* Define if you have a working version of mmap.  */
 
123
#undef HAVE_MMAP
 
124
 
 
125
/* Define if you have the gethostname function.  */
 
126
#undef HAVE_GETHOSTNAME
 
127
 
 
128
/* Define if you have the select function.  */
 
129
#undef HAVE_SELECT
 
130
 
 
131
/* Define if you have the gettimeofday function.  */
 
132
#undef HAVE_GETTIMEOFDAY
 
133
 
 
134
/* Define if you have the strdup function.  */
 
135
#undef HAVE_STRDUP
 
136
 
 
137
/* Define if you have the sys/utsname.h header.  */
 
138
#undef HAVE_SYS_UTSNAME_H
 
139
 
 
140
/* Define if you have the strerror function.  */
 
141
#undef HAVE_STRERROR
 
142
 
 
143
/* Define if you have the snprintf function.  */
 
144
#undef HAVE_SNPRINTF
 
145
 
 
146
/* Define if you have the vsnprintf function.  */
 
147
#undef HAVE_VSNPRINTF
 
148
 
 
149
/* Define if you have the strstr function.  */
 
150
#undef HAVE_STRSTR
 
151
 
 
152
/* Define if you have the strcasecmp function.  */
 
153
#undef HAVE_STRCASECMP
 
154
 
 
155
/* Define if you have the strncasecmp function.  */
 
156
#undef HAVE_STRNCASECMP
 
157
 
 
158
/* Define if you have the strpbrk function.  */
 
159
#undef HAVE_STRPBRK
 
160
 
 
161
/* Define if you have the memmove function.  */
 
162
#undef HAVE_MEMMOVE
 
163
 
 
164
/* Define if you have the strptime function.  */
 
165
#undef HAVE_STRPTIME
 
166
 
 
167
/* Define if you have the mktime function.  */
 
168
#undef HAVE_MKTIME
 
169
 
 
170
/* Define if you have the symlink function.  */
 
171
#undef HAVE_SYMLINK
 
172
 
 
173
/* Define if you have the access function.  */
 
174
#undef HAVE_ACCESS
 
175
 
 
176
/* Define if you have the isatty function.  */
 
177
#undef HAVE_ISATTY
 
178
 
 
179
/* Define if you have the signal function.  */
 
180
#undef HAVE_SIGNAL
 
181
 
 
182
/* Define if you have the sigsetjmp function.  */
 
183
#undef HAVE_SIGSETJMP
 
184
 
 
185
/* Define if you have the sigblock function.  */
 
186
#undef HAVE_SIGBLOCK
 
187
 
 
188
/* Define if you have the gettext function.  */
 
189
#undef HAVE_GETTEXT
 
190
 
 
191
/* Define if you have the usleep function.  */
 
192
#undef HAVE_USLEEP
 
193
 
 
194
/* Define if you have the <string.h> header file.  */
 
195
#undef HAVE_STRING_H
 
196
 
 
197
/* Define if you have the <stdarg.h> header file.  */
 
198
#undef HAVE_STDARG_H
 
199
 
 
200
/* Define if you have the <unistd.h> header file.  */
 
201
#undef HAVE_UNISTD_H
 
202
 
 
203
/* Define if you have the <utime.h> header file.  */
 
204
#undef HAVE_UTIME_H
 
205
 
 
206
/* Define if you have the <sys/utime.h> header file.  */
 
207
#undef HAVE_SYS_UTIME_H
 
208
 
 
209
/* Define if you have the <termios.h> header file.  */
 
210
#undef HAVE_TERMIOS_H
 
211
 
 
212
/* Define if you have the <sys/ioctl.h> header file.  */
 
213
#undef HAVE_SYS_IOCTL_H
 
214
 
 
215
/* Define if you have the <sys/select.h> header file.  */
 
216
#undef HAVE_SYS_SELECT_H
 
217
 
 
218
/* Define if you have the <pwd.h> header file.  */
 
219
#undef HAVE_PWD_H
 
220
 
 
221
/* Define if you have the <signal.h> header file.  */
 
222
#undef HAVE_SIGNAL_H
 
223
 
 
224
/* Define if you have the <setjmp.h> header file.  */
 
225
#undef HAVE_SETJMP_H
 
226
 
 
227
/* Define if you have the <libintl.h> header file.  */
 
228
#undef HAVE_LIBINTL_H
 
229
 
 
230
/* Define if you have the <locale.h> header file.  */
 
231
#undef HAVE_LOCALE_H
 
232
 
 
233
/* Define if fnmatch.h can be included. */
 
234
#undef HAVE_WORKING_FNMATCH_H
 
235
 
 
236
/* Define to be the name of the operating system.  */
 
237
#undef OS_TYPE
 
238
 
 
239
/* Define if you wish to compile with socks support.  */
 
240
#undef HAVE_SOCKS
 
241
 
 
242
/* Define to 1 if ANSI function prototypes are usable.  */
 
243
#undef PROTOTYPES
 
244
 
 
245
/* Define if all libs needed for ssl support are existing */
 
246
#undef HAVE_SSL
 
247
 
 
248
/* Define if we're compiling in support for MD5.  */
 
249
#undef HAVE_MD5
 
250
 
 
251
/* Define if we're using Solaris libmd5.  */
 
252
#undef HAVE_SOLARIS_MD5
 
253
 
 
254
/* Define if we're using OpenSSL md5.  */
 
255
#undef HAVE_OPENSSL_MD5
 
256
 
 
257
/* Define if we're using builtin (GNU) md5.c.  */
 
258
#undef HAVE_BUILTIN_MD5
 
259
 
 
260
/* Define if you have the getaddrinfo function.  */
 
261
#undef HAVE_GETADDRINFO
 
262
 
 
263
/* Define if the system headers support the AI_ADDRCONFIG flag. */
 
264
#undef HAVE_GETADDRINFO_AI_ADDRCONFIG
 
265
 
 
266
/* Define if the system headers support the AI_V4MAPPED flag. */
 
267
#undef HAVE_GETADDRINFO_AI_V4MAPPED
 
268
 
 
269
/* Define if the system headers support the AI_ALL flag. */
 
270
#undef HAVE_GETADDRINFO_AI_ALL
 
271
 
 
272
/* Define if the system supports struct sockaddr_in6 */
 
273
#undef HAVE_HAVE_STRUCT_SOCKADDR_IN6
 
274
 
 
275
/* Define if struct sockaddr_in6 has the sin6_scope_id member */
 
276
#undef HAVE_SOCKADDR_IN6_SCOPE_ID
 
277
 
 
278
/* Define if you want to enable the IPv6 support.  */
 
279
#undef ENABLE_IPV6
 
280
 
 
281
/* Defined to int or size_t on systems without socklen_t.  */
 
282
#undef socklen_t
 
283
 
 
284
/* Define if you have uint32_t.  */
 
285
#undef HAVE_UINT32_T
 
286
 
 
287
/* Some autoconf-unrelated preprocessor magic that cannot be in
 
288
   sysdep.h because it must be done before including the system
 
289
   headers.  */
 
290
 
 
291
/* First a gambit to see whether we're on Solaris.  We'll
 
292
   need it below.  */
 
293
#ifdef __sun
 
294
# ifdef __SVR4
 
295
#  define solaris
 
296
# endif
 
297
#endif
 
298
 
 
299
/* The following several lines can be very dangerous; they can cripple
 
300
   the header files and break compilation in _verY_ non-obvious ways.
 
301
   Because of that, we define them only on architectures we know
 
302
   about.  */
 
303
 
 
304
#undef NAMESPACE_TWEAKS
 
305
 
 
306
#ifdef solaris
 
307
# define NAMESPACE_TWEAKS
 
308
# ifdef __GNUC__
 
309
/* Prevent stdio.h from declaring va_list and thus tripping gcc's
 
310
   stdarg.h. */
 
311
#  define _VA_LIST
 
312
# endif
 
313
#endif
 
314
 
 
315
#ifdef __linux__
 
316
# define NAMESPACE_TWEAKS
 
317
#endif
 
318
 
 
319
#ifdef NAMESPACE_TWEAKS
 
320
 
 
321
/* Request the "Unix 98 compilation environment". */
 
322
#define _XOPEN_SOURCE 500
 
323
 
 
324
/* For Solaris: request everything else that is available and doesn't
 
325
   conflict with the above.  */
 
326
#define __EXTENSIONS__
 
327
 
 
328
/* For Linux: request features of 4.3BSD and SVID (System V Interface
 
329
   Definition). */
 
330
#define _SVID_SOURCE
 
331
#define _BSD_SOURCE
 
332
 
 
333
#endif /* NAMESPACE_TWEAKS */
 
334
 
 
335
#endif /* CONFIG_H */