From 4a762b0962422d2a0d4b2c1afcc5cdd0e99b06f3 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Mon, 28 Feb 2011 13:08:42 +0000 Subject: added build fix for (debian/ubuntu) --- src/configure | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/configure') diff --git a/src/configure b/src/configure index 67e27ef..13b3c21 100755 --- a/src/configure +++ b/src/configure @@ -12,7 +12,7 @@ # tunneling and relaying of packets of any protocol. # # -# Copyright (C) 2007-2009 Othmar Gsenger, Erwin Nindl, +# Copyright (C) 2007-2009 Othmar Gsenger, Erwin Nindl, # Christian Pointner # # This file is part of Anytun. @@ -36,7 +36,7 @@ TARGET=`uname -s` EBUILD_COMPAT=0 CXXFLAGS='-g -Wall -O2 -DLOG_SYSLOG -DLOG_FILE -DLOG_STDOUT' -LDFLAGS='-g -Wall -O2 -lboost_thread -lboost_serialization -lboost_system -lboost_date_time' +LDFLAGS='-g -Wall -O2 -lboost_thread -lboost_serialization -lboost_system -lboost_date_time -lpthread' CRYPTO_LIB='gcrypt' PASSPHRASE=1 @@ -105,7 +105,7 @@ do ;; --no-crypto) CRYPTO_LIB='none' - ;; + ;; --enable-passphrase) PASSPHRASE=1 ;; @@ -142,10 +142,10 @@ fi rm -f include.mk -case $TARGET in +case $TARGET in Linux) rm -f tunDevice.cpp - ln -sf linux/tunDevice.cpp + ln -sf linux/tunDevice.cpp rm -f signalHandler.hpp ln -sf posix/signalHandler.hpp rm -f sysExec.hpp @@ -157,7 +157,7 @@ case $TARGET in ;; OpenBSD|FreeBSD|NetBSD|GNU/kFreeBSD) rm -f tunDevice.cpp - ln -sf bsd/tunDevice.cpp + ln -sf bsd/tunDevice.cpp rm -f signalHandler.hpp ln -sf posix/signalHandler.hpp rm -f sysExec.hpp @@ -224,13 +224,13 @@ fi cat >> include.mk <> version.h <