ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/configure
(Generate patch)

Comparing gvpe/configure (file contents):
Revision 1.25 by pcg, Sat Mar 5 19:25:21 2005 UTC vs.
Revision 1.30 by pcg, Mon Dec 5 12:58:05 2005 UTC

269PACKAGE_TARNAME= 269PACKAGE_TARNAME=
270PACKAGE_VERSION= 270PACKAGE_VERSION=
271PACKAGE_STRING= 271PACKAGE_STRING=
272PACKAGE_BUGREPORT= 272PACKAGE_BUGREPORT=
273 273
274ac_unique_file="src/vped.C" 274ac_unique_file="src/gvpe.C"
275# Factoring default headers for most tests. 275# Factoring default headers for most tests.
276ac_includes_default="\ 276ac_includes_default="\
277#include <stdio.h> 277#include <stdio.h>
278#if HAVE_SYS_TYPES_H 278#if HAVE_SYS_TYPES_H
279# include <sys/types.h> 279# include <sys/types.h>
868 --enable-dependency-tracking Do not reject slow dependency extractors 868 --enable-dependency-tracking Do not reject slow dependency extractors
869 --disable-rpath do not hardcode runtime library paths 869 --disable-rpath do not hardcode runtime library paths
870 --disable-nls do not use Native Language Support 870 --disable-nls do not use Native Language Support
871 --enable-iftype=TYPE/SUBTYPE 871 --enable-iftype=TYPE/SUBTYPE
872 Use kernel/net device interface TYPE/SUBTYPE. 872 Use kernel/net device interface TYPE/SUBTYPE.
873 Working combinations are: "native/linux" 873 Working combinations are (see doc/gvpe.osdep.5.pod):
874 "native/linux" "tincd/linux" "tincd/netbsd"
874 "tincd/linux" "tincd/freebsd" "tincd/openbsd" 875 "tincd/freebsd" "tincd/openbsd" "native/darwin"
875 "tincd/darwin" "native/cygwin"; Untested 876 "tincd/darwin" "native/cygwin"; Untested
876 combinations are: "tincd/netbsd" "tincd/solaris" 877 combinations are: "tincd/bsd" "tincd/solaris"
877 "tincd/mingw"; Broken combinations are: 878 "tincd/mingw" "tincd/raw_socket" "tincd/uml_socket";
879 Broken combinations are: "tincd/cygwin"; The default
878 "tincd/cygwin"; The default is to autodetect. 880 is to autodetect.
879 --enable-static-daemon enable statically linked daemon. 881 --enable-static-daemon enable statically linked daemon.
880 --enable-rohc enable robust header compression (rfc3095). 882 --enable-rohc enable robust header compression (rfc3095).
881 --enable-icmp enable icmp protocol support (default disabled). 883 --enable-icmp enable icmp protocol support (default disabled).
882 --enable-tcp enable tcp protocol support (default disabled). 884 --enable-tcp enable tcp protocol support (default disabled).
883 --enable-dns enable dns tunnel protocol support (DOES NOT WORK). 885 --enable-dns enable dns tunnel protocol support (DOES NOT WORK).
890 use BYTES bytes of extra randomness (default 8). 892 use BYTES bytes of extra randomness (default 8).
891 Allowed values are 0, 4, 8. 893 Allowed values are 0, 4, 8.
892 --enable-max-mtu=BYTES enable mtu sizes upto BYTES bytes (default 1500). 894 --enable-max-mtu=BYTES enable mtu sizes upto BYTES bytes (default 1500).
893 Use 9100 for jumbogram support. 895 Use 9100 for jumbogram support.
894 --disable-compression Disable compression support. 896 --disable-compression Disable compression support.
895 --enable-cipher Select the symmetric cipher (default "bf"). Must be 897 --enable-cipher Select the symmetric cipher (default "aes-128").
896 one of "bf" (blowfish), "aes-128" (rijndael), 898 Must be one of "bf" (blowfish), "aes-128"
897 "aes-192" or "aes-256". 899 (rijndael), "aes-192" or "aes-256".
898 --enable-digest Select the digets algorithm to use (default "sha1"). 900 --enable-digest Select the digets algorithm to use (default
899 Must be one of "sha1", "ripemd160", "md5" or "md4" 901 "ripemd160"). Must be one of "sha1", "ripemd160",
900 (insecure). 902 "md5" or "md4" (insecure).
901 903
902Optional Packages: 904Optional Packages:
903 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 905 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
904 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 906 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
905 --with-gnu-ld assume the C compiler uses GNU ld default=no 907 --with-gnu-ld assume the C compiler uses GNU ld default=no
1718fi 1720fi
1719 1721
1720 1722
1721# Define the identity of the package. 1723# Define the identity of the package.
1722 PACKAGE=gvpe 1724 PACKAGE=gvpe
1723 VERSION=1.8 1725 VERSION=1.9
1724 1726
1725 1727
1726cat >>confdefs.h <<_ACEOF 1728cat >>confdefs.h <<_ACEOF
1727#define PACKAGE "$PACKAGE" 1729#define PACKAGE "$PACKAGE"
1728_ACEOF 1730_ACEOF
6414#define HAVE_FREEBSD 1 6416#define HAVE_FREEBSD 1
6415_ACEOF 6417_ACEOF
6416 6418
6417 ;; 6419 ;;
6418 *darwin*) 6420 *darwin*)
6419 IFTYPE=tincd 6421 IFTYPE=native
6420 IFSUBTYPE=darwin 6422 IFSUBTYPE=darwin
6421 6423
6422cat >>confdefs.h <<\_ACEOF 6424cat >>confdefs.h <<\_ACEOF
6423#define HAVE_DARWIN 1 6425#define HAVE_DARWIN 1
6424_ACEOF 6426_ACEOF
7013 7015
7014done 7016done
7015 7017
7016 7018
7017 7019
7020
7018for ac_header in ext/hash_map 7021for ac_header in ext/hash_map clocale
7019do 7022do
7020as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7023as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7021if eval "test \"\${$as_ac_Header+set}\" = set"; then 7024if eval "test \"\${$as_ac_Header+set}\" = set"; then
7022 echo "$as_me:$LINENO: checking for $ac_header" >&5 7025 echo "$as_me:$LINENO: checking for $ac_header" >&5
7023echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7026echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9718 ROHC_TRUE='#' 9721 ROHC_TRUE='#'
9719 ROHC_FALSE= 9722 ROHC_FALSE=
9720fi 9723fi
9721 9724
9722 9725
9726
9723# Check whether --enable-icmp or --disable-icmp was given. 9727# Check whether --enable-icmp or --disable-icmp was given.
9724if test "${enable_icmp+set}" = set; then 9728if test "${enable_icmp+set}" = set; then
9725 enableval="$enable_icmp" 9729 enableval="$enable_icmp"
9726 9730
9727cat >>confdefs.h <<_ACEOF 9731cat >>confdefs.h <<_ACEOF
10035cat >>confdefs.h <<_ACEOF 10039cat >>confdefs.h <<_ACEOF
10036#define ENABLE_COMPRESSION $COMPRESS 10040#define ENABLE_COMPRESSION $COMPRESS
10037_ACEOF 10041_ACEOF
10038 10042
10039 10043
10040CIPHER=bf_cbc 10044CIPHER=aes_128_cbc
10041# Check whether --enable-cipher or --disable-cipher was given. 10045# Check whether --enable-cipher or --disable-cipher was given.
10042if test "${enable_cipher+set}" = set; then 10046if test "${enable_cipher+set}" = set; then
10043 enableval="$enable_cipher" 10047 enableval="$enable_cipher"
10044 if test "x$enableval" = xbf ; then CIPHER=bf_cbc ; fi 10048 if test "x$enableval" = xbf ; then CIPHER=bf_cbc ; fi
10045 if test "x$enableval" = xaes-128; then CIPHER=aes_128_cbc; fi 10049 if test "x$enableval" = xaes-128; then CIPHER=aes_128_cbc; fi
10051cat >>confdefs.h <<_ACEOF 10055cat >>confdefs.h <<_ACEOF
10052#define ENABLE_CIPHER EVP_${CIPHER} 10056#define ENABLE_CIPHER EVP_${CIPHER}
10053_ACEOF 10057_ACEOF
10054 10058
10055 10059
10056DIGEST=sha1 10060DIGEST=ripemd160
10057# Check whether --enable-digest or --disable-digest was given. 10061# Check whether --enable-digest or --disable-digest was given.
10058if test "${enable_digest+set}" = set; then 10062if test "${enable_digest+set}" = set; then
10059 enableval="$enable_digest" 10063 enableval="$enable_digest"
10060 if test "x$enableval" = xsha1 ; then DIGEST=sha1 ; fi 10064 if test "x$enableval" = xsha1 ; then DIGEST=sha1 ; fi
10061 if test "x$enableval" = xripemd160; then DIGEST=ripemd160; fi 10065 if test "x$enableval" = xripemd160; then DIGEST=ripemd160; fi
10074fi 10078fi
10075 10079
10076if $CXX -v --help 2>&1 | grep -q fexceptions; then 10080if $CXX -v --help 2>&1 | grep -q fexceptions; then
10077 CXXFLAGS="$CXXFLAGS -fno-exceptions" 10081 CXXFLAGS="$CXXFLAGS -fno-exceptions"
10078fi 10082fi
10079
10080
10081 10083
10082 10084
10083 10085
10084 10086
10085 ac_config_files="$ac_config_files Makefile po/Makefile.in src/Makefile doc/Makefile lib/Makefile m4/Makefile" 10087 ac_config_files="$ac_config_files Makefile po/Makefile.in src/Makefile doc/Makefile lib/Makefile m4/Makefile"
11642_ACEOF 11644_ACEOF
11643chmod +x $CONFIG_STATUS 11645chmod +x $CONFIG_STATUS
11644ac_clean_files=$ac_clean_files_save 11646ac_clean_files=$ac_clean_files_save
11645 11647
11646 11648
11647
11648echo
11649echo "***"
11650echo "*** Configuration Summary"
11651echo "***"
11652echo "*** Kernel Iface: $IFTYPE/$IFSUBTYPE"
11653echo "*** Cipher used: $CIPHER"
11654echo "*** Digest used: $DIGEST"
11655echo "*** HMAC length: $HMAC"
11656echo "*** RAND used: $RAND"
11657echo "*** Max. MTU: $MTU"
11658echo "*** Compression: $COMPRESS"
11659
11660if test "x$DIGEST" = xmd4; then
11661echo "***"
11662echo "*** WARNING: The digest you have chosen ($DIGEST) is known to be insecure"
11663fi
11664
11665if test "$HMAC" -lt 12; then
11666echo "***"
11667echo "*** WARNING: The hmac length you have chosen ($HMAC) is probably insecure"
11668fi
11669
11670if test "$RAND" -lt 8; then
11671echo "***"
11672echo "*** WARNING: The random prefix you have chosen ($RAND) is probably insecure"
11673fi
11674
11675echo "***"
11676
11677echo
11678
11679
11680
11681# configure is writing to config.log, and then calls config.status. 11649# configure is writing to config.log, and then calls config.status.
11682# config.status does its own redirection, appending to config.log. 11650# config.status does its own redirection, appending to config.log.
11683# Unfortunately, on DOS this fails, as config.log is still kept open 11651# Unfortunately, on DOS this fails, as config.log is still kept open
11684# by configure, so config.status won't be able to write to it; its 11652# by configure, so config.status won't be able to write to it; its
11685# output is simply discarded. So we exec the FD to /dev/null, 11653# output is simply discarded. So we exec the FD to /dev/null,
11697 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 11665 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11698 # would make configure fail if this is the last instruction. 11666 # would make configure fail if this is the last instruction.
11699 $ac_cs_success || { (exit 1); exit 1; } 11667 $ac_cs_success || { (exit 1); exit 1; }
11700fi 11668fi
11701 11669
11670
11671echo
11672echo "***"
11673echo "*** Configuration Summary"
11674echo "***"
11675echo "*** Kernel Iface: $IFTYPE/$IFSUBTYPE"
11676echo "*** Cipher used: $CIPHER"
11677echo "*** Digest used: $DIGEST"
11678echo "*** HMAC length: $HMAC"
11679echo "*** RAND used: $RAND"
11680echo "*** Max. MTU: $MTU"
11681
11682echo "***"
11683echo "*** Enable options:"
11684grep ENABLE_ config.h | sed -e 's/^/*** /'
11685
11686if test "x$DIGEST" = xmd4; then
11687echo "***"
11688echo "*** WARNING: The digest you have chosen ($DIGEST) is known to be insecure"
11689fi
11690
11691if test "$HMAC" -lt 12; then
11692echo "***"
11693echo "*** WARNING: The hmac length you have chosen ($HMAC) is probably insecure"
11694fi
11695
11696if test "$RAND" -lt 8; then
11697echo "***"
11698echo "*** WARNING: The random prefix you have chosen ($RAND) is probably insecure"
11699fi
11700
11701echo "***"
11702echo
11703
11704

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines