… | |
… | |
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> |
… | |
… | |
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 | |
902 | Optional Packages: |
904 | Optional 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 |
… | |
… | |
1718 | fi |
1720 | fi |
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.7 |
1725 | VERSION=2.0 |
1724 | |
1726 | |
1725 | |
1727 | |
1726 | cat >>confdefs.h <<_ACEOF |
1728 | cat >>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 | |
6422 | cat >>confdefs.h <<\_ACEOF |
6424 | cat >>confdefs.h <<\_ACEOF |
6423 | #define HAVE_DARWIN 1 |
6425 | #define HAVE_DARWIN 1 |
6424 | _ACEOF |
6426 | _ACEOF |
… | |
… | |
7013 | |
7015 | |
7014 | done |
7016 | done |
7015 | |
7017 | |
7016 | |
7018 | |
7017 | |
7019 | |
|
|
7020 | |
7018 | for ac_header in ext/hash_map |
7021 | for ac_header in ext/hash_map clocale |
7019 | do |
7022 | do |
7020 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7023 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7021 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7024 | if 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 |
7023 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
7026 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
… | |
… | |
9718 | ROHC_TRUE='#' |
9721 | ROHC_TRUE='#' |
9719 | ROHC_FALSE= |
9722 | ROHC_FALSE= |
9720 | fi |
9723 | fi |
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. |
9724 | if test "${enable_icmp+set}" = set; then |
9728 | if test "${enable_icmp+set}" = set; then |
9725 | enableval="$enable_icmp" |
9729 | enableval="$enable_icmp" |
9726 | |
9730 | |
9727 | cat >>confdefs.h <<_ACEOF |
9731 | cat >>confdefs.h <<_ACEOF |
… | |
… | |
9744 | |
9748 | |
9745 | # Check whether --enable-dns or --disable-dns was given. |
9749 | # Check whether --enable-dns or --disable-dns was given. |
9746 | if test "${enable_dns+set}" = set; then |
9750 | if test "${enable_dns+set}" = set; then |
9747 | enableval="$enable_dns" |
9751 | enableval="$enable_dns" |
9748 | |
9752 | |
|
|
9753 | if test "${ac_cv_header_gmp_h+set}" = set; then |
|
|
9754 | echo "$as_me:$LINENO: checking for gmp.h" >&5 |
|
|
9755 | echo $ECHO_N "checking for gmp.h... $ECHO_C" >&6 |
|
|
9756 | if test "${ac_cv_header_gmp_h+set}" = set; then |
|
|
9757 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9758 | fi |
|
|
9759 | echo "$as_me:$LINENO: result: $ac_cv_header_gmp_h" >&5 |
|
|
9760 | echo "${ECHO_T}$ac_cv_header_gmp_h" >&6 |
|
|
9761 | else |
|
|
9762 | # Is the header compilable? |
|
|
9763 | echo "$as_me:$LINENO: checking gmp.h usability" >&5 |
|
|
9764 | echo $ECHO_N "checking gmp.h usability... $ECHO_C" >&6 |
|
|
9765 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9766 | /* confdefs.h. */ |
|
|
9767 | _ACEOF |
|
|
9768 | cat confdefs.h >>conftest.$ac_ext |
|
|
9769 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9770 | /* end confdefs.h. */ |
|
|
9771 | $ac_includes_default |
|
|
9772 | #include <gmp.h> |
|
|
9773 | _ACEOF |
|
|
9774 | rm -f conftest.$ac_objext |
|
|
9775 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
9776 | (eval $ac_compile) 2>conftest.er1 |
|
|
9777 | ac_status=$? |
|
|
9778 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9779 | rm -f conftest.er1 |
|
|
9780 | cat conftest.err >&5 |
|
|
9781 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9782 | (exit $ac_status); } && |
|
|
9783 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
9784 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9785 | (eval $ac_try) 2>&5 |
|
|
9786 | ac_status=$? |
|
|
9787 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9788 | (exit $ac_status); }; } && |
|
|
9789 | { ac_try='test -s conftest.$ac_objext' |
|
|
9790 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9791 | (eval $ac_try) 2>&5 |
|
|
9792 | ac_status=$? |
|
|
9793 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9794 | (exit $ac_status); }; }; then |
|
|
9795 | ac_header_compiler=yes |
|
|
9796 | else |
|
|
9797 | echo "$as_me: failed program was:" >&5 |
|
|
9798 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9799 | |
|
|
9800 | ac_header_compiler=no |
|
|
9801 | fi |
|
|
9802 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9803 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
|
9804 | echo "${ECHO_T}$ac_header_compiler" >&6 |
|
|
9805 | |
|
|
9806 | # Is the header present? |
|
|
9807 | echo "$as_me:$LINENO: checking gmp.h presence" >&5 |
|
|
9808 | echo $ECHO_N "checking gmp.h presence... $ECHO_C" >&6 |
|
|
9809 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9810 | /* confdefs.h. */ |
|
|
9811 | _ACEOF |
|
|
9812 | cat confdefs.h >>conftest.$ac_ext |
|
|
9813 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9814 | /* end confdefs.h. */ |
|
|
9815 | #include <gmp.h> |
|
|
9816 | _ACEOF |
|
|
9817 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
9818 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
9819 | ac_status=$? |
|
|
9820 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9821 | rm -f conftest.er1 |
|
|
9822 | cat conftest.err >&5 |
|
|
9823 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9824 | (exit $ac_status); } >/dev/null; then |
|
|
9825 | if test -s conftest.err; then |
|
|
9826 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
9827 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
9828 | else |
|
|
9829 | ac_cpp_err= |
|
|
9830 | fi |
|
|
9831 | else |
|
|
9832 | ac_cpp_err=yes |
|
|
9833 | fi |
|
|
9834 | if test -z "$ac_cpp_err"; then |
|
|
9835 | ac_header_preproc=yes |
|
|
9836 | else |
|
|
9837 | echo "$as_me: failed program was:" >&5 |
|
|
9838 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9839 | |
|
|
9840 | ac_header_preproc=no |
|
|
9841 | fi |
|
|
9842 | rm -f conftest.err conftest.$ac_ext |
|
|
9843 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
|
9844 | echo "${ECHO_T}$ac_header_preproc" >&6 |
|
|
9845 | |
|
|
9846 | # So? What about this header? |
|
|
9847 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
|
|
9848 | yes:no: ) |
|
|
9849 | { echo "$as_me:$LINENO: WARNING: gmp.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
|
9850 | echo "$as_me: WARNING: gmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
9851 | { echo "$as_me:$LINENO: WARNING: gmp.h: proceeding with the compiler's result" >&5 |
|
|
9852 | echo "$as_me: WARNING: gmp.h: proceeding with the compiler's result" >&2;} |
|
|
9853 | ac_header_preproc=yes |
|
|
9854 | ;; |
|
|
9855 | no:yes:* ) |
|
|
9856 | { echo "$as_me:$LINENO: WARNING: gmp.h: present but cannot be compiled" >&5 |
|
|
9857 | echo "$as_me: WARNING: gmp.h: present but cannot be compiled" >&2;} |
|
|
9858 | { echo "$as_me:$LINENO: WARNING: gmp.h: check for missing prerequisite headers?" >&5 |
|
|
9859 | echo "$as_me: WARNING: gmp.h: check for missing prerequisite headers?" >&2;} |
|
|
9860 | { echo "$as_me:$LINENO: WARNING: gmp.h: see the Autoconf documentation" >&5 |
|
|
9861 | echo "$as_me: WARNING: gmp.h: see the Autoconf documentation" >&2;} |
|
|
9862 | { echo "$as_me:$LINENO: WARNING: gmp.h: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
9863 | echo "$as_me: WARNING: gmp.h: section \"Present But Cannot Be Compiled\"" >&2;} |
|
|
9864 | { echo "$as_me:$LINENO: WARNING: gmp.h: proceeding with the preprocessor's result" >&5 |
|
|
9865 | echo "$as_me: WARNING: gmp.h: proceeding with the preprocessor's result" >&2;} |
|
|
9866 | { echo "$as_me:$LINENO: WARNING: gmp.h: in the future, the compiler will take precedence" >&5 |
|
|
9867 | echo "$as_me: WARNING: gmp.h: in the future, the compiler will take precedence" >&2;} |
|
|
9868 | ( |
|
|
9869 | cat <<\_ASBOX |
|
|
9870 | ## ------------------------------------------ ## |
|
|
9871 | ## Report this to the AC_PACKAGE_NAME lists. ## |
|
|
9872 | ## ------------------------------------------ ## |
|
|
9873 | _ASBOX |
|
|
9874 | ) | |
|
|
9875 | sed "s/^/$as_me: WARNING: /" >&2 |
|
|
9876 | ;; |
|
|
9877 | esac |
|
|
9878 | echo "$as_me:$LINENO: checking for gmp.h" >&5 |
|
|
9879 | echo $ECHO_N "checking for gmp.h... $ECHO_C" >&6 |
|
|
9880 | if test "${ac_cv_header_gmp_h+set}" = set; then |
|
|
9881 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9882 | else |
|
|
9883 | ac_cv_header_gmp_h=$ac_header_preproc |
|
|
9884 | fi |
|
|
9885 | echo "$as_me:$LINENO: result: $ac_cv_header_gmp_h" >&5 |
|
|
9886 | echo "${ECHO_T}$ac_cv_header_gmp_h" >&6 |
|
|
9887 | |
|
|
9888 | fi |
|
|
9889 | if test $ac_cv_header_gmp_h = yes; then |
|
|
9890 | : |
|
|
9891 | else |
|
|
9892 | { { echo "$as_me:$LINENO: error: gmp.h not found, required for --enable-dns" >&5 |
|
|
9893 | echo "$as_me: error: gmp.h not found, required for --enable-dns" >&2;} |
|
|
9894 | { (exit 1); exit 1; }; } |
|
|
9895 | fi |
|
|
9896 | |
|
|
9897 | |
|
|
9898 | |
|
|
9899 | echo "$as_me:$LINENO: checking for main in -lgmp" >&5 |
|
|
9900 | echo $ECHO_N "checking for main in -lgmp... $ECHO_C" >&6 |
|
|
9901 | if test "${ac_cv_lib_gmp_main+set}" = set; then |
|
|
9902 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9903 | else |
|
|
9904 | ac_check_lib_save_LIBS=$LIBS |
|
|
9905 | LIBS="-lgmp $LIBS" |
|
|
9906 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9907 | /* confdefs.h. */ |
|
|
9908 | _ACEOF |
|
|
9909 | cat confdefs.h >>conftest.$ac_ext |
|
|
9910 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9911 | /* end confdefs.h. */ |
|
|
9912 | |
|
|
9913 | |
|
|
9914 | int |
|
|
9915 | main () |
|
|
9916 | { |
|
|
9917 | main (); |
|
|
9918 | ; |
|
|
9919 | return 0; |
|
|
9920 | } |
|
|
9921 | _ACEOF |
|
|
9922 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
9923 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
9924 | (eval $ac_link) 2>conftest.er1 |
|
|
9925 | ac_status=$? |
|
|
9926 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9927 | rm -f conftest.er1 |
|
|
9928 | cat conftest.err >&5 |
|
|
9929 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9930 | (exit $ac_status); } && |
|
|
9931 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
9932 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9933 | (eval $ac_try) 2>&5 |
|
|
9934 | ac_status=$? |
|
|
9935 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9936 | (exit $ac_status); }; } && |
|
|
9937 | { ac_try='test -s conftest$ac_exeext' |
|
|
9938 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9939 | (eval $ac_try) 2>&5 |
|
|
9940 | ac_status=$? |
|
|
9941 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9942 | (exit $ac_status); }; }; then |
|
|
9943 | ac_cv_lib_gmp_main=yes |
|
|
9944 | else |
|
|
9945 | echo "$as_me: failed program was:" >&5 |
|
|
9946 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9947 | |
|
|
9948 | ac_cv_lib_gmp_main=no |
|
|
9949 | fi |
|
|
9950 | rm -f conftest.err conftest.$ac_objext \ |
|
|
9951 | conftest$ac_exeext conftest.$ac_ext |
|
|
9952 | LIBS=$ac_check_lib_save_LIBS |
|
|
9953 | fi |
|
|
9954 | echo "$as_me:$LINENO: result: $ac_cv_lib_gmp_main" >&5 |
|
|
9955 | echo "${ECHO_T}$ac_cv_lib_gmp_main" >&6 |
|
|
9956 | if test $ac_cv_lib_gmp_main = yes; then |
|
|
9957 | cat >>confdefs.h <<_ACEOF |
|
|
9958 | #define HAVE_LIBGMP 1 |
|
|
9959 | _ACEOF |
|
|
9960 | |
|
|
9961 | LIBS="-lgmp $LIBS" |
|
|
9962 | |
|
|
9963 | else |
|
|
9964 | { { echo "$as_me:$LINENO: error: libgmp not found, required for --enable-dns" >&5 |
|
|
9965 | echo "$as_me: error: libgmp not found, required for --enable-dns" >&2;} |
|
|
9966 | { (exit 1); exit 1; }; } |
|
|
9967 | fi |
|
|
9968 | |
|
|
9969 | |
|
|
9970 | |
9749 | cat >>confdefs.h <<_ACEOF |
9971 | cat >>confdefs.h <<_ACEOF |
9750 | #define ENABLE_DNS 1 |
9972 | #define ENABLE_DNS 1 |
9751 | _ACEOF |
9973 | _ACEOF |
|
|
9974 | |
9752 | |
9975 | |
9753 | |
9976 | |
9754 | fi; |
9977 | fi; |
9755 | |
9978 | |
9756 | # Check whether --enable-http-proxy or --disable-http-proxy was given. |
9979 | # Check whether --enable-http-proxy or --disable-http-proxy was given. |
… | |
… | |
9816 | cat >>confdefs.h <<_ACEOF |
10039 | cat >>confdefs.h <<_ACEOF |
9817 | #define ENABLE_COMPRESSION $COMPRESS |
10040 | #define ENABLE_COMPRESSION $COMPRESS |
9818 | _ACEOF |
10041 | _ACEOF |
9819 | |
10042 | |
9820 | |
10043 | |
9821 | CIPHER=bf_cbc |
10044 | CIPHER=aes_128_cbc |
9822 | # Check whether --enable-cipher or --disable-cipher was given. |
10045 | # Check whether --enable-cipher or --disable-cipher was given. |
9823 | if test "${enable_cipher+set}" = set; then |
10046 | if test "${enable_cipher+set}" = set; then |
9824 | enableval="$enable_cipher" |
10047 | enableval="$enable_cipher" |
9825 | if test "x$enableval" = xbf ; then CIPHER=bf_cbc ; fi |
10048 | if test "x$enableval" = xbf ; then CIPHER=bf_cbc ; fi |
9826 | 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 |
… | |
… | |
9832 | cat >>confdefs.h <<_ACEOF |
10055 | cat >>confdefs.h <<_ACEOF |
9833 | #define ENABLE_CIPHER EVP_${CIPHER} |
10056 | #define ENABLE_CIPHER EVP_${CIPHER} |
9834 | _ACEOF |
10057 | _ACEOF |
9835 | |
10058 | |
9836 | |
10059 | |
9837 | DIGEST=sha1 |
10060 | DIGEST=ripemd160 |
9838 | # Check whether --enable-digest or --disable-digest was given. |
10061 | # Check whether --enable-digest or --disable-digest was given. |
9839 | if test "${enable_digest+set}" = set; then |
10062 | if test "${enable_digest+set}" = set; then |
9840 | enableval="$enable_digest" |
10063 | enableval="$enable_digest" |
9841 | if test "x$enableval" = xsha1 ; then DIGEST=sha1 ; fi |
10064 | if test "x$enableval" = xsha1 ; then DIGEST=sha1 ; fi |
9842 | if test "x$enableval" = xripemd160; then DIGEST=ripemd160; fi |
10065 | if test "x$enableval" = xripemd160; then DIGEST=ripemd160; fi |
… | |
… | |
9859 | fi |
10082 | fi |
9860 | |
10083 | |
9861 | |
10084 | |
9862 | |
10085 | |
9863 | |
10086 | |
9864 | |
|
|
9865 | |
|
|
9866 | ac_config_files="$ac_config_files Makefile po/Makefile.in src/Makefile src/rohc/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" |
9867 | |
10088 | |
9868 | cat >confcache <<\_ACEOF |
10089 | cat >confcache <<\_ACEOF |
9869 | # 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 |
9870 | # 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 |
9871 | # scripts and configure runs, see configure's option --config-cache. |
10092 | # scripts and configure runs, see configure's option --config-cache. |
… | |
… | |
10450 | case "$ac_config_target" in |
10671 | case "$ac_config_target" in |
10451 | # Handling of arguments. |
10672 | # Handling of arguments. |
10452 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
10673 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
10453 | "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; |
10674 | "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; |
10454 | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
10675 | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
10455 | "src/rohc/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/rohc/Makefile" ;; |
|
|
10456 | "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
10676 | "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
10457 | "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; |
10677 | "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; |
10458 | "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; |
10678 | "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; |
10459 | "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; |
10679 | "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; |
10460 | "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
10680 | "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
… | |
… | |
11424 | _ACEOF |
11644 | _ACEOF |
11425 | chmod +x $CONFIG_STATUS |
11645 | chmod +x $CONFIG_STATUS |
11426 | ac_clean_files=$ac_clean_files_save |
11646 | ac_clean_files=$ac_clean_files_save |
11427 | |
11647 | |
11428 | |
11648 | |
11429 | |
|
|
11430 | echo |
|
|
11431 | echo "***" |
|
|
11432 | echo "*** Configuration Summary" |
|
|
11433 | echo "***" |
|
|
11434 | echo "*** Kernel Iface: $IFTYPE/$IFSUBTYPE" |
|
|
11435 | echo "*** Cipher used: $CIPHER" |
|
|
11436 | echo "*** Digest used: $DIGEST" |
|
|
11437 | echo "*** HMAC length: $HMAC" |
|
|
11438 | echo "*** RAND used: $RAND" |
|
|
11439 | echo "*** Max. MTU: $MTU" |
|
|
11440 | echo "*** Compression: $COMPRESS" |
|
|
11441 | |
|
|
11442 | if test "x$DIGEST" = xmd4; then |
|
|
11443 | echo "***" |
|
|
11444 | echo "*** WARNING: The digest you have chosen ($DIGEST) is known to be insecure" |
|
|
11445 | fi |
|
|
11446 | |
|
|
11447 | if test "$HMAC" -lt 12; then |
|
|
11448 | echo "***" |
|
|
11449 | echo "*** WARNING: The hmac length you have chosen ($HMAC) is probably insecure" |
|
|
11450 | fi |
|
|
11451 | |
|
|
11452 | if test "$RAND" -lt 8; then |
|
|
11453 | echo "***" |
|
|
11454 | echo "*** WARNING: The random prefix you have chosen ($RAND) is probably insecure" |
|
|
11455 | fi |
|
|
11456 | |
|
|
11457 | echo "***" |
|
|
11458 | |
|
|
11459 | echo |
|
|
11460 | |
|
|
11461 | |
|
|
11462 | |
|
|
11463 | # configure is writing to config.log, and then calls config.status. |
11649 | # configure is writing to config.log, and then calls config.status. |
11464 | # config.status does its own redirection, appending to config.log. |
11650 | # config.status does its own redirection, appending to config.log. |
11465 | # 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 |
11466 | # 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 |
11467 | # 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, |
… | |
… | |
11479 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
11665 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
11480 | # would make configure fail if this is the last instruction. |
11666 | # would make configure fail if this is the last instruction. |
11481 | $ac_cs_success || { (exit 1); exit 1; } |
11667 | $ac_cs_success || { (exit 1); exit 1; } |
11482 | fi |
11668 | fi |
11483 | |
11669 | |
|
|
11670 | |
|
|
11671 | echo |
|
|
11672 | echo "***" |
|
|
11673 | echo "*** Configuration Summary" |
|
|
11674 | echo "***" |
|
|
11675 | echo "*** Kernel Iface: $IFTYPE/$IFSUBTYPE" |
|
|
11676 | echo "*** Cipher used: $CIPHER" |
|
|
11677 | echo "*** Digest used: $DIGEST" |
|
|
11678 | echo "*** HMAC length: $HMAC" |
|
|
11679 | echo "*** RAND used: $RAND" |
|
|
11680 | echo "*** Max. MTU: $MTU" |
|
|
11681 | |
|
|
11682 | echo "***" |
|
|
11683 | echo "*** Enable options:" |
|
|
11684 | grep ENABLE_ config.h | sed -e 's/^/*** /' |
|
|
11685 | |
|
|
11686 | if test "x$DIGEST" = xmd4; then |
|
|
11687 | echo "***" |
|
|
11688 | echo "*** WARNING: The digest you have chosen ($DIGEST) is known to be insecure" |
|
|
11689 | fi |
|
|
11690 | |
|
|
11691 | if test "$HMAC" -lt 12; then |
|
|
11692 | echo "***" |
|
|
11693 | echo "*** WARNING: The hmac length you have chosen ($HMAC) is probably insecure" |
|
|
11694 | fi |
|
|
11695 | |
|
|
11696 | if test "$RAND" -lt 8; then |
|
|
11697 | echo "***" |
|
|
11698 | echo "*** WARNING: The random prefix you have chosen ($RAND) is probably insecure" |
|
|
11699 | fi |
|
|
11700 | |
|
|
11701 | echo "***" |
|
|
11702 | echo |
|
|
11703 | |
|
|
11704 | |