… | |
… | |
269 | PACKAGE_TARNAME= |
269 | PACKAGE_TARNAME= |
270 | PACKAGE_VERSION= |
270 | PACKAGE_VERSION= |
271 | PACKAGE_STRING= |
271 | PACKAGE_STRING= |
272 | PACKAGE_BUGREPORT= |
272 | PACKAGE_BUGREPORT= |
273 | |
273 | |
274 | ac_unique_file="src/vped.C" |
274 | ac_unique_file="src/gvpe.C" |
275 | # Factoring default headers for most tests. |
275 | # Factoring default headers for most tests. |
276 | ac_includes_default="\ |
276 | ac_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 | |
312 | ac_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' |
312 | ac_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' |
313 | ac_subst_files='' |
313 | ac_subst_files='' |
314 | |
314 | |
315 | # Initialize some variables set by options. |
315 | # Initialize some variables set by options. |
316 | ac_init_help= |
316 | ac_init_help= |
317 | ac_init_version=false |
317 | ac_init_version=false |
… | |
… | |
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: "native/linux" |
874 | "tincd/linux" "tincd/freebsd" "tincd/openbsd" |
874 | "tincd/linux" "tincd/freebsd" "tincd/openbsd" |
875 | "tincd/darwin" "native/cygwin"; Untested |
875 | "tincd/darwin" "native/cygwin"; Untested |
876 | combinations are: "tincd/netbsd" "tincd/solaris" |
876 | combinations are: "native/darwin" "tincd/netbsd" |
|
|
877 | "tincd/solaris" "tincd/mingw" "tincd/raw_socket" |
877 | "tincd/mingw"; Broken combinations are: |
878 | "tincd/uml_socket"; Broken combinations are: |
878 | "tincd/cygwin"; The default is to autodetect. |
879 | "tincd/cygwin"; The default is to autodetect. |
|
|
880 | --enable-static-daemon enable statically linked daemon. |
879 | --enable-rohc enable robust header compression (rfc3095). |
881 | --enable-rohc enable robust header compression (rfc3095). |
880 | --enable-icmp enable icmp protocol support (default disabled). |
882 | --enable-icmp enable icmp protocol support (default disabled). |
881 | --enable-tcp enable tcp protocol support (default disabled). |
883 | --enable-tcp enable tcp protocol support (default disabled). |
|
|
884 | --enable-dns enable dns tunnel protocol support (DOES NOT WORK). |
882 | --enable-http-proxy enable http proxy connect support (default |
885 | --enable-http-proxy enable http proxy connect support (default |
883 | disabled). |
886 | disabled). |
884 | --enable-hmac-length=BYTES |
887 | --enable-hmac-length=BYTES |
885 | use a hmac of length BYTES bytes (default 12). |
888 | use a hmac of length BYTES bytes (default 12). |
886 | Allowed values are 4, 8, 12, 16. |
889 | Allowed values are 4, 8, 12, 16. |
… | |
… | |
1358 | |
1361 | |
1359 | |
1362 | |
1360 | |
1363 | |
1361 | |
1364 | |
1362 | |
1365 | |
|
|
1366 | |
1363 | ac_aux_dir= |
1367 | ac_aux_dir= |
1364 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
1368 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
1365 | if test -f $ac_dir/install-sh; then |
1369 | if test -f $ac_dir/install-sh; then |
1366 | ac_aux_dir=$ac_dir |
1370 | ac_aux_dir=$ac_dir |
1367 | ac_install_sh="$ac_aux_dir/install-sh -c" |
1371 | ac_install_sh="$ac_aux_dir/install-sh -c" |
… | |
… | |
1714 | fi |
1718 | fi |
1715 | fi |
1719 | fi |
1716 | |
1720 | |
1717 | |
1721 | |
1718 | # Define the identity of the package. |
1722 | # Define the identity of the package. |
1719 | PACKAGE=vpe |
1723 | PACKAGE=gvpe |
1720 | VERSION=1.5 |
1724 | VERSION=1.9 |
1721 | |
1725 | |
1722 | |
1726 | |
1723 | cat >>confdefs.h <<_ACEOF |
1727 | cat >>confdefs.h <<_ACEOF |
1724 | #define PACKAGE "$PACKAGE" |
1728 | #define PACKAGE "$PACKAGE" |
1725 | _ACEOF |
1729 | _ACEOF |
… | |
… | |
6411 | #define HAVE_FREEBSD 1 |
6415 | #define HAVE_FREEBSD 1 |
6412 | _ACEOF |
6416 | _ACEOF |
6413 | |
6417 | |
6414 | ;; |
6418 | ;; |
6415 | *darwin*) |
6419 | *darwin*) |
6416 | IFTYPE=tincd |
6420 | IFTYPE=native |
6417 | IFSUBTYPE=darwin |
6421 | IFSUBTYPE=darwin |
6418 | |
6422 | |
6419 | cat >>confdefs.h <<\_ACEOF |
6423 | cat >>confdefs.h <<\_ACEOF |
6420 | #define HAVE_DARWIN 1 |
6424 | #define HAVE_DARWIN 1 |
6421 | _ACEOF |
6425 | _ACEOF |
… | |
… | |
7010 | |
7014 | |
7011 | done |
7015 | done |
7012 | |
7016 | |
7013 | |
7017 | |
7014 | |
7018 | |
|
|
7019 | |
7015 | for ac_header in ext/hash_map |
7020 | for ac_header in ext/hash_map clocale |
7016 | do |
7021 | do |
7017 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7022 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7018 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7023 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7019 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7024 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7020 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
7025 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
… | |
… | |
9675 | |
9680 | |
9676 | if test "x$openssl_include" != x; then |
9681 | if test "x$openssl_include" != x; then |
9677 | CXXFLAGS="$CXXFLAGS -I$openssl_include" |
9682 | CXXFLAGS="$CXXFLAGS -I$openssl_include" |
9678 | fi |
9683 | fi |
9679 | |
9684 | |
|
|
9685 | # Check whether --enable-static-daemon or --disable-static-daemon was given. |
|
|
9686 | if test "${enable_static_daemon+set}" = set; then |
|
|
9687 | enableval="$enable_static_daemon" |
|
|
9688 | LDFLAGS_DAEMON=-static |
|
|
9689 | |
|
|
9690 | fi; |
|
|
9691 | |
|
|
9692 | |
9680 | # Check whether --enable-rohc or --disable-rohc was given. |
9693 | # Check whether --enable-rohc or --disable-rohc was given. |
9681 | if test "${enable_rohc+set}" = set; then |
9694 | if test "${enable_rohc+set}" = set; then |
9682 | enableval="$enable_rohc" |
9695 | enableval="$enable_rohc" |
9683 | |
9696 | |
9684 | echo |
9697 | echo |
9685 | echo "**********************************************************************" |
9698 | echo "**********************************************************************" |
9686 | echo "**********************************************************************" |
9699 | echo "**********************************************************************" |
9687 | echo "**** --enable-rohc not yet implemented *******************************" |
9700 | 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 "**********************************************************************" |
9701 | echo "**********************************************************************" |
9696 | echo "**********************************************************************" |
9702 | echo "**********************************************************************" |
9697 | echo |
9703 | echo |
|
|
9704 | rohc=true |
|
|
9705 | |
|
|
9706 | cat >>confdefs.h <<_ACEOF |
|
|
9707 | #define ENABLE_ROHC 1 |
|
|
9708 | _ACEOF |
|
|
9709 | |
9698 | |
9710 | |
9699 | |
9711 | |
9700 | fi; |
9712 | fi; |
|
|
9713 | |
|
|
9714 | |
|
|
9715 | |
|
|
9716 | if test x$rohc = xtrue; then |
|
|
9717 | ROHC_TRUE= |
|
|
9718 | ROHC_FALSE='#' |
|
|
9719 | else |
|
|
9720 | ROHC_TRUE='#' |
|
|
9721 | ROHC_FALSE= |
|
|
9722 | fi |
|
|
9723 | |
9701 | |
9724 | |
9702 | # Check whether --enable-icmp or --disable-icmp was given. |
9725 | # Check whether --enable-icmp or --disable-icmp was given. |
9703 | if test "${enable_icmp+set}" = set; then |
9726 | if test "${enable_icmp+set}" = set; then |
9704 | enableval="$enable_icmp" |
9727 | enableval="$enable_icmp" |
9705 | |
9728 | |
… | |
… | |
9719 | _ACEOF |
9742 | _ACEOF |
9720 | |
9743 | |
9721 | |
9744 | |
9722 | fi; |
9745 | fi; |
9723 | |
9746 | |
|
|
9747 | # Check whether --enable-dns or --disable-dns was given. |
|
|
9748 | if 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 |
|
|
9753 | echo $ECHO_N "checking for gmp.h... $ECHO_C" >&6 |
|
|
9754 | if test "${ac_cv_header_gmp_h+set}" = set; then |
|
|
9755 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9756 | fi |
|
|
9757 | echo "$as_me:$LINENO: result: $ac_cv_header_gmp_h" >&5 |
|
|
9758 | echo "${ECHO_T}$ac_cv_header_gmp_h" >&6 |
|
|
9759 | else |
|
|
9760 | # Is the header compilable? |
|
|
9761 | echo "$as_me:$LINENO: checking gmp.h usability" >&5 |
|
|
9762 | echo $ECHO_N "checking gmp.h usability... $ECHO_C" >&6 |
|
|
9763 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9764 | /* confdefs.h. */ |
|
|
9765 | _ACEOF |
|
|
9766 | cat confdefs.h >>conftest.$ac_ext |
|
|
9767 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9768 | /* end confdefs.h. */ |
|
|
9769 | $ac_includes_default |
|
|
9770 | #include <gmp.h> |
|
|
9771 | _ACEOF |
|
|
9772 | rm -f conftest.$ac_objext |
|
|
9773 | if { (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 |
|
|
9794 | else |
|
|
9795 | echo "$as_me: failed program was:" >&5 |
|
|
9796 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9797 | |
|
|
9798 | ac_header_compiler=no |
|
|
9799 | fi |
|
|
9800 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9801 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
|
9802 | echo "${ECHO_T}$ac_header_compiler" >&6 |
|
|
9803 | |
|
|
9804 | # Is the header present? |
|
|
9805 | echo "$as_me:$LINENO: checking gmp.h presence" >&5 |
|
|
9806 | echo $ECHO_N "checking gmp.h presence... $ECHO_C" >&6 |
|
|
9807 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9808 | /* confdefs.h. */ |
|
|
9809 | _ACEOF |
|
|
9810 | cat confdefs.h >>conftest.$ac_ext |
|
|
9811 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9812 | /* end confdefs.h. */ |
|
|
9813 | #include <gmp.h> |
|
|
9814 | _ACEOF |
|
|
9815 | if { (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 |
|
|
9829 | else |
|
|
9830 | ac_cpp_err=yes |
|
|
9831 | fi |
|
|
9832 | if test -z "$ac_cpp_err"; then |
|
|
9833 | ac_header_preproc=yes |
|
|
9834 | else |
|
|
9835 | echo "$as_me: failed program was:" >&5 |
|
|
9836 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9837 | |
|
|
9838 | ac_header_preproc=no |
|
|
9839 | fi |
|
|
9840 | rm -f conftest.err conftest.$ac_ext |
|
|
9841 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
|
9842 | echo "${ECHO_T}$ac_header_preproc" >&6 |
|
|
9843 | |
|
|
9844 | # So? What about this header? |
|
|
9845 | case $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 |
|
|
9848 | echo "$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 |
|
|
9850 | echo "$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 |
|
|
9855 | echo "$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 |
|
|
9857 | echo "$as_me: WARNING: gmp.h: check for missing prerequisite headers?" >&2;} |
|
|
9858 | { echo "$as_me:$LINENO: WARNING: gmp.h: see the Autoconf documentation" >&5 |
|
|
9859 | echo "$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 |
|
|
9861 | echo "$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 |
|
|
9863 | echo "$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 |
|
|
9865 | echo "$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 | ;; |
|
|
9875 | esac |
|
|
9876 | echo "$as_me:$LINENO: checking for gmp.h" >&5 |
|
|
9877 | echo $ECHO_N "checking for gmp.h... $ECHO_C" >&6 |
|
|
9878 | if test "${ac_cv_header_gmp_h+set}" = set; then |
|
|
9879 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9880 | else |
|
|
9881 | ac_cv_header_gmp_h=$ac_header_preproc |
|
|
9882 | fi |
|
|
9883 | echo "$as_me:$LINENO: result: $ac_cv_header_gmp_h" >&5 |
|
|
9884 | echo "${ECHO_T}$ac_cv_header_gmp_h" >&6 |
|
|
9885 | |
|
|
9886 | fi |
|
|
9887 | if test $ac_cv_header_gmp_h = yes; then |
|
|
9888 | : |
|
|
9889 | else |
|
|
9890 | { { echo "$as_me:$LINENO: error: gmp.h not found, required for --enable-dns" >&5 |
|
|
9891 | echo "$as_me: error: gmp.h not found, required for --enable-dns" >&2;} |
|
|
9892 | { (exit 1); exit 1; }; } |
|
|
9893 | fi |
|
|
9894 | |
|
|
9895 | |
|
|
9896 | |
|
|
9897 | echo "$as_me:$LINENO: checking for main in -lgmp" >&5 |
|
|
9898 | echo $ECHO_N "checking for main in -lgmp... $ECHO_C" >&6 |
|
|
9899 | if test "${ac_cv_lib_gmp_main+set}" = set; then |
|
|
9900 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9901 | else |
|
|
9902 | ac_check_lib_save_LIBS=$LIBS |
|
|
9903 | LIBS="-lgmp $LIBS" |
|
|
9904 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9905 | /* confdefs.h. */ |
|
|
9906 | _ACEOF |
|
|
9907 | cat confdefs.h >>conftest.$ac_ext |
|
|
9908 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9909 | /* end confdefs.h. */ |
|
|
9910 | |
|
|
9911 | |
|
|
9912 | int |
|
|
9913 | main () |
|
|
9914 | { |
|
|
9915 | main (); |
|
|
9916 | ; |
|
|
9917 | return 0; |
|
|
9918 | } |
|
|
9919 | _ACEOF |
|
|
9920 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
9921 | if { (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 |
|
|
9942 | else |
|
|
9943 | echo "$as_me: failed program was:" >&5 |
|
|
9944 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9945 | |
|
|
9946 | ac_cv_lib_gmp_main=no |
|
|
9947 | fi |
|
|
9948 | rm -f conftest.err conftest.$ac_objext \ |
|
|
9949 | conftest$ac_exeext conftest.$ac_ext |
|
|
9950 | LIBS=$ac_check_lib_save_LIBS |
|
|
9951 | fi |
|
|
9952 | echo "$as_me:$LINENO: result: $ac_cv_lib_gmp_main" >&5 |
|
|
9953 | echo "${ECHO_T}$ac_cv_lib_gmp_main" >&6 |
|
|
9954 | if 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 | |
|
|
9961 | else |
|
|
9962 | { { echo "$as_me:$LINENO: error: libgmp not found, required for --enable-dns" >&5 |
|
|
9963 | echo "$as_me: error: libgmp not found, required for --enable-dns" >&2;} |
|
|
9964 | { (exit 1); exit 1; }; } |
|
|
9965 | fi |
|
|
9966 | |
|
|
9967 | |
|
|
9968 | |
|
|
9969 | cat >>confdefs.h <<_ACEOF |
|
|
9970 | #define ENABLE_DNS 1 |
|
|
9971 | _ACEOF |
|
|
9972 | |
|
|
9973 | |
|
|
9974 | |
|
|
9975 | fi; |
|
|
9976 | |
9724 | # Check whether --enable-http-proxy or --disable-http-proxy was given. |
9977 | # Check whether --enable-http-proxy or --disable-http-proxy was given. |
9725 | if test "${enable_http_proxy+set}" = set; then |
9978 | if test "${enable_http_proxy+set}" = set; then |
9726 | enableval="$enable_http_proxy" |
9979 | enableval="$enable_http_proxy" |
9727 | |
9980 | |
9728 | cat >>confdefs.h <<_ACEOF |
9981 | cat >>confdefs.h <<_ACEOF |
… | |
… | |
9730 | _ACEOF |
9983 | _ACEOF |
9731 | |
9984 | |
9732 | |
9985 | |
9733 | fi; |
9986 | fi; |
9734 | |
9987 | |
|
|
9988 | HMAC=12 |
9735 | HMAC=8 # Check whether --enable-hmac-length or --disable-hmac-length was given. |
9989 | # Check whether --enable-hmac-length or --disable-hmac-length was given. |
9736 | if test "${enable_hmac_length+set}" = set; then |
9990 | if test "${enable_hmac_length+set}" = set; then |
9737 | enableval="$enable_hmac_length" |
9991 | enableval="$enable_hmac_length" |
9738 | HMAC=$enableval |
9992 | HMAC=$enableval |
9739 | |
9993 | |
9740 | fi; |
9994 | fi; |
… | |
… | |
9742 | cat >>confdefs.h <<_ACEOF |
9996 | cat >>confdefs.h <<_ACEOF |
9743 | #define HMACLENGTH $HMAC |
9997 | #define HMACLENGTH $HMAC |
9744 | _ACEOF |
9998 | _ACEOF |
9745 | |
9999 | |
9746 | |
10000 | |
|
|
10001 | RAND=8 |
9747 | RAND=8 # Check whether --enable-rand-length or --disable-rand-length was given. |
10002 | # Check whether --enable-rand-length or --disable-rand-length was given. |
9748 | if test "${enable_rand_length+set}" = set; then |
10003 | if test "${enable_rand_length+set}" = set; then |
9749 | enableval="$enable_rand_length" |
10004 | enableval="$enable_rand_length" |
9750 | RAND=$enableval |
10005 | RAND=$enableval |
9751 | |
10006 | |
9752 | fi; |
10007 | fi; |
… | |
… | |
9754 | cat >>confdefs.h <<_ACEOF |
10009 | cat >>confdefs.h <<_ACEOF |
9755 | #define RAND_SIZE $RAND |
10010 | #define RAND_SIZE $RAND |
9756 | _ACEOF |
10011 | _ACEOF |
9757 | |
10012 | |
9758 | |
10013 | |
|
|
10014 | MTU=1500 |
9759 | MTU=1500 # Check whether --enable-mtu or --disable-mtu was given. |
10015 | # Check whether --enable-mtu or --disable-mtu was given. |
9760 | if test "${enable_mtu+set}" = set; then |
10016 | if test "${enable_mtu+set}" = set; then |
9761 | enableval="$enable_mtu" |
10017 | enableval="$enable_mtu" |
9762 | MTU=$enableval |
10018 | MTU=$enableval |
9763 | |
10019 | |
9764 | fi; |
10020 | fi; |
… | |
… | |
9827 | |
10083 | |
9828 | |
10084 | |
9829 | |
10085 | |
9830 | |
10086 | |
9831 | 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 | |
9832 | cat >confcache <<\_ACEOF |
10089 | cat >confcache <<\_ACEOF |
9833 | # 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 |
9834 | # 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 |
9835 | # scripts and configure runs, see configure's option --config-cache. |
10092 | # 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 |
10093 | # It is not useful on other systems. If it contains results you don't |
… | |
… | |
9950 | fi |
10207 | fi |
9951 | if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then |
10208 | if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then |
9952 | { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. |
10209 | { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. |
9953 | Usually this means the macro was only invoked conditionally." >&5 |
10210 | Usually this means the macro was only invoked conditionally." >&5 |
9954 | echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. |
10211 | echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. |
|
|
10212 | Usually this means the macro was only invoked conditionally." >&2;} |
|
|
10213 | { (exit 1); exit 1; }; } |
|
|
10214 | fi |
|
|
10215 | if test -z "${ROHC_TRUE}" && test -z "${ROHC_FALSE}"; then |
|
|
10216 | { { echo "$as_me:$LINENO: error: conditional \"ROHC\" was never defined. |
|
|
10217 | Usually this means the macro was only invoked conditionally." >&5 |
|
|
10218 | echo "$as_me: error: conditional \"ROHC\" was never defined. |
9955 | Usually this means the macro was only invoked conditionally." >&2;} |
10219 | Usually this means the macro was only invoked conditionally." >&2;} |
9956 | { (exit 1); exit 1; }; } |
10220 | { (exit 1); exit 1; }; } |
9957 | fi |
10221 | fi |
9958 | |
10222 | |
9959 | : ${CONFIG_STATUS=./config.status} |
10223 | : ${CONFIG_STATUS=./config.status} |
… | |
… | |
10577 | s,@IFSUBTYPE@,$IFSUBTYPE,;t t |
10841 | s,@IFSUBTYPE@,$IFSUBTYPE,;t t |
10578 | s,@CXXCPP@,$CXXCPP,;t t |
10842 | s,@CXXCPP@,$CXXCPP,;t t |
10579 | s,@ALLOCA@,$ALLOCA,;t t |
10843 | s,@ALLOCA@,$ALLOCA,;t t |
10580 | s,@LINUX_IF_TUN_H@,$LINUX_IF_TUN_H,;t t |
10844 | s,@LINUX_IF_TUN_H@,$LINUX_IF_TUN_H,;t t |
10581 | s,@HAVE_TUNTAP@,$HAVE_TUNTAP,;t t |
10845 | s,@HAVE_TUNTAP@,$HAVE_TUNTAP,;t t |
|
|
10846 | s,@LDFLAGS_DAEMON@,$LDFLAGS_DAEMON,;t t |
|
|
10847 | s,@ROHC_TRUE@,$ROHC_TRUE,;t t |
|
|
10848 | s,@ROHC_FALSE@,$ROHC_FALSE,;t t |
10582 | s,@INCLUDES@,$INCLUDES,;t t |
10849 | s,@INCLUDES@,$INCLUDES,;t t |
10583 | s,@LIBOBJS@,$LIBOBJS,;t t |
10850 | s,@LIBOBJS@,$LIBOBJS,;t t |
10584 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
10851 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
10585 | CEOF |
10852 | CEOF |
10586 | |
10853 | |
… | |
… | |
11397 | echo "*** WARNING: The digest you have chosen ($DIGEST) is known to be insecure" |
11664 | echo "*** WARNING: The digest you have chosen ($DIGEST) is known to be insecure" |
11398 | fi |
11665 | fi |
11399 | |
11666 | |
11400 | if test "$HMAC" -lt 12; then |
11667 | if test "$HMAC" -lt 12; then |
11401 | echo "***" |
11668 | echo "***" |
11402 | echo "*** WARNING: The hmac length you have chosen ($HMAC) might be insecure" |
11669 | echo "*** WARNING: The hmac length you have chosen ($HMAC) is probably insecure" |
11403 | fi |
11670 | fi |
11404 | |
11671 | |
11405 | if test "$RAND" -lt 8; then |
11672 | if test "$RAND" -lt 8; then |
11406 | echo "***" |
11673 | echo "***" |
11407 | echo "*** WARNING: The random prefix you have chosen ($RAND) might be insecure" |
11674 | echo "*** WARNING: The random prefix you have chosen ($RAND) is probably insecure" |
11408 | fi |
11675 | fi |
11409 | |
11676 | |
11410 | echo "***" |
11677 | echo "***" |
11411 | |
11678 | |
11412 | echo |
11679 | echo |