diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/configure | 20 |
1 files changed, 10 insertions, 10 deletions
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 <satp@wirdorange.org> # # 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 <<EOF # this file was created automatically -# do not edit this file directly +# do not edit this file directly # use ./configure instead TARGET = $TARGET -CXX = gcc +CXX = g++ CXXFLAGS = $CXXFLAGS -LD = gcc +LD = g++ LDFLAGS = $LDFLAGS STRIP = strip INSTALL = install @@ -266,7 +266,7 @@ HOSTNAME=`hostname` DATE=`date +"%d.%m.%Y %H:%M:%S %Z"` cat >> version.h <<EOF -/* +/* * anytun version info * * this file was created automatically |