From a3497b930872853c792605b3d08529316cc8413a Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 10 Jan 2009 00:17:29 +0000 Subject: no crypto wokrs now with new build scripts --- src/Makefile | 5 ++++- src/configure | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index f5eea2c..ef90eeb 100644 --- a/src/Makefile +++ b/src/Makefile @@ -38,7 +38,7 @@ DEPENDFILE = .depend EXECUTABLE = uanytun CRYPT_OBJ = key_derivation.o \ - auth_algo.o + auth_algo.o OBJ = log.o \ signal.o \ options.o \ @@ -50,7 +50,10 @@ OBJ = log.o \ cipher.o \ uanytun.o + +ifndef NO_CRYPT_OBJ OBJ += $(CRYPT_OBJ) +endif SRC = $(OBJ:%.o=%.c) diff --git a/src/configure b/src/configure index 3246ca0..1664f30 100755 --- a/src/configure +++ b/src/configure @@ -78,7 +78,7 @@ case $TARGET in echo "loading BSD specific TUN Device" CFLAGS=$CFLAGS' -I/usr/local/include' LDFLAGS=$LDFLAGS' -L/usr/local/lib' - if [ '$TARGET' == 'OpenBSD' ]; then + if [ "$TARGET" == 'OpenBSD' ]; then V4_MAPPED=0 fi ;; @@ -101,6 +101,7 @@ case $CRYPTO_LIB in ;; none) CFLAGS=$CFLAGS' -DNO_CRYPT' + echo "NO_CRYPT_OBJ = 1" >> include.mk echo "Disabling crypto" ;; esac -- cgit v1.2.3