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

Comparing gvpe/configure (file contents):
Revision 1.13 by pcg, Sat Jan 17 15:43:02 2004 UTC vs.
Revision 1.27 by pcg, Wed Mar 23 17:03:58 2005 UTC

1#! /bin/sh 1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles. 2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.58. 3# Generated by GNU Autoconf 2.59.
4# 4#
5# Copyright (C) 2003 Free Software Foundation, Inc. 5# Copyright (C) 2003 Free Software Foundation, Inc.
6# This configure script is free software; the Free Software Foundation 6# This configure script is free software; the Free Software Foundation
7# gives unlimited permission to copy, distribute and modify it. 7# gives unlimited permission to copy, distribute and modify it.
8## --------------------- ## 8## --------------------- ##
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
867 --disable-dependency-tracking Speeds up one-time builds 867 --disable-dependency-tracking Speeds up one-time builds
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. Working combinations are: 872 Use kernel/net device interface TYPE/SUBTYPE.
873 "native/linux" "tincd/linux" "tincd/freebsd" "tincd/openbsd" "tincd/darwin" "native/cygwin"; Untested 873 Working combinations are: "native/linux"
874 combinations are: "tincd/netbsd" "tincd/solaris" "tincd/mingw"; Broken combinations are: 874 "tincd/linux" "tincd/freebsd" "tincd/openbsd"
875 "tincd/darwin" "native/cygwin"; Untested
876 combinations are: "native/darwin" "tincd/netbsd"
877 "tincd/solaris" "tincd/mingw" "tincd/raw_socket"
878 "tincd/uml_socket"; Broken combinations are:
875 "tincd/cygwin"; The default is to autodetect. 879 "tincd/cygwin"; The default is to autodetect.
876 --enable-rohc 880 --enable-static-daemon enable statically linked daemon.
877 enable robust header compression (rfc3095). 881 --enable-rohc enable robust header compression (rfc3095).
878 --enable-icmp 882 --enable-icmp enable icmp protocol support (default disabled).
879 enable icmp protocol support (default disabled). 883 --enable-tcp enable tcp protocol support (default disabled).
880 --enable-tcp 884 --enable-dns enable dns tunnel protocol support (DOES NOT WORK).
881 enable tcp protocol support (default disabled). 885 --enable-http-proxy enable http proxy connect support (default
882 --enable-http-proxy 886 disabled).
883 enable http proxy connect support (default disabled).
884 --enable-hmac-length=BYTES 887 --enable-hmac-length=BYTES
885 use a hmac of length BYTES bytes (default 888 use a hmac of length BYTES bytes (default 12).
886 12). Allowed values are 4, 8, 12, 16. 889 Allowed values are 4, 8, 12, 16.
887 --enable-rand-length=BYTES 890 --enable-rand-length=BYTES
888 use BYTES bytes of extra randomness (default 8). 891 use BYTES bytes of extra randomness (default 8).
889 Allowed values are 0, 4, 8. 892 Allowed values are 0, 4, 8.
890 --enable-max-mtu=BYTES 893 --enable-max-mtu=BYTES enable mtu sizes upto BYTES bytes (default 1500).
891 enable mtu sizes upto BYTES bytes (default 1500).
892 Use 9100 for jumbogram support. 894 Use 9100 for jumbogram support.
893 --disable-compression 895 --disable-compression Disable compression support.
894 Disable compression support.
895 --enable-cipher
896 Select the symmetric cipher (default "bf"). Must be 896 --enable-cipher Select the symmetric cipher (default "bf"). Must be
897 one of "bf" (blowfish), "aes-128" (rijndael), "aes-192" or "aes-256". 897 one of "bf" (blowfish), "aes-128" (rijndael),
898 --enable-digest 898 "aes-192" or "aes-256".
899 Select the digets algorithm to use (default "sha1"). 899 --enable-digest Select the digets algorithm to use (default "sha1").
900 Must be one of "sha1", "ripemd160", "md5" or "md4" 900 Must be one of "sha1", "ripemd160", "md5" or "md4"
901 (insecure). 901 (insecure).
902 902
903Optional Packages: 903Optional Packages:
904 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 904 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
912 (default: /usr/src/linux) 912 (default: /usr/src/linux)
913 --with-openssl-include=DIR OpenSSL headers directory (without trailing /openssl) 913 --with-openssl-include=DIR OpenSSL headers directory (without trailing /openssl)
914 --with-openssl-lib=DIR OpenSSL library directory 914 --with-openssl-lib=DIR OpenSSL library directory
915 915
916Some influential environment variables: 916Some influential environment variables:
917 CC 917 CC C compiler command
918 C compiler command 918 CFLAGS C compiler flags
919 CFLAGS
920 C compiler flags
921 LDFLAGS
922 linker flags, e.g. -L<lib dir> if you have 919 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
923 libraries in a nonstandard directory <lib dir> 920 nonstandard directory <lib dir>
924 CPPFLAGS
925 C/C++ preprocessor flags, e.g. -I<include dir> if you 921 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
926 have headers in a nonstandard directory <include dir> 922 headers in a nonstandard directory <include dir>
927 CPP 923 CPP C preprocessor
928 C preprocessor
929 CXX
930 C++ compiler command 924 CXX C++ compiler command
931 CXXFLAGS
932 C++ compiler flags 925 CXXFLAGS C++ compiler flags
933 CXXCPP
934 C++ preprocessor 926 CXXCPP C++ preprocessor
935 927
936Use these variables to override the choices made by `configure' or to help 928Use these variables to override the choices made by `configure' or to help
937it to find libraries and programs with nonstandard names/locations. 929it to find libraries and programs with nonstandard names/locations.
938 930
939_ACEOF 931_ACEOF
1042cat >&5 <<_ACEOF 1034cat >&5 <<_ACEOF
1043This file contains any messages produced by compilers while 1035This file contains any messages produced by compilers while
1044running configure, to aid debugging if configure makes a mistake. 1036running configure, to aid debugging if configure makes a mistake.
1045 1037
1046It was created by $as_me, which was 1038It was created by $as_me, which was
1047generated by GNU Autoconf 2.58. Invocation command line was 1039generated by GNU Autoconf 2.59. Invocation command line was
1048 1040
1049 $ $0 $@ 1041 $ $0 $@
1050 1042
1051_ACEOF 1043_ACEOF
1052{ 1044{
1369 1361
1370 1362
1371 1363
1372 1364
1373 1365
1366
1374ac_aux_dir= 1367ac_aux_dir=
1375for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 1368for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1376 if test -f $ac_dir/install-sh; then 1369 if test -f $ac_dir/install-sh; then
1377 ac_aux_dir=$ac_dir 1370 ac_aux_dir=$ac_dir
1378 ac_install_sh="$ac_aux_dir/install-sh -c" 1371 ac_install_sh="$ac_aux_dir/install-sh -c"
1725 fi 1718 fi
1726fi 1719fi
1727 1720
1728 1721
1729# Define the identity of the package. 1722# Define the identity of the package.
1730 PACKAGE=vpe 1723 PACKAGE=gvpe
1731 VERSION=1.4 1724 VERSION=1.9
1732 1725
1733 1726
1734cat >>confdefs.h <<_ACEOF 1727cat >>confdefs.h <<_ACEOF
1735#define PACKAGE "$PACKAGE" 1728#define PACKAGE "$PACKAGE"
1736_ACEOF 1729_ACEOF
6422#define HAVE_FREEBSD 1 6415#define HAVE_FREEBSD 1
6423_ACEOF 6416_ACEOF
6424 6417
6425 ;; 6418 ;;
6426 *darwin*) 6419 *darwin*)
6427 IFTYPE=tincd 6420 IFTYPE=native
6428 IFSUBTYPE=darwin 6421 IFSUBTYPE=darwin
6429 6422
6430cat >>confdefs.h <<\_ACEOF 6423cat >>confdefs.h <<\_ACEOF
6431#define HAVE_DARWIN 1 6424#define HAVE_DARWIN 1
6432_ACEOF 6425_ACEOF
7021 7014
7022done 7015done
7023 7016
7024 7017
7025 7018
7019
7026for ac_header in ext/hash_map 7020for ac_header in ext/hash_map clocale
7027do 7021do
7028as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7022as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7029if eval "test \"\${$as_ac_Header+set}\" = set"; then 7023if eval "test \"\${$as_ac_Header+set}\" = set"; then
7030 echo "$as_me:$LINENO: checking for $ac_header" >&5 7024 echo "$as_me:$LINENO: checking for $ac_header" >&5
7031echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7025echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9686 9680
9687if test "x$openssl_include" != x; then 9681if test "x$openssl_include" != x; then
9688 CXXFLAGS="$CXXFLAGS -I$openssl_include" 9682 CXXFLAGS="$CXXFLAGS -I$openssl_include"
9689fi 9683fi
9690 9684
9685# Check whether --enable-static-daemon or --disable-static-daemon was given.
9686if test "${enable_static_daemon+set}" = set; then
9687 enableval="$enable_static_daemon"
9688 LDFLAGS_DAEMON=-static
9689
9690fi;
9691
9692
9691# Check whether --enable-rohc or --disable-rohc was given. 9693# Check whether --enable-rohc or --disable-rohc was given.
9692if test "${enable_rohc+set}" = set; then 9694if test "${enable_rohc+set}" = set; then
9693 enableval="$enable_rohc" 9695 enableval="$enable_rohc"
9694 9696
9695 echo 9697 echo
9696 echo "**********************************************************************" 9698 echo "**********************************************************************"
9697 echo "**********************************************************************" 9699 echo "**********************************************************************"
9698 echo "**** --enable-rohc not yet implemented *******************************" 9700 echo "**** --enable-rohc is highly experimental, do not use ****************"
9699 echo "**********************************************************************"
9700 echo "**** uuh sorry, I am such an ass, but I didn't find any rfc3095 (ROHC)"
9701 echo "**** implementation to be used in GPL code on the web."
9702 echo "**** so this option is just a fake. Please implement one and send it"
9703 echo "**** to me ;)"
9704 echo "**********************************************************************"
9705 echo "**********************************************************************"
9706 echo "**********************************************************************" 9701 echo "**********************************************************************"
9707 echo "**********************************************************************" 9702 echo "**********************************************************************"
9708 echo 9703 echo
9704 rohc=true
9705
9706cat >>confdefs.h <<_ACEOF
9707#define ENABLE_ROHC 1
9708_ACEOF
9709
9709 9710
9710 9711
9711fi; 9712fi;
9713
9714
9715
9716if test x$rohc = xtrue; then
9717 ROHC_TRUE=
9718 ROHC_FALSE='#'
9719else
9720 ROHC_TRUE='#'
9721 ROHC_FALSE=
9722fi
9723
9712 9724
9713# Check whether --enable-icmp or --disable-icmp was given. 9725# Check whether --enable-icmp or --disable-icmp was given.
9714if test "${enable_icmp+set}" = set; then 9726if test "${enable_icmp+set}" = set; then
9715 enableval="$enable_icmp" 9727 enableval="$enable_icmp"
9716 9728
9730_ACEOF 9742_ACEOF
9731 9743
9732 9744
9733fi; 9745fi;
9734 9746
9747# Check whether --enable-dns or --disable-dns was given.
9748if test "${enable_dns+set}" = set; then
9749 enableval="$enable_dns"
9750
9751 if test "${ac_cv_header_gmp_h+set}" = set; then
9752 echo "$as_me:$LINENO: checking for gmp.h" >&5
9753echo $ECHO_N "checking for gmp.h... $ECHO_C" >&6
9754if test "${ac_cv_header_gmp_h+set}" = set; then
9755 echo $ECHO_N "(cached) $ECHO_C" >&6
9756fi
9757echo "$as_me:$LINENO: result: $ac_cv_header_gmp_h" >&5
9758echo "${ECHO_T}$ac_cv_header_gmp_h" >&6
9759else
9760 # Is the header compilable?
9761echo "$as_me:$LINENO: checking gmp.h usability" >&5
9762echo $ECHO_N "checking gmp.h usability... $ECHO_C" >&6
9763cat >conftest.$ac_ext <<_ACEOF
9764/* confdefs.h. */
9765_ACEOF
9766cat confdefs.h >>conftest.$ac_ext
9767cat >>conftest.$ac_ext <<_ACEOF
9768/* end confdefs.h. */
9769$ac_includes_default
9770#include <gmp.h>
9771_ACEOF
9772rm -f conftest.$ac_objext
9773if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9774 (eval $ac_compile) 2>conftest.er1
9775 ac_status=$?
9776 grep -v '^ *+' conftest.er1 >conftest.err
9777 rm -f conftest.er1
9778 cat conftest.err >&5
9779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9780 (exit $ac_status); } &&
9781 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9783 (eval $ac_try) 2>&5
9784 ac_status=$?
9785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9786 (exit $ac_status); }; } &&
9787 { ac_try='test -s conftest.$ac_objext'
9788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9789 (eval $ac_try) 2>&5
9790 ac_status=$?
9791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9792 (exit $ac_status); }; }; then
9793 ac_header_compiler=yes
9794else
9795 echo "$as_me: failed program was:" >&5
9796sed 's/^/| /' conftest.$ac_ext >&5
9797
9798ac_header_compiler=no
9799fi
9800rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9801echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9802echo "${ECHO_T}$ac_header_compiler" >&6
9803
9804# Is the header present?
9805echo "$as_me:$LINENO: checking gmp.h presence" >&5
9806echo $ECHO_N "checking gmp.h presence... $ECHO_C" >&6
9807cat >conftest.$ac_ext <<_ACEOF
9808/* confdefs.h. */
9809_ACEOF
9810cat confdefs.h >>conftest.$ac_ext
9811cat >>conftest.$ac_ext <<_ACEOF
9812/* end confdefs.h. */
9813#include <gmp.h>
9814_ACEOF
9815if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9816 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9817 ac_status=$?
9818 grep -v '^ *+' conftest.er1 >conftest.err
9819 rm -f conftest.er1
9820 cat conftest.err >&5
9821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9822 (exit $ac_status); } >/dev/null; then
9823 if test -s conftest.err; then
9824 ac_cpp_err=$ac_cxx_preproc_warn_flag
9825 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
9826 else
9827 ac_cpp_err=
9828 fi
9829else
9830 ac_cpp_err=yes
9831fi
9832if test -z "$ac_cpp_err"; then
9833 ac_header_preproc=yes
9834else
9835 echo "$as_me: failed program was:" >&5
9836sed 's/^/| /' conftest.$ac_ext >&5
9837
9838 ac_header_preproc=no
9839fi
9840rm -f conftest.err conftest.$ac_ext
9841echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9842echo "${ECHO_T}$ac_header_preproc" >&6
9843
9844# So? What about this header?
9845case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
9846 yes:no: )
9847 { echo "$as_me:$LINENO: WARNING: gmp.h: accepted by the compiler, rejected by the preprocessor!" >&5
9848echo "$as_me: WARNING: gmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9849 { echo "$as_me:$LINENO: WARNING: gmp.h: proceeding with the compiler's result" >&5
9850echo "$as_me: WARNING: gmp.h: proceeding with the compiler's result" >&2;}
9851 ac_header_preproc=yes
9852 ;;
9853 no:yes:* )
9854 { echo "$as_me:$LINENO: WARNING: gmp.h: present but cannot be compiled" >&5
9855echo "$as_me: WARNING: gmp.h: present but cannot be compiled" >&2;}
9856 { echo "$as_me:$LINENO: WARNING: gmp.h: check for missing prerequisite headers?" >&5
9857echo "$as_me: WARNING: gmp.h: check for missing prerequisite headers?" >&2;}
9858 { echo "$as_me:$LINENO: WARNING: gmp.h: see the Autoconf documentation" >&5
9859echo "$as_me: WARNING: gmp.h: see the Autoconf documentation" >&2;}
9860 { echo "$as_me:$LINENO: WARNING: gmp.h: section \"Present But Cannot Be Compiled\"" >&5
9861echo "$as_me: WARNING: gmp.h: section \"Present But Cannot Be Compiled\"" >&2;}
9862 { echo "$as_me:$LINENO: WARNING: gmp.h: proceeding with the preprocessor's result" >&5
9863echo "$as_me: WARNING: gmp.h: proceeding with the preprocessor's result" >&2;}
9864 { echo "$as_me:$LINENO: WARNING: gmp.h: in the future, the compiler will take precedence" >&5
9865echo "$as_me: WARNING: gmp.h: in the future, the compiler will take precedence" >&2;}
9866 (
9867 cat <<\_ASBOX
9868## ------------------------------------------ ##
9869## Report this to the AC_PACKAGE_NAME lists. ##
9870## ------------------------------------------ ##
9871_ASBOX
9872 ) |
9873 sed "s/^/$as_me: WARNING: /" >&2
9874 ;;
9875esac
9876echo "$as_me:$LINENO: checking for gmp.h" >&5
9877echo $ECHO_N "checking for gmp.h... $ECHO_C" >&6
9878if test "${ac_cv_header_gmp_h+set}" = set; then
9879 echo $ECHO_N "(cached) $ECHO_C" >&6
9880else
9881 ac_cv_header_gmp_h=$ac_header_preproc
9882fi
9883echo "$as_me:$LINENO: result: $ac_cv_header_gmp_h" >&5
9884echo "${ECHO_T}$ac_cv_header_gmp_h" >&6
9885
9886fi
9887if test $ac_cv_header_gmp_h = yes; then
9888 :
9889else
9890 { { echo "$as_me:$LINENO: error: gmp.h not found, required for --enable-dns" >&5
9891echo "$as_me: error: gmp.h not found, required for --enable-dns" >&2;}
9892 { (exit 1); exit 1; }; }
9893fi
9894
9895
9896
9897echo "$as_me:$LINENO: checking for main in -lgmp" >&5
9898echo $ECHO_N "checking for main in -lgmp... $ECHO_C" >&6
9899if test "${ac_cv_lib_gmp_main+set}" = set; then
9900 echo $ECHO_N "(cached) $ECHO_C" >&6
9901else
9902 ac_check_lib_save_LIBS=$LIBS
9903LIBS="-lgmp $LIBS"
9904cat >conftest.$ac_ext <<_ACEOF
9905/* confdefs.h. */
9906_ACEOF
9907cat confdefs.h >>conftest.$ac_ext
9908cat >>conftest.$ac_ext <<_ACEOF
9909/* end confdefs.h. */
9910
9911
9912int
9913main ()
9914{
9915main ();
9916 ;
9917 return 0;
9918}
9919_ACEOF
9920rm -f conftest.$ac_objext conftest$ac_exeext
9921if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9922 (eval $ac_link) 2>conftest.er1
9923 ac_status=$?
9924 grep -v '^ *+' conftest.er1 >conftest.err
9925 rm -f conftest.er1
9926 cat conftest.err >&5
9927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9928 (exit $ac_status); } &&
9929 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9931 (eval $ac_try) 2>&5
9932 ac_status=$?
9933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9934 (exit $ac_status); }; } &&
9935 { ac_try='test -s conftest$ac_exeext'
9936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9937 (eval $ac_try) 2>&5
9938 ac_status=$?
9939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9940 (exit $ac_status); }; }; then
9941 ac_cv_lib_gmp_main=yes
9942else
9943 echo "$as_me: failed program was:" >&5
9944sed 's/^/| /' conftest.$ac_ext >&5
9945
9946ac_cv_lib_gmp_main=no
9947fi
9948rm -f conftest.err conftest.$ac_objext \
9949 conftest$ac_exeext conftest.$ac_ext
9950LIBS=$ac_check_lib_save_LIBS
9951fi
9952echo "$as_me:$LINENO: result: $ac_cv_lib_gmp_main" >&5
9953echo "${ECHO_T}$ac_cv_lib_gmp_main" >&6
9954if test $ac_cv_lib_gmp_main = yes; then
9955 cat >>confdefs.h <<_ACEOF
9956#define HAVE_LIBGMP 1
9957_ACEOF
9958
9959 LIBS="-lgmp $LIBS"
9960
9961else
9962 { { echo "$as_me:$LINENO: error: libgmp not found, required for --enable-dns" >&5
9963echo "$as_me: error: libgmp not found, required for --enable-dns" >&2;}
9964 { (exit 1); exit 1; }; }
9965fi
9966
9967
9968
9969cat >>confdefs.h <<_ACEOF
9970#define ENABLE_DNS 1
9971_ACEOF
9972
9973
9974
9975fi;
9976
9735# Check whether --enable-http-proxy or --disable-http-proxy was given. 9977# Check whether --enable-http-proxy or --disable-http-proxy was given.
9736if test "${enable_http_proxy+set}" = set; then 9978if test "${enable_http_proxy+set}" = set; then
9737 enableval="$enable_http_proxy" 9979 enableval="$enable_http_proxy"
9738 9980
9739cat >>confdefs.h <<_ACEOF 9981cat >>confdefs.h <<_ACEOF
9741_ACEOF 9983_ACEOF
9742 9984
9743 9985
9744fi; 9986fi;
9745 9987
9988HMAC=12
9746HMAC=8 # Check whether --enable-hmac-length or --disable-hmac-length was given. 9989# Check whether --enable-hmac-length or --disable-hmac-length was given.
9747if test "${enable_hmac_length+set}" = set; then 9990if test "${enable_hmac_length+set}" = set; then
9748 enableval="$enable_hmac_length" 9991 enableval="$enable_hmac_length"
9749 HMAC=$enableval 9992 HMAC=$enableval
9750 9993
9751fi; 9994fi;
9753cat >>confdefs.h <<_ACEOF 9996cat >>confdefs.h <<_ACEOF
9754#define HMACLENGTH $HMAC 9997#define HMACLENGTH $HMAC
9755_ACEOF 9998_ACEOF
9756 9999
9757 10000
10001RAND=8
9758RAND=8 # Check whether --enable-rand-length or --disable-rand-length was given. 10002# Check whether --enable-rand-length or --disable-rand-length was given.
9759if test "${enable_rand_length+set}" = set; then 10003if test "${enable_rand_length+set}" = set; then
9760 enableval="$enable_rand_length" 10004 enableval="$enable_rand_length"
9761 RAND=$enableval 10005 RAND=$enableval
9762 10006
9763fi; 10007fi;
9765cat >>confdefs.h <<_ACEOF 10009cat >>confdefs.h <<_ACEOF
9766#define RAND_SIZE $RAND 10010#define RAND_SIZE $RAND
9767_ACEOF 10011_ACEOF
9768 10012
9769 10013
10014MTU=1500
9770MTU=1500 # Check whether --enable-mtu or --disable-mtu was given. 10015# Check whether --enable-mtu or --disable-mtu was given.
9771if test "${enable_mtu+set}" = set; then 10016if test "${enable_mtu+set}" = set; then
9772 enableval="$enable_mtu" 10017 enableval="$enable_mtu"
9773 MTU=$enableval 10018 MTU=$enableval
9774 10019
9775fi; 10020fi;
9838 10083
9839 10084
9840 10085
9841 10086
9842 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"
10088
9843cat >confcache <<\_ACEOF 10089cat >confcache <<\_ACEOF
9844# This file is a shell script that caches the results of configure 10090# This file is a shell script that caches the results of configure
9845# tests run on this system so they can be shared between configure 10091# tests run on this system so they can be shared between configure
9846# scripts and configure runs, see configure's option --config-cache. 10092# scripts and configure runs, see configure's option --config-cache.
9847# It is not useful on other systems. If it contains results you don't 10093# It is not useful on other systems. If it contains results you don't
9961fi 10207fi
9962if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 10208if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
9963 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. 10209 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
9964Usually this means the macro was only invoked conditionally." >&5 10210Usually this means the macro was only invoked conditionally." >&5
9965echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. 10211echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
10212Usually this means the macro was only invoked conditionally." >&2;}
10213 { (exit 1); exit 1; }; }
10214fi
10215if test -z "${ROHC_TRUE}" && test -z "${ROHC_FALSE}"; then
10216 { { echo "$as_me:$LINENO: error: conditional \"ROHC\" was never defined.
10217Usually this means the macro was only invoked conditionally." >&5
10218echo "$as_me: error: conditional \"ROHC\" was never defined.
9966Usually this means the macro was only invoked conditionally." >&2;} 10219Usually this means the macro was only invoked conditionally." >&2;}
9967 { (exit 1); exit 1; }; } 10220 { (exit 1); exit 1; }; }
9968fi 10221fi
9969 10222
9970: ${CONFIG_STATUS=./config.status} 10223: ${CONFIG_STATUS=./config.status}
10236_ASBOX 10489_ASBOX
10237} >&5 10490} >&5
10238cat >&5 <<_CSEOF 10491cat >&5 <<_CSEOF
10239 10492
10240This file was extended by $as_me, which was 10493This file was extended by $as_me, which was
10241generated by GNU Autoconf 2.58. Invocation command line was 10494generated by GNU Autoconf 2.59. Invocation command line was
10242 10495
10243 CONFIG_FILES = $CONFIG_FILES 10496 CONFIG_FILES = $CONFIG_FILES
10244 CONFIG_HEADERS = $CONFIG_HEADERS 10497 CONFIG_HEADERS = $CONFIG_HEADERS
10245 CONFIG_LINKS = $CONFIG_LINKS 10498 CONFIG_LINKS = $CONFIG_LINKS
10246 CONFIG_COMMANDS = $CONFIG_COMMANDS 10499 CONFIG_COMMANDS = $CONFIG_COMMANDS
10299_ACEOF 10552_ACEOF
10300 10553
10301cat >>$CONFIG_STATUS <<_ACEOF 10554cat >>$CONFIG_STATUS <<_ACEOF
10302ac_cs_version="\\ 10555ac_cs_version="\\
10303config.status 10556config.status
10304configured by $0, generated by GNU Autoconf 2.58, 10557configured by $0, generated by GNU Autoconf 2.59,
10305 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 10558 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
10306 10559
10307Copyright (C) 2003 Free Software Foundation, Inc. 10560Copyright (C) 2003 Free Software Foundation, Inc.
10308This config.status script is free software; the Free Software Foundation 10561This config.status script is free software; the Free Software Foundation
10309gives unlimited permission to copy, distribute and modify it." 10562gives unlimited permission to copy, distribute and modify it."
10588s,@IFSUBTYPE@,$IFSUBTYPE,;t t 10841s,@IFSUBTYPE@,$IFSUBTYPE,;t t
10589s,@CXXCPP@,$CXXCPP,;t t 10842s,@CXXCPP@,$CXXCPP,;t t
10590s,@ALLOCA@,$ALLOCA,;t t 10843s,@ALLOCA@,$ALLOCA,;t t
10591s,@LINUX_IF_TUN_H@,$LINUX_IF_TUN_H,;t t 10844s,@LINUX_IF_TUN_H@,$LINUX_IF_TUN_H,;t t
10592s,@HAVE_TUNTAP@,$HAVE_TUNTAP,;t t 10845s,@HAVE_TUNTAP@,$HAVE_TUNTAP,;t t
10846s,@LDFLAGS_DAEMON@,$LDFLAGS_DAEMON,;t t
10847s,@ROHC_TRUE@,$ROHC_TRUE,;t t
10848s,@ROHC_FALSE@,$ROHC_FALSE,;t t
10593s,@INCLUDES@,$INCLUDES,;t t 10849s,@INCLUDES@,$INCLUDES,;t t
10594s,@LIBOBJS@,$LIBOBJS,;t t 10850s,@LIBOBJS@,$LIBOBJS,;t t
10595s,@LTLIBOBJS@,$LTLIBOBJS,;t t 10851s,@LTLIBOBJS@,$LTLIBOBJS,;t t
10596CEOF 10852CEOF
10597 10853
11400echo "*** Digest used: $DIGEST" 11656echo "*** Digest used: $DIGEST"
11401echo "*** HMAC length: $HMAC" 11657echo "*** HMAC length: $HMAC"
11402echo "*** RAND used: $RAND" 11658echo "*** RAND used: $RAND"
11403echo "*** Max. MTU: $MTU" 11659echo "*** Max. MTU: $MTU"
11404echo "*** Compression: $COMPRESS" 11660echo "*** Compression: $COMPRESS"
11661
11662if test "x$DIGEST" = xmd4; then
11405echo "***" 11663echo "***"
11406
11407if test "x$DIGEST" = xmd4; then
11408echo "*** WARNING"
11409echo "*** The digest you have chosen ($DIGEST) is known to be insecure" 11664echo "*** WARNING: The digest you have chosen ($DIGEST) is known to be insecure"
11665fi
11666
11667if test "$HMAC" -lt 12; then
11410echo "***" 11668echo "***"
11669echo "*** WARNING: The hmac length you have chosen ($HMAC) is probably insecure"
11411fi 11670fi
11671
11672if test "$RAND" -lt 8; then
11673echo "***"
11674echo "*** WARNING: The random prefix you have chosen ($RAND) is probably insecure"
11675fi
11676
11677echo "***"
11412 11678
11413echo 11679echo
11414 11680
11415 11681
11416 11682

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines