]> sjero.net Git - wget/blob - src/config.h.in
[svn] A bunch of new features:
[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 `unsigned' if <sys/types.h> doesn't define.  */
54 #undef size_t
55
56 /* Define to `int' if <sys/types.h> doesn't define.  */
57 #undef pid_t
58
59 /* Define if you have the ANSI C header files.  */
60 #undef STDC_HEADERS
61
62 /* Define as the return type of signal handlers (int or void).  */
63 #undef RETSIGTYPE
64
65 /* Define if your architecture is big endian (with the most
66    significant byte first).  */
67 #undef WORDS_BIGENDIAN
68
69 /* Define to the length of long. */
70 #undef SIZEOF_LONG
71
72 /* Define to the length of long long. */
73 #undef SIZEOF_LONG_LONG
74
75 #undef HAVE_LONG_LONG
76 #if SIZEOF_LONG_LONG != 0
77 # define HAVE_LONG_LONG
78 #endif
79
80 /* Define this if you want the NLS support.  */
81 #undef HAVE_NLS
82
83 /* Define if you want the FTP support for Opie compiled in.  */
84 #undef USE_OPIE
85
86 /* Define if you want the HTTP Digest Authorization compiled in.  */
87 #undef USE_DIGEST
88
89 /* Define if you want the debug output support compiled in.  */
90 #undef DEBUG
91
92 /* Define if you have sys/time.h header.  */
93 #undef HAVE_SYS_TIME_H
94
95 /* Define if you can safely include both <sys/time.h> and <time.h>.  */
96 #undef TIME_WITH_SYS_TIME
97
98 /* Define if you have struct utimbuf.  */
99 #undef HAVE_STRUCT_UTIMBUF
100
101 /* Define if you have the uname function.  */
102 #undef HAVE_UNAME
103
104 /* Define if you have a working version of mmap.  */
105 #undef HAVE_MMAP
106
107 /* Define if you have the gethostname function.  */
108 #undef HAVE_GETHOSTNAME
109
110 /* Define if you have the select function.  */
111 #undef HAVE_SELECT
112
113 /* Define if you have the gettimeofday function.  */
114 #undef HAVE_GETTIMEOFDAY
115
116 /* Define if you have the strdup function.  */
117 #undef HAVE_STRDUP
118
119 /* Define if you have the sys/utsname.h header.  */
120 #undef HAVE_SYS_UTSNAME_H
121
122 /* Define if you have the strerror function.  */
123 #undef HAVE_STRERROR
124
125 /* Define if you have the snprintf function.  */
126 #undef HAVE_SNPRINTF
127
128 /* Define if you have the vsnprintf function.  */
129 #undef HAVE_VSNPRINTF
130
131 /* Define if you have the strstr function.  */
132 #undef HAVE_STRSTR
133
134 /* Define if you have the strcasecmp function.  */
135 #undef HAVE_STRCASECMP
136
137 /* Define if you have the strncasecmp function.  */
138 #undef HAVE_STRNCASECMP
139
140 /* Define if you have the strptime function.  */
141 #undef HAVE_STRPTIME
142
143 /* Define if you have the mktime function.  */
144 #undef HAVE_MKTIME
145
146 /* Define if you have the symlink function.  */
147 #undef HAVE_SYMLINK
148
149 /* Define if you have the access function.  */
150 #undef HAVE_ACCESS
151
152 /* Define if you have the isatty function.  */
153 #undef HAVE_ISATTY
154
155 /* Define if you have the signal function.  */
156 #undef HAVE_SIGNAL
157
158 /* Define if you have the gettext function.  */
159 #undef HAVE_GETTEXT
160
161 /* Define if you have the <string.h> header file.  */
162 #undef HAVE_STRING_H
163
164 /* Define if you have the <stdarg.h> header file.  */
165 #undef HAVE_STDARG_H
166
167 /* Define if you have the <unistd.h> header file.  */
168 #undef HAVE_UNISTD_H
169
170 /* Define if you have the <utime.h> header file.  */
171 #undef HAVE_UTIME_H
172
173 /* Define if you have the <sys/utime.h> header file.  */
174 #undef HAVE_SYS_UTIME_H
175
176 /* Define if you have the <sys/select.h> header file.  */
177 #undef HAVE_SYS_SELECT_H
178
179 /* Define if you have the <pwd.h> header file.  */
180 #undef HAVE_PWD_H
181
182 /* Define if you have the <signal.h> header file.  */
183 #undef HAVE_SIGNAL_H
184
185 /* Define if you have the <libintl.h> header file.  */
186 #undef HAVE_LIBINTL_H
187
188 /* Define if you have the <locale.h> header file.  */
189 #undef HAVE_LOCALE_H
190
191 /* Define to be the name of the operating system.  */
192 #undef OS_TYPE
193
194 /* Define if you wish to compile with socks support.  */
195 #undef HAVE_SOCKS
196
197 /* Define to 1 if ANSI function prototypes are usable.  */
198 #undef PROTOTYPES
199
200 /* Debian says:
201
202    to get prototype for strptime, we need this  (taken from lftp)
203    #ifdef __linux__
204    #define __USE_XOPEN 1
205    #endif
206
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.
211
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!  */
215
216 #ifdef __linux__
217 # define _XOPEN_SOURCE 500
218 # define _SVID_SOURCE
219 #endif
220
221 #endif /* CONFIG_H */