[Vtun-Commit] CVS: The file 'vtun/configure' has been modified.
Status: Inactive
Brought to you by:
mtbishop
|
From: Bishop <mtbishop> - 2009-03-29 10:08:58
|
The following file was modified in vtun:
Name Old version New version Comment
---- ----------- ----------- -------
configure 1.12 1.12.2.1
The accompanying log:
rfe2636157 - Permit a delayed UDP connection to overcome unpredictable
NAT ports.
The diff of the modified file(s):
--- configure 11 Dec 2006 07:55:06 -0000 1.12
+++ configure 29 Mar 2009 10:08:48 -0000 1.12.2.1
@@ -850,6 +850,7 @@
--disable-zlib Don not compile ZLIB compression module
--disable-lzo Don not compile LZO compression module
--enable-socks Compile with SOCKS support
+--disable-nathack Do not enable Nat Hack code
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
@@ -1352,6 +1353,15 @@
fi;
+# Check whether --enable-nathack or --disable-nathack was given.
+if test "${enable_nathack+set}" = set; then
+ enableval="$enable_nathack"
+ NATHACK=$enableval
+else
+ NATHACK=yes
+
+fi;
+
# Check whether --with-ssl-headers or --without-ssl-headers was given.
if test "${with_ssl_headers+set}" = set; then
@@ -6056,6 +6066,13 @@
fi
+if test "$NATHACK" = "yes"; then
+ cat >>confdefs.h <<\_ACEOF
+#define ENABLE_NAT_HACK 1
+_ACEOF
+
+fi
+
if test "$SOCKS" = "yes"; then
echo "$as_me:$LINENO: result: " >&5
echo "${ECHO_T}" >&6
|