… | |
… | |
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/solaris" "tincd/mingw" |
877 | "tincd/mingw"; Broken combinations are: |
878 | "tincd/raw_socket" "tincd/uml_socket"; Broken |
878 | "tincd/cygwin"; The default is to autodetect. |
879 | combinations are: "tincd/cygwin"; The default is to |
|
|
880 | 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). |
… | |
… | |
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=1.9 |
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 |
… | |
… | |
9744 | |
9747 | |
9745 | # Check whether --enable-dns or --disable-dns was given. |
9748 | # Check whether --enable-dns or --disable-dns was given. |
9746 | if test "${enable_dns+set}" = set; then |
9749 | if test "${enable_dns+set}" = set; then |
9747 | enableval="$enable_dns" |
9750 | enableval="$enable_dns" |
9748 | |
9751 | |
|
|
9752 | if test "${ac_cv_header_gmp_h+set}" = set; then |
|
|
9753 | echo "$as_me:$LINENO: checking for gmp.h" >&5 |
|
|
9754 | echo $ECHO_N "checking for gmp.h... $ECHO_C" >&6 |
|
|
9755 | if test "${ac_cv_header_gmp_h+set}" = set; then |
|
|
9756 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9757 | fi |
|
|
9758 | echo "$as_me:$LINENO: result: $ac_cv_header_gmp_h" >&5 |
|
|
9759 | echo "${ECHO_T}$ac_cv_header_gmp_h" >&6 |
|
|
9760 | else |
|
|
9761 | # Is the header compilable? |
|
|
9762 | echo "$as_me:$LINENO: checking gmp.h usability" >&5 |
|
|
9763 | echo $ECHO_N "checking gmp.h usability... $ECHO_C" >&6 |
|
|
9764 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9765 | /* confdefs.h. */ |
|
|
9766 | _ACEOF |
|
|
9767 | cat confdefs.h >>conftest.$ac_ext |
|
|
9768 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9769 | /* end confdefs.h. */ |
|
|
9770 | $ac_includes_default |
|
|
9771 | #include <gmp.h> |
|
|
9772 | _ACEOF |
|
|
9773 | rm -f conftest.$ac_objext |
|
|
9774 | if { (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 |
|
|
9795 | else |
|
|
9796 | echo "$as_me: failed program was:" >&5 |
|
|
9797 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9798 | |
|
|
9799 | ac_header_compiler=no |
|
|
9800 | fi |
|
|
9801 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9802 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
|
9803 | echo "${ECHO_T}$ac_header_compiler" >&6 |
|
|
9804 | |
|
|
9805 | # Is the header present? |
|
|
9806 | echo "$as_me:$LINENO: checking gmp.h presence" >&5 |
|
|
9807 | echo $ECHO_N "checking gmp.h presence... $ECHO_C" >&6 |
|
|
9808 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9809 | /* confdefs.h. */ |
|
|
9810 | _ACEOF |
|
|
9811 | cat confdefs.h >>conftest.$ac_ext |
|
|
9812 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9813 | /* end confdefs.h. */ |
|
|
9814 | #include <gmp.h> |
|
|
9815 | _ACEOF |
|
|
9816 | if { (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 |
|
|
9830 | else |
|
|
9831 | ac_cpp_err=yes |
|
|
9832 | fi |
|
|
9833 | if test -z "$ac_cpp_err"; then |
|
|
9834 | ac_header_preproc=yes |
|
|
9835 | else |
|
|
9836 | echo "$as_me: failed program was:" >&5 |
|
|
9837 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9838 | |
|
|
9839 | ac_header_preproc=no |
|
|
9840 | fi |
|
|
9841 | rm -f conftest.err conftest.$ac_ext |
|
|
9842 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
|
9843 | echo "${ECHO_T}$ac_header_preproc" >&6 |
|
|
9844 | |
|
|
9845 | # So? What about this header? |
|
|
9846 | case $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 |
|
|
9849 | echo "$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 |
|
|
9851 | echo "$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 |
|
|
9856 | echo "$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 |
|
|
9858 | echo "$as_me: WARNING: gmp.h: check for missing prerequisite headers?" >&2;} |
|
|
9859 | { echo "$as_me:$LINENO: WARNING: gmp.h: see the Autoconf documentation" >&5 |
|
|
9860 | echo "$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 |
|
|
9862 | echo "$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 |
|
|
9864 | echo "$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 |
|
|
9866 | echo "$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 | ;; |
|
|
9876 | esac |
|
|
9877 | echo "$as_me:$LINENO: checking for gmp.h" >&5 |
|
|
9878 | echo $ECHO_N "checking for gmp.h... $ECHO_C" >&6 |
|
|
9879 | if test "${ac_cv_header_gmp_h+set}" = set; then |
|
|
9880 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9881 | else |
|
|
9882 | ac_cv_header_gmp_h=$ac_header_preproc |
|
|
9883 | fi |
|
|
9884 | echo "$as_me:$LINENO: result: $ac_cv_header_gmp_h" >&5 |
|
|
9885 | echo "${ECHO_T}$ac_cv_header_gmp_h" >&6 |
|
|
9886 | |
|
|
9887 | fi |
|
|
9888 | if test $ac_cv_header_gmp_h = yes; then |
|
|
9889 | : |
|
|
9890 | else |
|
|
9891 | { { echo "$as_me:$LINENO: error: gmp.h not found, required for --enable-dns" >&5 |
|
|
9892 | echo "$as_me: error: gmp.h not found, required for --enable-dns" >&2;} |
|
|
9893 | { (exit 1); exit 1; }; } |
|
|
9894 | fi |
|
|
9895 | |
|
|
9896 | |
|
|
9897 | |
|
|
9898 | echo "$as_me:$LINENO: checking for main in -lgmp" >&5 |
|
|
9899 | echo $ECHO_N "checking for main in -lgmp... $ECHO_C" >&6 |
|
|
9900 | if test "${ac_cv_lib_gmp_main+set}" = set; then |
|
|
9901 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9902 | else |
|
|
9903 | ac_check_lib_save_LIBS=$LIBS |
|
|
9904 | LIBS="-lgmp $LIBS" |
|
|
9905 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9906 | /* confdefs.h. */ |
|
|
9907 | _ACEOF |
|
|
9908 | cat confdefs.h >>conftest.$ac_ext |
|
|
9909 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9910 | /* end confdefs.h. */ |
|
|
9911 | |
|
|
9912 | |
|
|
9913 | int |
|
|
9914 | main () |
|
|
9915 | { |
|
|
9916 | main (); |
|
|
9917 | ; |
|
|
9918 | return 0; |
|
|
9919 | } |
|
|
9920 | _ACEOF |
|
|
9921 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
9922 | if { (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 |
|
|
9943 | else |
|
|
9944 | echo "$as_me: failed program was:" >&5 |
|
|
9945 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9946 | |
|
|
9947 | ac_cv_lib_gmp_main=no |
|
|
9948 | fi |
|
|
9949 | rm -f conftest.err conftest.$ac_objext \ |
|
|
9950 | conftest$ac_exeext conftest.$ac_ext |
|
|
9951 | LIBS=$ac_check_lib_save_LIBS |
|
|
9952 | fi |
|
|
9953 | echo "$as_me:$LINENO: result: $ac_cv_lib_gmp_main" >&5 |
|
|
9954 | echo "${ECHO_T}$ac_cv_lib_gmp_main" >&6 |
|
|
9955 | if 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 | |
|
|
9962 | else |
|
|
9963 | { { echo "$as_me:$LINENO: error: libgmp not found, required for --enable-dns" >&5 |
|
|
9964 | echo "$as_me: error: libgmp not found, required for --enable-dns" >&2;} |
|
|
9965 | { (exit 1); exit 1; }; } |
|
|
9966 | fi |
|
|
9967 | |
|
|
9968 | |
|
|
9969 | |
9749 | cat >>confdefs.h <<_ACEOF |
9970 | cat >>confdefs.h <<_ACEOF |
9750 | #define ENABLE_DNS 1 |
9971 | #define ENABLE_DNS 1 |
9751 | _ACEOF |
9972 | _ACEOF |
|
|
9973 | |
9752 | |
9974 | |
9753 | |
9975 | |
9754 | fi; |
9976 | fi; |
9755 | |
9977 | |
9756 | # Check whether --enable-http-proxy or --disable-http-proxy was given. |
9978 | # Check whether --enable-http-proxy or --disable-http-proxy was given. |
… | |
… | |
9861 | |
10083 | |
9862 | |
10084 | |
9863 | |
10085 | |
9864 | |
10086 | |
9865 | |
10087 | |
9866 | ac_config_files="$ac_config_files Makefile po/Makefile.in src/Makefile src/rohc/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" |
9867 | |
10089 | |
9868 | cat >confcache <<\_ACEOF |
10090 | cat >confcache <<\_ACEOF |
9869 | # 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 |
9870 | # 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 |
9871 | # scripts and configure runs, see configure's option --config-cache. |
10093 | # scripts and configure runs, see configure's option --config-cache. |
… | |
… | |
10450 | case "$ac_config_target" in |
10672 | case "$ac_config_target" in |
10451 | # Handling of arguments. |
10673 | # Handling of arguments. |
10452 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
10674 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
10453 | "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; |
10675 | "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; |
10454 | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
10676 | "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" ;; |
10677 | "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
10457 | "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; |
10678 | "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; |
10458 | "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; |
10679 | "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; |
10459 | "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; |
10680 | "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; |
10460 | "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
10681 | "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |