summaryrefslogtreecommitdiff
path: root/src/configure
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2009-02-18 13:08:59 +0000
committerChristian Pointner <equinox@anytun.org>2009-02-18 13:08:59 +0000
commitd97760a781a793d35dfe75367dd8d80ab59bbb49 (patch)
tree362e1f7f198e2549b56dab7bf1eb564d15b48b91 /src/configure
parentstatic build mostly fixed (diff)
added anytun02 compat runtime switch
Diffstat (limited to 'src/configure')
-rwxr-xr-xsrc/configure10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/configure b/src/configure
index 1e8786f..892241b 100755
--- a/src/configure
+++ b/src/configure
@@ -36,7 +36,6 @@ CXXFLAGS='-g -Wall -O2'
LDFLAGS='-g -Wall -O2 -lboost_thread -lboost_serialization -lboost_system'
CRYPTO_LIB='gcrypt'
-ANYTUN_02_COMPAT=0
PASSPHRASE=1
ROUTING=1
@@ -44,7 +43,6 @@ print_usage() {
echo "configure --help print this"
echo " --use-ssl-crypto use ssl crypto library instead of libgcrypt"
echo " --disable-crypto disable crypto at all (only NULL cipher)"
- echo " --enable-anytun02-compat enable compatiblity mode for anytun 0.2.x and prior"
echo " --disable-passphrase disable master key and salt passphrase"
echo " --disable-routing disable built-in routing capability"
}
@@ -58,9 +56,6 @@ do
--disable-crypto)
CRYPTO_LIB='none'
;;
- --enable-anytun02-compat)
- ANYTUN_02_COMPAT=1
- ;;
--disable-passphrase)
PASSPHRASE=0
;;
@@ -116,11 +111,6 @@ case $CRYPTO_LIB in
;;
esac
-if [ $ANYTUN_02_COMPAT -eq 1 ]; then
- CXXFLAGS=$CXXFLAGS' -DANYTUN_02_COMPAT'
- echo "enabling anytun 0.2.x crypto compatiblity mode"
-fi
-
if [ $PASSPHRASE -eq 0 ]; then
CXXFLAGS=$CXXFLAGS' -DNO_PASSPHRASE'
echo "disabling master key and salt passphrase"