From bb9509b9f61f1b083a98c4a51527dca1a16fd258 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Thu, 10 Mar 2011 22:34:12 +0000 Subject: configure script cleanup --- src/configure | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/configure b/src/configure index 8cecd9c..2f5cb5e 100755 --- a/src/configure +++ b/src/configure @@ -14,7 +14,7 @@ # message authentication based on the methodes used by SRTP. It is # intended to deliver a generic, scaleable and secure solution for # tunneling and relaying of packets of any protocol. -# +# # # Copyright (C) 2007-2010 Christian Pointner # @@ -100,7 +100,7 @@ do ;; --no-crypto) CRYPTO_LIB='none' - ;; + ;; --disable-passphrase) PASSPHRASE=0 ;; @@ -131,7 +131,7 @@ fi rm -f version.h rm -f include.mk -case $TARGET in +case $TARGET in Linux) rm -f tun.c ln -sf linux/tun.c @@ -163,7 +163,6 @@ case $CRYPTO_LIB in ;; none) CFLAGS=$CFLAGS' -DNO_CRYPT' - echo "NO_CRYPT_OBJ = 1" >> include.mk echo "disabling crypto" ;; esac @@ -189,9 +188,9 @@ if [ -z "$EXAMPLESDIR" ]; then EXAMPLESDIR=$PREFIX/share/examples fi -cat >> include.mk < include.mk <> include.mk +fi + if [ $INSTALLMANPAGE -eq 1 ]; then echo "MANDIR := $MANDIR" >> include.mk echo "installing manpage" @@ -230,8 +233,8 @@ fi HOSTNAME=`hostname` DATE=`date +"%d.%m.%Y %H:%M:%S %Z"` -cat >> version.h < version.h <