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

Comparing gvpe/configure (file contents):
Revision 1.14 by pcg, Tue Jan 27 06:05:02 2004 UTC vs.
Revision 1.29 by pcg, Fri Mar 25 16:05:21 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>
307#endif 307#endif
308#if HAVE_UNISTD_H 308#if HAVE_UNISTD_H
309# include <unistd.h> 309# include <unistd.h>
310#endif" 310#endif"
311 311
312ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT MKINSTALLDIRS MSGFMT GMSGFMT XGETTEXT MSGMERGE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE USE_NLS LIBICONV LTLIBICONV INTLLIBS LIBINTL LTLIBINTL POSUB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE EGREP LN_S RANLIB ac_ct_RANLIB IFTYPE IFSUBTYPE CXXCPP ALLOCA LINUX_IF_TUN_H HAVE_TUNTAP INCLUDES LIBOBJS LTLIBOBJS' 312ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT MKINSTALLDIRS MSGFMT GMSGFMT XGETTEXT MSGMERGE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE USE_NLS LIBICONV LTLIBICONV INTLLIBS LIBINTL LTLIBINTL POSUB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE EGREP LN_S RANLIB ac_ct_RANLIB IFTYPE IFSUBTYPE CXXCPP ALLOCA LINUX_IF_TUN_H HAVE_TUNTAP LDFLAGS_DAEMON ROHC_TRUE ROHC_FALSE INCLUDES LIBOBJS LTLIBOBJS'
313ac_subst_files='' 313ac_subst_files=''
314 314
315# Initialize some variables set by options. 315# Initialize some variables set by options.
316ac_init_help= 316ac_init_help=
317ac_init_version=false 317ac_init_version=false
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.
881 --enable-static-daemon enable statically linked daemon.
879 --enable-rohc enable robust header compression (rfc3095). 882 --enable-rohc enable robust header compression (rfc3095).
880 --enable-icmp enable icmp protocol support (default disabled). 883 --enable-icmp enable icmp protocol support (default disabled).
881 --enable-tcp enable tcp protocol support (default disabled). 884 --enable-tcp enable tcp protocol support (default disabled).
885 --enable-dns enable dns tunnel protocol support (DOES NOT WORK).
882 --enable-http-proxy enable http proxy connect support (default 886 --enable-http-proxy enable http proxy connect support (default
883 disabled). 887 disabled).
884 --enable-hmac-length=BYTES 888 --enable-hmac-length=BYTES
885 use a hmac of length BYTES bytes (default 12). 889 use a hmac of length BYTES bytes (default 12).
886 Allowed values are 4, 8, 12, 16. 890 Allowed values are 4, 8, 12, 16.
1358 1362
1359 1363
1360 1364
1361 1365
1362 1366
1367
1363ac_aux_dir= 1368ac_aux_dir=
1364for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 1369for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1365 if test -f $ac_dir/install-sh; then 1370 if test -f $ac_dir/install-sh; then
1366 ac_aux_dir=$ac_dir 1371 ac_aux_dir=$ac_dir
1367 ac_install_sh="$ac_aux_dir/install-sh -c" 1372 ac_install_sh="$ac_aux_dir/install-sh -c"
1714 fi 1719 fi
1715fi 1720fi
1716 1721
1717 1722
1718# Define the identity of the package. 1723# Define the identity of the package.
1719 PACKAGE=vpe 1724 PACKAGE=gvpe
1720 VERSION=1.5 1725 VERSION=1.9
1721 1726
1722 1727
1723cat >>confdefs.h <<_ACEOF 1728cat >>confdefs.h <<_ACEOF
1724#define PACKAGE "$PACKAGE" 1729#define PACKAGE "$PACKAGE"
1725_ACEOF 1730_ACEOF
6411#define HAVE_FREEBSD 1 6416#define HAVE_FREEBSD 1
6412_ACEOF 6417_ACEOF
6413 6418
6414 ;; 6419 ;;
6415 *darwin*) 6420 *darwin*)
6416 IFTYPE=tincd 6421 IFTYPE=native
6417 IFSUBTYPE=darwin 6422 IFSUBTYPE=darwin
6418 6423
6419cat >>confdefs.h <<\_ACEOF 6424cat >>confdefs.h <<\_ACEOF
6420#define HAVE_DARWIN 1 6425#define HAVE_DARWIN 1
6421_ACEOF 6426_ACEOF
7010 7015
7011done 7016done
7012 7017
7013 7018
7014 7019
7020
7015for ac_header in ext/hash_map 7021for ac_header in ext/hash_map clocale
7016do 7022do
7017as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7023as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7018if eval "test \"\${$as_ac_Header+set}\" = set"; then 7024if eval "test \"\${$as_ac_Header+set}\" = set"; then
7019 echo "$as_me:$LINENO: checking for $ac_header" >&5 7025 echo "$as_me:$LINENO: checking for $ac_header" >&5
7020echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7026echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9675 9681
9676if test "x$openssl_include" != x; then 9682if test "x$openssl_include" != x; then
9677 CXXFLAGS="$CXXFLAGS -I$openssl_include" 9683 CXXFLAGS="$CXXFLAGS -I$openssl_include"
9678fi 9684fi
9679 9685
9686# Check whether --enable-static-daemon or --disable-static-daemon was given.
9687if test "${enable_static_daemon+set}" = set; then
9688 enableval="$enable_static_daemon"
9689 LDFLAGS_DAEMON=-static
9690
9691fi;
9692
9693
9680# Check whether --enable-rohc or --disable-rohc was given. 9694# Check whether --enable-rohc or --disable-rohc was given.
9681if test "${enable_rohc+set}" = set; then 9695if test "${enable_rohc+set}" = set; then
9682 enableval="$enable_rohc" 9696 enableval="$enable_rohc"
9683 9697
9684 echo 9698 echo
9685 echo "**********************************************************************" 9699 echo "**********************************************************************"
9686 echo "**********************************************************************" 9700 echo "**********************************************************************"
9687 echo "**** --enable-rohc not yet implemented *******************************" 9701 echo "**** --enable-rohc is highly experimental, do not use ****************"
9688 echo "**********************************************************************"
9689 echo "**** uuh sorry, I am such an ass, but I didn't find any rfc3095 (ROHC)"
9690 echo "**** implementation to be used in GPL code on the web."
9691 echo "**** so this option is just a fake. Please implement one and send it"
9692 echo "**** to me ;)"
9693 echo "**********************************************************************"
9694 echo "**********************************************************************"
9695 echo "**********************************************************************" 9702 echo "**********************************************************************"
9696 echo "**********************************************************************" 9703 echo "**********************************************************************"
9697 echo 9704 echo
9705 rohc=true
9706
9707cat >>confdefs.h <<_ACEOF
9708#define ENABLE_ROHC 1
9709_ACEOF
9710
9698 9711
9699 9712
9700fi; 9713fi;
9714
9715
9716
9717if test x$rohc = xtrue; then
9718 ROHC_TRUE=
9719 ROHC_FALSE='#'
9720else
9721 ROHC_TRUE='#'
9722 ROHC_FALSE=
9723fi
9724
9701 9725
9702# Check whether --enable-icmp or --disable-icmp was given. 9726# Check whether --enable-icmp or --disable-icmp was given.
9703if test "${enable_icmp+set}" = set; then 9727if test "${enable_icmp+set}" = set; then
9704 enableval="$enable_icmp" 9728 enableval="$enable_icmp"
9705 9729
9719_ACEOF 9743_ACEOF
9720 9744
9721 9745
9722fi; 9746fi;
9723 9747
9748# Check whether --enable-dns or --disable-dns was given.
9749if test "${enable_dns+set}" = set; then
9750 enableval="$enable_dns"
9751
9752 if test "${ac_cv_header_gmp_h+set}" = set; then
9753 echo "$as_me:$LINENO: checking for gmp.h" >&5
9754echo $ECHO_N "checking for gmp.h... $ECHO_C" >&6
9755if test "${ac_cv_header_gmp_h+set}" = set; then
9756 echo $ECHO_N "(cached) $ECHO_C" >&6
9757fi
9758echo "$as_me:$LINENO: result: $ac_cv_header_gmp_h" >&5
9759echo "${ECHO_T}$ac_cv_header_gmp_h" >&6
9760else
9761 # Is the header compilable?
9762echo "$as_me:$LINENO: checking gmp.h usability" >&5
9763echo $ECHO_N "checking gmp.h usability... $ECHO_C" >&6
9764cat >conftest.$ac_ext <<_ACEOF
9765/* confdefs.h. */
9766_ACEOF
9767cat confdefs.h >>conftest.$ac_ext
9768cat >>conftest.$ac_ext <<_ACEOF
9769/* end confdefs.h. */
9770$ac_includes_default
9771#include <gmp.h>
9772_ACEOF
9773rm -f conftest.$ac_objext
9774if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9775 (eval $ac_compile) 2>conftest.er1
9776 ac_status=$?
9777 grep -v '^ *+' conftest.er1 >conftest.err
9778 rm -f conftest.er1
9779 cat conftest.err >&5
9780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9781 (exit $ac_status); } &&
9782 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9784 (eval $ac_try) 2>&5
9785 ac_status=$?
9786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9787 (exit $ac_status); }; } &&
9788 { ac_try='test -s conftest.$ac_objext'
9789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9790 (eval $ac_try) 2>&5
9791 ac_status=$?
9792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9793 (exit $ac_status); }; }; then
9794 ac_header_compiler=yes
9795else
9796 echo "$as_me: failed program was:" >&5
9797sed 's/^/| /' conftest.$ac_ext >&5
9798
9799ac_header_compiler=no
9800fi
9801rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9802echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9803echo "${ECHO_T}$ac_header_compiler" >&6
9804
9805# Is the header present?
9806echo "$as_me:$LINENO: checking gmp.h presence" >&5
9807echo $ECHO_N "checking gmp.h presence... $ECHO_C" >&6
9808cat >conftest.$ac_ext <<_ACEOF
9809/* confdefs.h. */
9810_ACEOF
9811cat confdefs.h >>conftest.$ac_ext
9812cat >>conftest.$ac_ext <<_ACEOF
9813/* end confdefs.h. */
9814#include <gmp.h>
9815_ACEOF
9816if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9817 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9818 ac_status=$?
9819 grep -v '^ *+' conftest.er1 >conftest.err
9820 rm -f conftest.er1
9821 cat conftest.err >&5
9822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9823 (exit $ac_status); } >/dev/null; then
9824 if test -s conftest.err; then
9825 ac_cpp_err=$ac_cxx_preproc_warn_flag
9826 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
9827 else
9828 ac_cpp_err=
9829 fi
9830else
9831 ac_cpp_err=yes
9832fi
9833if test -z "$ac_cpp_err"; then
9834 ac_header_preproc=yes
9835else
9836 echo "$as_me: failed program was:" >&5
9837sed 's/^/| /' conftest.$ac_ext >&5
9838
9839 ac_header_preproc=no
9840fi
9841rm -f conftest.err conftest.$ac_ext
9842echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9843echo "${ECHO_T}$ac_header_preproc" >&6
9844
9845# So? What about this header?
9846case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
9847 yes:no: )
9848 { echo "$as_me:$LINENO: WARNING: gmp.h: accepted by the compiler, rejected by the preprocessor!" >&5
9849echo "$as_me: WARNING: gmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9850 { echo "$as_me:$LINENO: WARNING: gmp.h: proceeding with the compiler's result" >&5
9851echo "$as_me: WARNING: gmp.h: proceeding with the compiler's result" >&2;}
9852 ac_header_preproc=yes
9853 ;;
9854 no:yes:* )
9855 { echo "$as_me:$LINENO: WARNING: gmp.h: present but cannot be compiled" >&5
9856echo "$as_me: WARNING: gmp.h: present but cannot be compiled" >&2;}
9857 { echo "$as_me:$LINENO: WARNING: gmp.h: check for missing prerequisite headers?" >&5
9858echo "$as_me: WARNING: gmp.h: check for missing prerequisite headers?" >&2;}
9859 { echo "$as_me:$LINENO: WARNING: gmp.h: see the Autoconf documentation" >&5
9860echo "$as_me: WARNING: gmp.h: see the Autoconf documentation" >&2;}
9861 { echo "$as_me:$LINENO: WARNING: gmp.h: section \"Present But Cannot Be Compiled\"" >&5
9862echo "$as_me: WARNING: gmp.h: section \"Present But Cannot Be Compiled\"" >&2;}
9863 { echo "$as_me:$LINENO: WARNING: gmp.h: proceeding with the preprocessor's result" >&5
9864echo "$as_me: WARNING: gmp.h: proceeding with the preprocessor's result" >&2;}
9865 { echo "$as_me:$LINENO: WARNING: gmp.h: in the future, the compiler will take precedence" >&5
9866echo "$as_me: WARNING: gmp.h: in the future, the compiler will take precedence" >&2;}
9867 (
9868 cat <<\_ASBOX
9869## ------------------------------------------ ##
9870## Report this to the AC_PACKAGE_NAME lists. ##
9871## ------------------------------------------ ##
9872_ASBOX
9873 ) |
9874 sed "s/^/$as_me: WARNING: /" >&2
9875 ;;
9876esac
9877echo "$as_me:$LINENO: checking for gmp.h" >&5
9878echo $ECHO_N "checking for gmp.h... $ECHO_C" >&6
9879if test "${ac_cv_header_gmp_h+set}" = set; then
9880 echo $ECHO_N "(cached) $ECHO_C" >&6
9881else
9882 ac_cv_header_gmp_h=$ac_header_preproc
9883fi
9884echo "$as_me:$LINENO: result: $ac_cv_header_gmp_h" >&5
9885echo "${ECHO_T}$ac_cv_header_gmp_h" >&6
9886
9887fi
9888if test $ac_cv_header_gmp_h = yes; then
9889 :
9890else
9891 { { echo "$as_me:$LINENO: error: gmp.h not found, required for --enable-dns" >&5
9892echo "$as_me: error: gmp.h not found, required for --enable-dns" >&2;}
9893 { (exit 1); exit 1; }; }
9894fi
9895
9896
9897
9898echo "$as_me:$LINENO: checking for main in -lgmp" >&5
9899echo $ECHO_N "checking for main in -lgmp... $ECHO_C" >&6
9900if test "${ac_cv_lib_gmp_main+set}" = set; then
9901 echo $ECHO_N "(cached) $ECHO_C" >&6
9902else
9903 ac_check_lib_save_LIBS=$LIBS
9904LIBS="-lgmp $LIBS"
9905cat >conftest.$ac_ext <<_ACEOF
9906/* confdefs.h. */
9907_ACEOF
9908cat confdefs.h >>conftest.$ac_ext
9909cat >>conftest.$ac_ext <<_ACEOF
9910/* end confdefs.h. */
9911
9912
9913int
9914main ()
9915{
9916main ();
9917 ;
9918 return 0;
9919}
9920_ACEOF
9921rm -f conftest.$ac_objext conftest$ac_exeext
9922if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9923 (eval $ac_link) 2>conftest.er1
9924 ac_status=$?
9925 grep -v '^ *+' conftest.er1 >conftest.err
9926 rm -f conftest.er1
9927 cat conftest.err >&5
9928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9929 (exit $ac_status); } &&
9930 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9932 (eval $ac_try) 2>&5
9933 ac_status=$?
9934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9935 (exit $ac_status); }; } &&
9936 { ac_try='test -s conftest$ac_exeext'
9937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9938 (eval $ac_try) 2>&5
9939 ac_status=$?
9940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9941 (exit $ac_status); }; }; then
9942 ac_cv_lib_gmp_main=yes
9943else
9944 echo "$as_me: failed program was:" >&5
9945sed 's/^/| /' conftest.$ac_ext >&5
9946
9947ac_cv_lib_gmp_main=no
9948fi
9949rm -f conftest.err conftest.$ac_objext \
9950 conftest$ac_exeext conftest.$ac_ext
9951LIBS=$ac_check_lib_save_LIBS
9952fi
9953echo "$as_me:$LINENO: result: $ac_cv_lib_gmp_main" >&5
9954echo "${ECHO_T}$ac_cv_lib_gmp_main" >&6
9955if test $ac_cv_lib_gmp_main = yes; then
9956 cat >>confdefs.h <<_ACEOF
9957#define HAVE_LIBGMP 1
9958_ACEOF
9959
9960 LIBS="-lgmp $LIBS"
9961
9962else
9963 { { echo "$as_me:$LINENO: error: libgmp not found, required for --enable-dns" >&5
9964echo "$as_me: error: libgmp not found, required for --enable-dns" >&2;}
9965 { (exit 1); exit 1; }; }
9966fi
9967
9968
9969
9970cat >>confdefs.h <<_ACEOF
9971#define ENABLE_DNS 1
9972_ACEOF
9973
9974
9975
9976fi;
9977
9724# Check whether --enable-http-proxy or --disable-http-proxy was given. 9978# Check whether --enable-http-proxy or --disable-http-proxy was given.
9725if test "${enable_http_proxy+set}" = set; then 9979if test "${enable_http_proxy+set}" = set; then
9726 enableval="$enable_http_proxy" 9980 enableval="$enable_http_proxy"
9727 9981
9728cat >>confdefs.h <<_ACEOF 9982cat >>confdefs.h <<_ACEOF
9730_ACEOF 9984_ACEOF
9731 9985
9732 9986
9733fi; 9987fi;
9734 9988
9989HMAC=12
9735HMAC=8 # Check whether --enable-hmac-length or --disable-hmac-length was given. 9990# Check whether --enable-hmac-length or --disable-hmac-length was given.
9736if test "${enable_hmac_length+set}" = set; then 9991if test "${enable_hmac_length+set}" = set; then
9737 enableval="$enable_hmac_length" 9992 enableval="$enable_hmac_length"
9738 HMAC=$enableval 9993 HMAC=$enableval
9739 9994
9740fi; 9995fi;
9742cat >>confdefs.h <<_ACEOF 9997cat >>confdefs.h <<_ACEOF
9743#define HMACLENGTH $HMAC 9998#define HMACLENGTH $HMAC
9744_ACEOF 9999_ACEOF
9745 10000
9746 10001
10002RAND=8
9747RAND=8 # Check whether --enable-rand-length or --disable-rand-length was given. 10003# Check whether --enable-rand-length or --disable-rand-length was given.
9748if test "${enable_rand_length+set}" = set; then 10004if test "${enable_rand_length+set}" = set; then
9749 enableval="$enable_rand_length" 10005 enableval="$enable_rand_length"
9750 RAND=$enableval 10006 RAND=$enableval
9751 10007
9752fi; 10008fi;
9754cat >>confdefs.h <<_ACEOF 10010cat >>confdefs.h <<_ACEOF
9755#define RAND_SIZE $RAND 10011#define RAND_SIZE $RAND
9756_ACEOF 10012_ACEOF
9757 10013
9758 10014
10015MTU=1500
9759MTU=1500 # Check whether --enable-mtu or --disable-mtu was given. 10016# Check whether --enable-mtu or --disable-mtu was given.
9760if test "${enable_mtu+set}" = set; then 10017if test "${enable_mtu+set}" = set; then
9761 enableval="$enable_mtu" 10018 enableval="$enable_mtu"
9762 MTU=$enableval 10019 MTU=$enableval
9763 10020
9764fi; 10021fi;
9827 10084
9828 10085
9829 10086
9830 10087
9831 ac_config_files="$ac_config_files Makefile po/Makefile.in src/Makefile doc/Makefile lib/Makefile m4/Makefile" 10088 ac_config_files="$ac_config_files Makefile po/Makefile.in src/Makefile doc/Makefile lib/Makefile m4/Makefile"
10089
9832cat >confcache <<\_ACEOF 10090cat >confcache <<\_ACEOF
9833# This file is a shell script that caches the results of configure 10091# This file is a shell script that caches the results of configure
9834# tests run on this system so they can be shared between configure 10092# tests run on this system so they can be shared between configure
9835# scripts and configure runs, see configure's option --config-cache. 10093# scripts and configure runs, see configure's option --config-cache.
9836# It is not useful on other systems. If it contains results you don't 10094# It is not useful on other systems. If it contains results you don't
9950fi 10208fi
9951if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 10209if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
9952 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. 10210 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
9953Usually this means the macro was only invoked conditionally." >&5 10211Usually this means the macro was only invoked conditionally." >&5
9954echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. 10212echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
10213Usually this means the macro was only invoked conditionally." >&2;}
10214 { (exit 1); exit 1; }; }
10215fi
10216if test -z "${ROHC_TRUE}" && test -z "${ROHC_FALSE}"; then
10217 { { echo "$as_me:$LINENO: error: conditional \"ROHC\" was never defined.
10218Usually this means the macro was only invoked conditionally." >&5
10219echo "$as_me: error: conditional \"ROHC\" was never defined.
9955Usually this means the macro was only invoked conditionally." >&2;} 10220Usually this means the macro was only invoked conditionally." >&2;}
9956 { (exit 1); exit 1; }; } 10221 { (exit 1); exit 1; }; }
9957fi 10222fi
9958 10223
9959: ${CONFIG_STATUS=./config.status} 10224: ${CONFIG_STATUS=./config.status}
10577s,@IFSUBTYPE@,$IFSUBTYPE,;t t 10842s,@IFSUBTYPE@,$IFSUBTYPE,;t t
10578s,@CXXCPP@,$CXXCPP,;t t 10843s,@CXXCPP@,$CXXCPP,;t t
10579s,@ALLOCA@,$ALLOCA,;t t 10844s,@ALLOCA@,$ALLOCA,;t t
10580s,@LINUX_IF_TUN_H@,$LINUX_IF_TUN_H,;t t 10845s,@LINUX_IF_TUN_H@,$LINUX_IF_TUN_H,;t t
10581s,@HAVE_TUNTAP@,$HAVE_TUNTAP,;t t 10846s,@HAVE_TUNTAP@,$HAVE_TUNTAP,;t t
10847s,@LDFLAGS_DAEMON@,$LDFLAGS_DAEMON,;t t
10848s,@ROHC_TRUE@,$ROHC_TRUE,;t t
10849s,@ROHC_FALSE@,$ROHC_FALSE,;t t
10582s,@INCLUDES@,$INCLUDES,;t t 10850s,@INCLUDES@,$INCLUDES,;t t
10583s,@LIBOBJS@,$LIBOBJS,;t t 10851s,@LIBOBJS@,$LIBOBJS,;t t
10584s,@LTLIBOBJS@,$LTLIBOBJS,;t t 10852s,@LTLIBOBJS@,$LTLIBOBJS,;t t
10585CEOF 10853CEOF
10586 10854
11389echo "*** Digest used: $DIGEST" 11657echo "*** Digest used: $DIGEST"
11390echo "*** HMAC length: $HMAC" 11658echo "*** HMAC length: $HMAC"
11391echo "*** RAND used: $RAND" 11659echo "*** RAND used: $RAND"
11392echo "*** Max. MTU: $MTU" 11660echo "*** Max. MTU: $MTU"
11393echo "*** Compression: $COMPRESS" 11661echo "*** Compression: $COMPRESS"
11662
11663if test "x$DIGEST" = xmd4; then
11394echo "***" 11664echo "***"
11395
11396if test "x$DIGEST" = xmd4; then
11397echo "*** WARNING"
11398echo "*** The digest you have chosen ($DIGEST) is known to be insecure" 11665echo "*** WARNING: The digest you have chosen ($DIGEST) is known to be insecure"
11666fi
11667
11668if test "$HMAC" -lt 12; then
11399echo "***" 11669echo "***"
11670echo "*** WARNING: The hmac length you have chosen ($HMAC) is probably insecure"
11400fi 11671fi
11672
11673if test "$RAND" -lt 8; then
11674echo "***"
11675echo "*** WARNING: The random prefix you have chosen ($RAND) is probably insecure"
11676fi
11677
11678echo "***"
11401 11679
11402echo 11680echo
11403 11681
11404 11682
11405 11683

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines