… | |
… | |
25 | #undef ENABLE_COMPRESSION |
25 | #undef ENABLE_COMPRESSION |
26 | |
26 | |
27 | /* Select the digest algorithm to use. */ |
27 | /* Select the digest algorithm to use. */ |
28 | #undef ENABLE_DIGEST |
28 | #undef ENABLE_DIGEST |
29 | |
29 | |
|
|
30 | /* DNS tunnel protocol support. */ |
|
|
31 | #undef ENABLE_DNS |
|
|
32 | |
30 | /* http proxy connect support. */ |
33 | /* http proxy connect support. */ |
31 | #undef ENABLE_HTTP_PROXY |
34 | #undef ENABLE_HTTP_PROXY |
32 | |
35 | |
33 | /* ICMP protocol support. */ |
36 | /* ICMP protocol support. */ |
34 | #undef ENABLE_ICMP |
37 | #undef ENABLE_ICMP |
35 | |
38 | |
36 | /* Define to 1 if translation of program messages to the user's native |
39 | /* Define to 1 if translation of program messages to the user's native |
37 | language is requested. */ |
40 | language is requested. */ |
38 | #undef ENABLE_NLS |
41 | #undef ENABLE_NLS |
39 | |
42 | |
|
|
43 | /* ROHC support */ |
|
|
44 | #undef ENABLE_ROHC |
|
|
45 | |
40 | /* TCP protocol support. */ |
46 | /* TCP protocol support. */ |
41 | #undef ENABLE_TCP |
47 | #undef ENABLE_TCP |
42 | |
48 | |
43 | /* Define to 1 if you have `alloca', as a function or macro. */ |
49 | /* Define to 1 if you have `alloca', as a function or macro. */ |
44 | #undef HAVE_ALLOCA |
50 | #undef HAVE_ALLOCA |
… | |
… | |
51 | #undef HAVE_ARPA_INET_H |
57 | #undef HAVE_ARPA_INET_H |
52 | |
58 | |
53 | /* Define to 1 if you have the `asprintf' function. */ |
59 | /* Define to 1 if you have the `asprintf' function. */ |
54 | #undef HAVE_ASPRINTF |
60 | #undef HAVE_ASPRINTF |
55 | |
61 | |
|
|
62 | /* Define to 1 if you have the <clocale> header file. */ |
|
|
63 | #undef HAVE_CLOCALE |
|
|
64 | |
56 | /* Cygwin */ |
65 | /* Cygwin */ |
57 | #undef HAVE_CYGWIN |
66 | #undef HAVE_CYGWIN |
58 | |
67 | |
59 | /* Define to 1 if you have the `daemon' function. */ |
68 | /* Define to 1 if you have the `daemon' function. */ |
60 | #undef HAVE_DAEMON |
69 | #undef HAVE_DAEMON |
… | |
… | |
85 | #undef HAVE_ICONV |
94 | #undef HAVE_ICONV |
86 | |
95 | |
87 | /* Define to 1 if you have the <inttypes.h> header file. */ |
96 | /* Define to 1 if you have the <inttypes.h> header file. */ |
88 | #undef HAVE_INTTYPES_H |
97 | #undef HAVE_INTTYPES_H |
89 | |
98 | |
|
|
99 | /* Define to 1 if you have the `gmp' library (-lgmp). */ |
|
|
100 | #undef HAVE_LIBGMP |
|
|
101 | |
90 | /* Define to 1 if you have the `nsl' library (-lnsl). */ |
102 | /* Define to 1 if you have the `nsl' library (-lnsl). */ |
91 | #undef HAVE_LIBNSL |
103 | #undef HAVE_LIBNSL |
92 | |
104 | |
93 | /* Define to 1 if you have the `socket' library (-lsocket). */ |
105 | /* Define to 1 if you have the `socket' library (-lsocket). */ |
94 | #undef HAVE_LIBSOCKET |
106 | #undef HAVE_LIBSOCKET |
… | |
… | |
155 | #undef HAVE_OPENSSL_RSA_H |
167 | #undef HAVE_OPENSSL_RSA_H |
156 | |
168 | |
157 | /* Define to 1 if you have the <openssl/sha.h> header file. */ |
169 | /* Define to 1 if you have the <openssl/sha.h> header file. */ |
158 | #undef HAVE_OPENSSL_SHA_H |
170 | #undef HAVE_OPENSSL_SHA_H |
159 | |
171 | |
160 | /* Define to 1 if you have the `poll' function. */ |
|
|
161 | #undef HAVE_POLL |
|
|
162 | |
|
|
163 | /* Define to 1 if you have the `putenv' function. */ |
172 | /* Define to 1 if you have the `putenv' function. */ |
164 | #undef HAVE_PUTENV |
173 | #undef HAVE_PUTENV |
165 | |
174 | |
166 | /* Define to 1 if you have the `RAND_pseudo_bytes' function. */ |
175 | /* Define to 1 if you have the `RAND_pseudo_bytes' function. */ |
167 | #undef HAVE_RAND_PSEUDO_BYTES |
176 | #undef HAVE_RAND_PSEUDO_BYTES |
… | |
… | |
217 | /* Define to 1 if you have the <sys/mman.h> header file. */ |
226 | /* Define to 1 if you have the <sys/mman.h> header file. */ |
218 | #undef HAVE_SYS_MMAN_H |
227 | #undef HAVE_SYS_MMAN_H |
219 | |
228 | |
220 | /* Define to 1 if you have the <sys/param.h> header file. */ |
229 | /* Define to 1 if you have the <sys/param.h> header file. */ |
221 | #undef HAVE_SYS_PARAM_H |
230 | #undef HAVE_SYS_PARAM_H |
222 | |
|
|
223 | /* Define to 1 if you have the <sys/poll.h> header file. */ |
|
|
224 | #undef HAVE_SYS_POLL_H |
|
|
225 | |
231 | |
226 | /* Define to 1 if you have the <sys/stat.h> header file. */ |
232 | /* Define to 1 if you have the <sys/stat.h> header file. */ |
227 | #undef HAVE_SYS_STAT_H |
233 | #undef HAVE_SYS_STAT_H |
228 | |
234 | |
229 | /* Define to 1 if you have the <sys/time.h> header file. */ |
235 | /* Define to 1 if you have the <sys/time.h> header file. */ |
… | |
… | |
281 | #undef RETSIGTYPE |
287 | #undef RETSIGTYPE |
282 | |
288 | |
283 | /* If using the C implementation of alloca, define if you know the |
289 | /* If using the C implementation of alloca, define if you know the |
284 | direction of stack growth for your system; otherwise it will be |
290 | direction of stack growth for your system; otherwise it will be |
285 | automatically deduced at run-time. |
291 | automatically deduced at run-time. |
286 | STACK_DIRECTION > 0 => grows toward higher addresses |
292 | STACK_DIRECTION > 0 => grows toward higher addresses |
287 | STACK_DIRECTION < 0 => grows toward lower addresses |
293 | STACK_DIRECTION < 0 => grows toward lower addresses |
288 | STACK_DIRECTION = 0 => direction of growth unknown */ |
294 | STACK_DIRECTION = 0 => direction of growth unknown */ |
289 | #undef STACK_DIRECTION |
295 | #undef STACK_DIRECTION |
290 | |
296 | |
291 | /* Define to 1 if you have the ANSI C header files. */ |
297 | /* Define to 1 if you have the ANSI C header files. */ |
292 | #undef STDC_HEADERS |
298 | #undef STDC_HEADERS |
293 | |
299 | |
… | |
… | |
301 | #undef VERSION |
307 | #undef VERSION |
302 | |
308 | |
303 | /* Enable GNU extenstions */ |
309 | /* Enable GNU extenstions */ |
304 | #undef _GNU_SOURCE |
310 | #undef _GNU_SOURCE |
305 | |
311 | |
306 | /* Enable BSD extensions */ |
|
|
307 | #undef __USE_BSD |
|
|
308 | |
|
|
309 | /* Define to empty if `const' does not conform to ANSI C. */ |
312 | /* Define to empty if `const' does not conform to ANSI C. */ |
310 | #undef const |
313 | #undef const |
311 | |
314 | |
312 | /* Define to `int' if <sys/types.h> does not define. */ |
315 | /* Define to `int' if <sys/types.h> does not define. */ |
313 | #undef pid_t |
316 | #undef pid_t |
314 | |
317 | |
315 | /* Define to `unsigned' if <sys/types.h> does not define. */ |
318 | /* Define to `unsigned' if <sys/types.h> does not define. */ |
316 | #undef size_t |
319 | #undef size_t |
317 | |
320 | |
318 | |
321 | |
|
|
322 | typedef unsigned char u8; |
|
|
323 | typedef signed char s8; |
|
|
324 | |
319 | #if __CYGWIN__ |
325 | #if __CYGWIN__ |
320 | |
326 | |
321 | typedef unsigned char u8; |
|
|
322 | typedef unsigned short u16; |
327 | typedef unsigned short u16; |
323 | typedef unsigned int u32; |
328 | typedef unsigned int u32; |
|
|
329 | typedef signed short s16; |
|
|
330 | typedef signed int s32; |
324 | |
331 | |
325 | #else |
332 | #else |
326 | #include <inttypes.h> |
333 | #include <inttypes.h> |
327 | |
334 | |
328 | /* old modula-2 habits */ |
335 | /* old modula-2 habits */ |
329 | typedef unsigned char u8; |
|
|
330 | typedef uint16_t u16; |
336 | typedef uint16_t u16; |
331 | typedef uint32_t u32; |
337 | typedef uint32_t u32; |
|
|
338 | typedef int16_t s16; |
|
|
339 | typedef int32_t s32; |
332 | #endif |
340 | #endif |
333 | |
341 | |
334 | #endif |
342 | #endif |
335 | |
343 | |
|
|
344 | // include clocale first because gettext.h might overwrite setlocale |
|
|
345 | #if defined(HAVE_CLOCALE) && defined(__cplusplus) |
|
|
346 | # include <clocale> |
|
|
347 | #else |
|
|
348 | # include <locale.h> |
|
|
349 | #endif |
|
|
350 | #include "gettext.h" |
|
|
351 | |