ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/configure.ac
(Generate patch)

Comparing gvpe/configure.ac (file contents):
Revision 1.30 by pcg, Sun May 30 17:52:32 2004 UTC vs.
Revision 1.36 by pcg, Thu Mar 17 23:59:37 2005 UTC

2 2
3AC_PREREQ(2.59) 3AC_PREREQ(2.59)
4AC_INIT 4AC_INIT
5AC_CONFIG_SRCDIR([src/vped.C]) 5AC_CONFIG_SRCDIR([src/vped.C])
6AC_CANONICAL_TARGET 6AC_CANONICAL_TARGET
7AM_INIT_AUTOMAKE(vpe, 1.7) 7AM_INIT_AUTOMAKE(gvpe, 1.8)
8AC_CONFIG_HEADERS([config.h]) 8AC_CONFIG_HEADERS([config.h])
9AM_MAINTAINER_MODE 9AM_MAINTAINER_MODE
10 10
11AH_TOP([ 11AH_TOP([
12#ifndef CONFIG_H__ 12#ifndef CONFIG_H__
17#endif 17#endif
18 18
19]) 19])
20 20
21AH_BOTTOM([ 21AH_BOTTOM([
22typedef unsigned char u8;
23typedef signed char s8;
24
22#if __CYGWIN__ 25#if __CYGWIN__
23 26
24typedef unsigned char u8;
25typedef unsigned short u16; 27typedef unsigned short u16;
26typedef unsigned int u32; 28typedef unsigned int u32;
29typedef signed short s16;
30typedef 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 */
32typedef unsigned char u8;
33typedef uint16_t u16; 36typedef uint16_t u16;
34typedef uint32_t u32; 37typedef uint32_t u32;
38typedef int16_t s16;
39typedef int32_t s32;
35#endif 40#endif
36 41
37#endif 42#endif
38]) 43])
39 44
76 "tincd/darwin" 81 "tincd/darwin"
77 "native/cygwin"; 82 "native/cygwin";
78 Untested combinations are: 83 Untested combinations are:
79 "tincd/netbsd" 84 "tincd/netbsd"
80 "tincd/solaris" 85 "tincd/solaris"
81 "tincd/mingw"; 86 "tincd/mingw"
87 "tincd/raw_socket"
88 "tincd/uml_socket";
82 Broken combinations are: 89 Broken combinations are:
83 "tincd/cygwin"; 90 "tincd/cygwin";
84 The default is to autodetect. 91 The default is to autodetect.
85 )], 92 )],
86 [ 93 [
261 AC_DEFINE_UNQUOTED(ENABLE_TCP, 1, [TCP protocol support.]) 268 AC_DEFINE_UNQUOTED(ENABLE_TCP, 1, [TCP protocol support.])
262) 269)
263 270
264AC_ARG_ENABLE(dns, 271AC_ARG_ENABLE(dns,
265 [AS_HELP_STRING(--enable-dns,enable dns tunnel protocol support (DOES NOT WORK).)], 272 [AS_HELP_STRING(--enable-dns,enable dns tunnel protocol support (DOES NOT WORK).)],
273 [
274 AC_CHECK_HEADER(gmp.h,,[AC_MSG_ERROR([gmp.h not found, required for --enable-dns])])
275 AC_CHECK_LIB(gmp,main,,[AC_MSG_ERROR([libgmp not found, required for --enable-dns])])
276
266 AC_DEFINE_UNQUOTED(ENABLE_DNS, 1, [DNS tunnel protocol support.]) 277 AC_DEFINE_UNQUOTED(ENABLE_DNS, 1, [DNS tunnel protocol support.])
278 ]
267) 279)
268 280
269AC_ARG_ENABLE(http-proxy, 281AC_ARG_ENABLE(http-proxy,
270 [AS_HELP_STRING(--enable-http-proxy,enable http proxy connect support (default disabled).)], 282 [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.]) 283 AC_DEFINE_UNQUOTED(ENABLE_HTTP_PROXY, 1, [http proxy connect support.])
380 392
381AC_SUBST(INCLUDES) 393AC_SUBST(INCLUDES)
382 394
383AC_CONFIG_FILES([Makefile po/Makefile.in 395AC_CONFIG_FILES([Makefile po/Makefile.in
384src/Makefile 396src/Makefile
385src/rohc/Makefile
386doc/Makefile 397doc/Makefile
387lib/Makefile 398lib/Makefile
388m4/Makefile 399m4/Makefile
389]) 400])
390AC_OUTPUT 401AC_OUTPUT

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines