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