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 | ## --------------------- ## |
… | |
… | |
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 | "tincd/linux" "tincd/freebsd" "tincd/openbsd" |
|
|
875 | "tincd/darwin" "native/cygwin"; Untested |
874 | combinations are: "tincd/netbsd" "tincd/solaris" "tincd/mingw"; Broken combinations are: |
876 | combinations are: "tincd/netbsd" "tincd/solaris" |
|
|
877 | "tincd/mingw"; Broken combinations are: |
875 | "tincd/cygwin"; The default is to autodetect. |
878 | "tincd/cygwin"; The default is to autodetect. |
876 | --enable-rohc |
879 | --enable-rohc enable robust header compression (rfc3095). |
877 | enable robust header compression (rfc3095). |
880 | --enable-icmp enable icmp protocol support (default disabled). |
878 | --enable-icmp |
881 | --enable-tcp enable tcp protocol support (default disabled). |
879 | enable icmp protocol support (default disabled). |
882 | --enable-http-proxy enable http proxy connect support (default |
880 | --enable-tcp |
883 | disabled). |
881 | enable tcp protocol support (default disabled). |
|
|
882 | --enable-http-proxy |
|
|
883 | enable http proxy connect support (default disabled). |
|
|
884 | --enable-hmac-length=BYTES |
884 | --enable-hmac-length=BYTES |
885 | use a hmac of length BYTES bytes (default |
885 | use a hmac of length BYTES bytes (default 12). |
886 | 12). Allowed values are 4, 8, 12, 16. |
886 | Allowed values are 4, 8, 12, 16. |
887 | --enable-rand-length=BYTES |
887 | --enable-rand-length=BYTES |
888 | use BYTES bytes of extra randomness (default 8). |
888 | use BYTES bytes of extra randomness (default 8). |
889 | Allowed values are 0, 4, 8. |
889 | Allowed values are 0, 4, 8. |
890 | --enable-max-mtu=BYTES |
890 | --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. |
891 | Use 9100 for jumbogram support. |
893 | --disable-compression |
892 | --disable-compression Disable compression support. |
894 | Disable compression support. |
|
|
895 | --enable-cipher |
|
|
896 | Select the symmetric cipher (default "bf"). Must be |
893 | --enable-cipher Select the symmetric cipher (default "bf"). Must be |
897 | one of "bf" (blowfish), "aes-128" (rijndael), "aes-192" or "aes-256". |
894 | one of "bf" (blowfish), "aes-128" (rijndael), |
898 | --enable-digest |
895 | "aes-192" or "aes-256". |
899 | Select the digets algorithm to use (default "sha1"). |
896 | --enable-digest Select the digets algorithm to use (default "sha1"). |
900 | Must be one of "sha1", "ripemd160", "md5" or "md4" |
897 | Must be one of "sha1", "ripemd160", "md5" or "md4" |
901 | (insecure). |
898 | (insecure). |
902 | |
899 | |
903 | Optional Packages: |
900 | Optional Packages: |
904 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
901 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
… | |
… | |
912 | (default: /usr/src/linux) |
909 | (default: /usr/src/linux) |
913 | --with-openssl-include=DIR OpenSSL headers directory (without trailing /openssl) |
910 | --with-openssl-include=DIR OpenSSL headers directory (without trailing /openssl) |
914 | --with-openssl-lib=DIR OpenSSL library directory |
911 | --with-openssl-lib=DIR OpenSSL library directory |
915 | |
912 | |
916 | Some influential environment variables: |
913 | Some influential environment variables: |
917 | CC |
914 | CC C compiler command |
918 | C compiler command |
915 | CFLAGS C compiler flags |
919 | CFLAGS |
|
|
920 | C compiler flags |
|
|
921 | LDFLAGS |
|
|
922 | linker flags, e.g. -L<lib dir> if you have |
916 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
923 | libraries in a nonstandard directory <lib dir> |
917 | nonstandard directory <lib dir> |
924 | CPPFLAGS |
|
|
925 | C/C++ preprocessor flags, e.g. -I<include dir> if you |
918 | CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
926 | have headers in a nonstandard directory <include dir> |
919 | headers in a nonstandard directory <include dir> |
927 | CPP |
920 | CPP C preprocessor |
928 | C preprocessor |
|
|
929 | CXX |
|
|
930 | C++ compiler command |
921 | CXX C++ compiler command |
931 | CXXFLAGS |
|
|
932 | C++ compiler flags |
922 | CXXFLAGS C++ compiler flags |
933 | CXXCPP |
|
|
934 | C++ preprocessor |
923 | CXXCPP C++ preprocessor |
935 | |
924 | |
936 | Use these variables to override the choices made by `configure' or to help |
925 | Use these variables to override the choices made by `configure' or to help |
937 | it to find libraries and programs with nonstandard names/locations. |
926 | it to find libraries and programs with nonstandard names/locations. |
938 | |
927 | |
939 | _ACEOF |
928 | _ACEOF |
… | |
… | |
1042 | cat >&5 <<_ACEOF |
1031 | cat >&5 <<_ACEOF |
1043 | This file contains any messages produced by compilers while |
1032 | This file contains any messages produced by compilers while |
1044 | running configure, to aid debugging if configure makes a mistake. |
1033 | running configure, to aid debugging if configure makes a mistake. |
1045 | |
1034 | |
1046 | It was created by $as_me, which was |
1035 | It was created by $as_me, which was |
1047 | generated by GNU Autoconf 2.58. Invocation command line was |
1036 | generated by GNU Autoconf 2.59. Invocation command line was |
1048 | |
1037 | |
1049 | $ $0 $@ |
1038 | $ $0 $@ |
1050 | |
1039 | |
1051 | _ACEOF |
1040 | _ACEOF |
1052 | { |
1041 | { |
… | |
… | |
1726 | fi |
1715 | fi |
1727 | |
1716 | |
1728 | |
1717 | |
1729 | # Define the identity of the package. |
1718 | # Define the identity of the package. |
1730 | PACKAGE=vpe |
1719 | PACKAGE=vpe |
1731 | VERSION=1.4 |
1720 | VERSION=1.5 |
1732 | |
1721 | |
1733 | |
1722 | |
1734 | cat >>confdefs.h <<_ACEOF |
1723 | cat >>confdefs.h <<_ACEOF |
1735 | #define PACKAGE "$PACKAGE" |
1724 | #define PACKAGE "$PACKAGE" |
1736 | _ACEOF |
1725 | _ACEOF |
… | |
… | |
4566 | cat >>confdefs.h <<\_ACEOF |
4555 | cat >>confdefs.h <<\_ACEOF |
4567 | #define _GNU_SOURCE 1 |
4556 | #define _GNU_SOURCE 1 |
4568 | _ACEOF |
4557 | _ACEOF |
4569 | |
4558 | |
4570 | |
4559 | |
4571 | cat >>confdefs.h <<\_ACEOF |
4560 | # do NOT define POSIX_SOURCE, sicne this clashes with many BSDs |
4572 | #define __USE_BSD 1 |
|
|
4573 | _ACEOF |
|
|
4574 | |
|
|
4575 | |
4561 | |
4576 | ALL_LINGUAS="" |
4562 | ALL_LINGUAS="" |
4577 | |
4563 | |
4578 | ac_ext=c |
4564 | ac_ext=c |
4579 | ac_cpp='$CPP $CPPFLAGS' |
4565 | ac_cpp='$CPP $CPPFLAGS' |
… | |
… | |
6391 | else |
6377 | else |
6392 | RANLIB="$ac_cv_prog_RANLIB" |
6378 | RANLIB="$ac_cv_prog_RANLIB" |
6393 | fi |
6379 | fi |
6394 | |
6380 | |
6395 | |
6381 | |
6396 | |
|
|
6397 | echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5 |
|
|
6398 | echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6 |
|
|
6399 | if test "${ac_cv_lib_cposix_strerror+set}" = set; then |
|
|
6400 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
6401 | else |
|
|
6402 | ac_check_lib_save_LIBS=$LIBS |
|
|
6403 | LIBS="-lcposix $LIBS" |
|
|
6404 | cat >conftest.$ac_ext <<_ACEOF |
|
|
6405 | /* confdefs.h. */ |
|
|
6406 | _ACEOF |
|
|
6407 | cat confdefs.h >>conftest.$ac_ext |
|
|
6408 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
6409 | /* end confdefs.h. */ |
|
|
6410 | |
|
|
6411 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
6412 | #ifdef __cplusplus |
|
|
6413 | extern "C" |
|
|
6414 | #endif |
|
|
6415 | /* We use char because int might match the return type of a gcc2 |
|
|
6416 | builtin and then its argument prototype would still apply. */ |
|
|
6417 | char strerror (); |
|
|
6418 | int |
|
|
6419 | main () |
|
|
6420 | { |
|
|
6421 | strerror (); |
|
|
6422 | ; |
|
|
6423 | return 0; |
|
|
6424 | } |
|
|
6425 | _ACEOF |
|
|
6426 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
6427 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
6428 | (eval $ac_link) 2>conftest.er1 |
|
|
6429 | ac_status=$? |
|
|
6430 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6431 | rm -f conftest.er1 |
|
|
6432 | cat conftest.err >&5 |
|
|
6433 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6434 | (exit $ac_status); } && |
|
|
6435 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
6436 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
6437 | (eval $ac_try) 2>&5 |
|
|
6438 | ac_status=$? |
|
|
6439 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6440 | (exit $ac_status); }; } && |
|
|
6441 | { ac_try='test -s conftest$ac_exeext' |
|
|
6442 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
6443 | (eval $ac_try) 2>&5 |
|
|
6444 | ac_status=$? |
|
|
6445 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6446 | (exit $ac_status); }; }; then |
|
|
6447 | ac_cv_lib_cposix_strerror=yes |
|
|
6448 | else |
|
|
6449 | echo "$as_me: failed program was:" >&5 |
|
|
6450 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
6451 | |
|
|
6452 | ac_cv_lib_cposix_strerror=no |
|
|
6453 | fi |
|
|
6454 | rm -f conftest.err conftest.$ac_objext \ |
|
|
6455 | conftest$ac_exeext conftest.$ac_ext |
|
|
6456 | LIBS=$ac_check_lib_save_LIBS |
|
|
6457 | fi |
|
|
6458 | echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5 |
|
|
6459 | echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6 |
|
|
6460 | if test $ac_cv_lib_cposix_strerror = yes; then |
|
|
6461 | LIBS="$LIBS -lcposix" |
|
|
6462 | fi |
|
|
6463 | |
|
|
6464 | |
|
|
6465 | |
|
|
6466 | |
|
|
6467 | # Check whether --enable-iftype or --disable-iftype was given. |
6382 | # Check whether --enable-iftype or --disable-iftype was given. |
6468 | if test "${enable_iftype+set}" = set; then |
6383 | if test "${enable_iftype+set}" = set; then |
6469 | enableval="$enable_iftype" |
6384 | enableval="$enable_iftype" |
6470 | |
6385 | |
6471 | IFTYPE=`echo $enableval | sed s%/.*%%` |
6386 | IFTYPE=`echo $enableval | sed s%/.*%%` |
… | |
… | |
7260 | |
7175 | |
7261 | |
7176 | |
7262 | |
7177 | |
7263 | |
7178 | |
7264 | |
7179 | |
7265 | |
|
|
7266 | for ac_header in fcntl.h inttypes.h limits.h malloc.h stdint.h strings.h syslog.h unistd.h \ |
7180 | for ac_header in fcntl.h inttypes.h limits.h malloc.h stdint.h strings.h syslog.h unistd.h \ |
7267 | sys/file.h sys/ioctl.h sys/param.h sys/time.h netinet/in_systm.h sys/cygwin.h arpa/inet.h \ |
7181 | sys/file.h sys/ioctl.h sys/param.h sys/time.h netinet/in_systm.h sys/cygwin.h \ |
7268 | sys/mman.h netinet/in.h |
7182 | sys/mman.h netinet/in.h |
7269 | do |
7183 | do |
7270 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7184 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7271 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7185 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7272 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7186 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
… | |
… | |
7416 | |
7330 | |
7417 | |
7331 | |
7418 | |
7332 | |
7419 | |
7333 | |
7420 | |
7334 | |
|
|
7335 | |
7421 | for ac_header in net/ethernet.h net/if.h netinet/ip.h netinet/tcp.h netinet/in_systm.h |
7336 | for ac_header in arpa/inet.h net/ethernet.h net/if.h netinet/ip.h netinet/tcp.h netinet/in_systm.h |
7422 | do |
7337 | do |
7423 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7338 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7424 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7339 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7425 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
7340 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
7426 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7341 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
… | |
… | |
10310 | _ASBOX |
10225 | _ASBOX |
10311 | } >&5 |
10226 | } >&5 |
10312 | cat >&5 <<_CSEOF |
10227 | cat >&5 <<_CSEOF |
10313 | |
10228 | |
10314 | This file was extended by $as_me, which was |
10229 | This file was extended by $as_me, which was |
10315 | generated by GNU Autoconf 2.58. Invocation command line was |
10230 | generated by GNU Autoconf 2.59. Invocation command line was |
10316 | |
10231 | |
10317 | CONFIG_FILES = $CONFIG_FILES |
10232 | CONFIG_FILES = $CONFIG_FILES |
10318 | CONFIG_HEADERS = $CONFIG_HEADERS |
10233 | CONFIG_HEADERS = $CONFIG_HEADERS |
10319 | CONFIG_LINKS = $CONFIG_LINKS |
10234 | CONFIG_LINKS = $CONFIG_LINKS |
10320 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
10235 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
… | |
… | |
10373 | _ACEOF |
10288 | _ACEOF |
10374 | |
10289 | |
10375 | cat >>$CONFIG_STATUS <<_ACEOF |
10290 | cat >>$CONFIG_STATUS <<_ACEOF |
10376 | ac_cs_version="\\ |
10291 | ac_cs_version="\\ |
10377 | config.status |
10292 | config.status |
10378 | configured by $0, generated by GNU Autoconf 2.58, |
10293 | configured by $0, generated by GNU Autoconf 2.59, |
10379 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
10294 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
10380 | |
10295 | |
10381 | Copyright (C) 2003 Free Software Foundation, Inc. |
10296 | Copyright (C) 2003 Free Software Foundation, Inc. |
10382 | This config.status script is free software; the Free Software Foundation |
10297 | This config.status script is free software; the Free Software Foundation |
10383 | gives unlimited permission to copy, distribute and modify it." |
10298 | gives unlimited permission to copy, distribute and modify it." |
… | |
… | |
11474 | echo "*** Digest used: $DIGEST" |
11389 | echo "*** Digest used: $DIGEST" |
11475 | echo "*** HMAC length: $HMAC" |
11390 | echo "*** HMAC length: $HMAC" |
11476 | echo "*** RAND used: $RAND" |
11391 | echo "*** RAND used: $RAND" |
11477 | echo "*** Max. MTU: $MTU" |
11392 | echo "*** Max. MTU: $MTU" |
11478 | echo "*** Compression: $COMPRESS" |
11393 | echo "*** Compression: $COMPRESS" |
|
|
11394 | |
|
|
11395 | if test "x$DIGEST" = xmd4; then |
11479 | echo "***" |
11396 | echo "***" |
11480 | |
|
|
11481 | if test "x$DIGEST" = xmd4; then |
|
|
11482 | echo "*** WARNING" |
|
|
11483 | echo "*** The digest you have chosen ($DIGEST) is known to be insecure" |
11397 | echo "*** WARNING: The digest you have chosen ($DIGEST) is known to be insecure" |
|
|
11398 | fi |
|
|
11399 | |
|
|
11400 | if test "$HMAC" -lt 12; then |
11484 | echo "***" |
11401 | echo "***" |
|
|
11402 | echo "*** WARNING: The hmac length you have chosen ($HMAC) might be insecure" |
11485 | fi |
11403 | fi |
|
|
11404 | |
|
|
11405 | if test "$RAND" -lt 8; then |
|
|
11406 | echo "***" |
|
|
11407 | echo "*** WARNING: The random prefix you have chosen ($RAND) might be insecure" |
|
|
11408 | fi |
|
|
11409 | |
|
|
11410 | echo "***" |
11486 | |
11411 | |
11487 | echo |
11412 | echo |
11488 | |
11413 | |
11489 | |
11414 | |
11490 | |
11415 | |