… | |
… | |
17 | #endif |
17 | #endif |
18 | |
18 | |
19 | ]) |
19 | ]) |
20 | |
20 | |
21 | AH_BOTTOM([ |
21 | AH_BOTTOM([ |
|
|
22 | typedef unsigned char u8; |
|
|
23 | typedef signed char s8; |
|
|
24 | |
22 | #if __CYGWIN__ |
25 | #if __CYGWIN__ |
23 | |
26 | |
24 | typedef unsigned char u8; |
|
|
25 | typedef unsigned short u16; |
27 | typedef unsigned short u16; |
26 | typedef unsigned int u32; |
28 | typedef unsigned int u32; |
|
|
29 | typedef signed short s16; |
|
|
30 | typedef signed int s32; |
27 | |
31 | |
28 | #else |
32 | #else |
29 | #include <inttypes.h> |
33 | #include <inttypes.h> |
30 | |
34 | |
31 | /* old modula-2 habits */ |
35 | /* old modula-2 habits */ |
32 | typedef unsigned char u8; |
|
|
33 | typedef uint16_t u16; |
36 | typedef uint16_t u16; |
34 | typedef uint32_t u32; |
37 | typedef uint32_t u32; |
|
|
38 | typedef int16_t s16; |
|
|
39 | typedef int32_t s32; |
35 | #endif |
40 | #endif |
36 | |
41 | |
37 | #endif |
42 | #endif |
38 | ]) |
43 | ]) |
39 | |
44 | |
… | |
… | |
261 | AC_DEFINE_UNQUOTED(ENABLE_TCP, 1, [TCP protocol support.]) |
266 | AC_DEFINE_UNQUOTED(ENABLE_TCP, 1, [TCP protocol support.]) |
262 | ) |
267 | ) |
263 | |
268 | |
264 | AC_ARG_ENABLE(dns, |
269 | AC_ARG_ENABLE(dns, |
265 | [AS_HELP_STRING(--enable-dns,enable dns tunnel protocol support (DOES NOT WORK).)], |
270 | [AS_HELP_STRING(--enable-dns,enable dns tunnel protocol support (DOES NOT WORK).)], |
|
|
271 | [ |
|
|
272 | AC_CHECK_HEADER(gmp.h,,[AC_MSG_ERROR([gmp.h not found, required for --enable-dns])]) |
|
|
273 | AC_CHECK_LIB(gmp,main,,[AC_MSG_ERROR([libgmp not found, required for --enable-dns])]) |
|
|
274 | |
266 | AC_DEFINE_UNQUOTED(ENABLE_DNS, 1, [DNS tunnel protocol support.]) |
275 | AC_DEFINE_UNQUOTED(ENABLE_DNS, 1, [DNS tunnel protocol support.]) |
|
|
276 | ] |
267 | ) |
277 | ) |
268 | |
278 | |
269 | AC_ARG_ENABLE(http-proxy, |
279 | AC_ARG_ENABLE(http-proxy, |
270 | [AS_HELP_STRING(--enable-http-proxy,enable http proxy connect support (default disabled).)], |
280 | [AS_HELP_STRING(--enable-http-proxy,enable http proxy connect support (default disabled).)], |
271 | AC_DEFINE_UNQUOTED(ENABLE_HTTP_PROXY, 1, [http proxy connect support.]) |
281 | AC_DEFINE_UNQUOTED(ENABLE_HTTP_PROXY, 1, [http proxy connect support.]) |
… | |
… | |
380 | |
390 | |
381 | AC_SUBST(INCLUDES) |
391 | AC_SUBST(INCLUDES) |
382 | |
392 | |
383 | AC_CONFIG_FILES([Makefile po/Makefile.in |
393 | AC_CONFIG_FILES([Makefile po/Makefile.in |
384 | src/Makefile |
394 | src/Makefile |
385 | src/rohc/Makefile |
|
|
386 | doc/Makefile |
395 | doc/Makefile |
387 | lib/Makefile |
396 | lib/Makefile |
388 | m4/Makefile |
397 | m4/Makefile |
389 | ]) |
398 | ]) |
390 | AC_OUTPUT |
399 | AC_OUTPUT |