--- gvpe/configure.ac 2003/10/14 19:45:35 1.11 +++ gvpe/configure.ac 2003/10/15 06:06:41 1.16 @@ -67,12 +67,17 @@ [AC_HELP_STRING(--enable-iftype[=TYPE/SUBTYPE], [ Use kernel/net device interface TYPE/SUBTYPE. Working combinations are: - "native/linux" "tincd/linux" "tincd/freebsd"; + "native/linux" + "tincd/linux" + "tincd/freebsd" + "native/cygwin"; Untested combinations are: - "tincd/netbsd" "tincd/darwin" "tincd/solaris" - "tincd/openbsd" "tincd/cygwin"; + "tincd/netbsd" + "tincd/darwin" + "tincd/solaris" + "tincd/openbsd"; Broken combinations are: - "native/cygwin"; + "tincd/cygwin"; The default is to autodetect. ])], [ @@ -117,7 +122,7 @@ AC_DEFINE(HAVE_NETBSD, 1, [NetBSD]) ;; *cygwin*) - IFTYPE=tincd + IFTYPE=native IFSUBTYPE=cygwin AC_DEFINE(HAVE_CYGWIN, 1, [Cygwin]) ;; @@ -139,7 +144,7 @@ dnl Checks for header files. AC_CHECK_HEADERS([fcntl.h inttypes.h limits.h malloc.h stdint.h strings.h syslog.h unistd.h \ - sys/file.h sys/ioctl.h sys/param.h sys/time.h netinet/in_systm.h cygwin.h arpa/inet.h \ + sys/file.h sys/ioctl.h sys/param.h sys/time.h netinet/in_systm.h sys/cygwin.h arpa/inet.h \ sys/poll.h sys/mman.h netinet/in.h]) AC_CHECK_HEADERS([net/ethernet.h net/if.h netinet/ip.h netinet/tcp.h netinet/in_systm.h], [], [], [ @@ -219,7 +224,11 @@ dnl These are defined in files in m4/ tinc_TUNTAP + tinc_OPENSSL +if test "x$openssl_include" != x; then + CXXFLAGS="$CXXFLAGS -I$openssl_include" +fi dnl tinc_ZLIB AC_ARG_ENABLE(rohc,