… | |
… | |
868 | --disable-rpath do not hardcode runtime library paths |
868 | --disable-rpath do not hardcode runtime library paths |
869 | --disable-nls do not use Native Language Support |
869 | --disable-nls do not use Native Language Support |
870 | --enable-iftype=TYPE/SUBTYPE |
870 | --enable-iftype=TYPE/SUBTYPE |
871 | Use kernel/net device interface TYPE/SUBTYPE. |
871 | Use kernel/net device interface TYPE/SUBTYPE. |
872 | Working combinations are: "native/linux" |
872 | Working combinations are: "native/linux" |
873 | "tincd/linux" "tincd/freebsd"; Untested combinations |
873 | "tincd/linux" "tincd/freebsd" "tincd/openbsd" |
|
|
874 | "tincd/darwin" "native/cygwin"; Untested |
874 | are: "tincd/netbsd" "tincd/darwin" "tincd/solaris" |
875 | combinations are: "tincd/netbsd" "tincd/solaris" |
875 | "tincd/openbsd" "tincd/cygwin"; Broken combinations |
876 | "tincd/mingw"; Broken combinations are: |
876 | are: "native/cygwin"; The default is to autodetect. |
877 | "tincd/cygwin"; The default is to autodetect. |
877 | --enable-rohc enable robust header compression (rfc3095). |
878 | --enable-rohc enable robust header compression (rfc3095). |
878 | --enable-icmp enable icmp protocol support (default disabled). |
879 | --enable-icmp enable icmp protocol support (default disabled). |
879 | --enable-tcp enable tcp protocol support (default disabled). |
880 | --enable-tcp enable tcp protocol support (default disabled). |
880 | --enable-http-proxy enable http proxy connect support (default |
881 | --enable-http-proxy enable http proxy connect support (default |
881 | disabled). |
882 | disabled). |
… | |
… | |
6283 | #define HAVE_NETBSD 1 |
6284 | #define HAVE_NETBSD 1 |
6284 | _ACEOF |
6285 | _ACEOF |
6285 | |
6286 | |
6286 | ;; |
6287 | ;; |
6287 | *cygwin*) |
6288 | *cygwin*) |
6288 | IFTYPE=tincd |
6289 | IFTYPE=native |
6289 | IFSUBTYPE=cygwin |
6290 | IFSUBTYPE=cygwin |
6290 | |
6291 | |
6291 | cat >>confdefs.h <<\_ACEOF |
6292 | cat >>confdefs.h <<\_ACEOF |
6292 | #define HAVE_CYGWIN 1 |
6293 | #define HAVE_CYGWIN 1 |
6293 | _ACEOF |
6294 | _ACEOF |
… | |
… | |
6303 | echo "$as_me:$LINENO: result: $IFTYPE/$IFSUBTYPE" >&5 |
6304 | echo "$as_me:$LINENO: result: $IFTYPE/$IFSUBTYPE" >&5 |
6304 | echo "${ECHO_T}$IFTYPE/$IFSUBTYPE" >&6 |
6305 | echo "${ECHO_T}$IFTYPE/$IFSUBTYPE" >&6 |
6305 | IFTYPE=$IFTYPE |
6306 | IFTYPE=$IFTYPE |
6306 | |
6307 | |
6307 | IFSUBTYPE=$IFSUBTYPE |
6308 | IFSUBTYPE=$IFSUBTYPE |
|
|
6309 | |
|
|
6310 | |
|
|
6311 | cat >>confdefs.h <<_ACEOF |
|
|
6312 | #define IFTYPE "$IFTYPE" |
|
|
6313 | _ACEOF |
|
|
6314 | |
|
|
6315 | |
|
|
6316 | cat >>confdefs.h <<_ACEOF |
|
|
6317 | #define IFSUBTYPE "$IFSUBTYPE" |
|
|
6318 | _ACEOF |
6308 | |
6319 | |
6309 | |
6320 | |
6310 | cat >confcache <<\_ACEOF |
6321 | cat >confcache <<\_ACEOF |
6311 | # This file is a shell script that caches the results of configure |
6322 | # This file is a shell script that caches the results of configure |
6312 | # tests run on this system so they can be shared between configure |
6323 | # tests run on this system so they can be shared between configure |
… | |
… | |
6984 | |
6995 | |
6985 | |
6996 | |
6986 | |
6997 | |
6987 | |
6998 | |
6988 | for ac_header in fcntl.h inttypes.h limits.h malloc.h stdint.h strings.h syslog.h unistd.h \ |
6999 | for ac_header in fcntl.h inttypes.h limits.h malloc.h stdint.h strings.h syslog.h unistd.h \ |
6989 | sys/file.h sys/ioctl.h sys/param.h sys/time.h netinet/in_systm.h cygwin.h arpa/inet.h \ |
7000 | sys/file.h sys/ioctl.h sys/param.h sys/time.h netinet/in_systm.h sys/cygwin.h arpa/inet.h \ |
6990 | sys/poll.h sys/mman.h netinet/in.h |
7001 | sys/poll.h sys/mman.h netinet/in.h |
6991 | do |
7002 | do |
6992 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7003 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6993 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7004 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6994 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7005 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
… | |
… | |
7518 | _ACEOF |
7529 | _ACEOF |
7519 | |
7530 | |
7520 | fi |
7531 | fi |
7521 | |
7532 | |
7522 | |
7533 | |
7523 | |
|
|
7524 | for ac_func in poll |
|
|
7525 | do |
|
|
7526 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
7527 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
|
7528 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
|
|
7529 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
|
|
7530 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7531 | else |
|
|
7532 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7533 | #line $LINENO "configure" |
|
|
7534 | /* confdefs.h. */ |
|
|
7535 | _ACEOF |
|
|
7536 | cat confdefs.h >>conftest.$ac_ext |
|
|
7537 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7538 | /* end confdefs.h. */ |
|
|
7539 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
7540 | which can conflict with char $ac_func (); below. |
|
|
7541 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
7542 | <limits.h> exists even on freestanding compilers. */ |
|
|
7543 | #ifdef __STDC__ |
|
|
7544 | # include <limits.h> |
|
|
7545 | #else |
|
|
7546 | # include <assert.h> |
|
|
7547 | #endif |
|
|
7548 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
7549 | #ifdef __cplusplus |
|
|
7550 | extern "C" |
|
|
7551 | { |
|
|
7552 | #endif |
|
|
7553 | /* We use char because int might match the return type of a gcc2 |
|
|
7554 | builtin and then its argument prototype would still apply. */ |
|
|
7555 | char $ac_func (); |
|
|
7556 | /* The GNU C library defines this for functions which it implements |
|
|
7557 | to always fail with ENOSYS. Some functions are actually named |
|
|
7558 | something starting with __ and the normal name is an alias. */ |
|
|
7559 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
|
|
7560 | choke me |
|
|
7561 | #else |
|
|
7562 | char (*f) () = $ac_func; |
|
|
7563 | #endif |
|
|
7564 | #ifdef __cplusplus |
|
|
7565 | } |
|
|
7566 | #endif |
|
|
7567 | |
|
|
7568 | int |
|
|
7569 | main () |
|
|
7570 | { |
|
|
7571 | return f != $ac_func; |
|
|
7572 | ; |
|
|
7573 | return 0; |
|
|
7574 | } |
|
|
7575 | _ACEOF |
|
|
7576 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
7577 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
7578 | (eval $ac_link) 2>&5 |
|
|
7579 | ac_status=$? |
|
|
7580 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7581 | (exit $ac_status); } && |
|
|
7582 | { ac_try='test -s conftest$ac_exeext' |
|
|
7583 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7584 | (eval $ac_try) 2>&5 |
|
|
7585 | ac_status=$? |
|
|
7586 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7587 | (exit $ac_status); }; }; then |
|
|
7588 | eval "$as_ac_var=yes" |
|
|
7589 | else |
|
|
7590 | echo "$as_me: failed program was:" >&5 |
|
|
7591 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7592 | |
|
|
7593 | eval "$as_ac_var=no" |
|
|
7594 | fi |
|
|
7595 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
|
|
7596 | fi |
|
|
7597 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
|
|
7598 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
|
|
7599 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
|
7600 | cat >>confdefs.h <<_ACEOF |
|
|
7601 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
7602 | _ACEOF |
|
|
7603 | |
|
|
7604 | fi |
|
|
7605 | done |
|
|
7606 | |
|
|
7607 | |
|
|
7608 | echo "$as_me:$LINENO: checking for socklen_t" >&5 |
7534 | echo "$as_me:$LINENO: checking for socklen_t" >&5 |
7609 | echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6 |
7535 | echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6 |
7610 | if test "${ac_cv_type_socklen_t+set}" = set; then |
7536 | if test "${ac_cv_type_socklen_t+set}" = set; then |
7611 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7537 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7612 | else |
7538 | else |
… | |
… | |
7953 | |
7879 | |
7954 | |
7880 | |
7955 | |
7881 | |
7956 | |
7882 | |
7957 | |
7883 | |
|
|
7884 | |
7958 | for ac_func in asprintf daemon get_current_dir_name putenv select strerror strsignal strtol unsetenv mlockall |
7885 | for ac_func in asprintf daemon get_current_dir_name putenv select strerror strsignal strtol unsetenv mlockall poll |
7959 | do |
7886 | do |
7960 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
7887 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
7961 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
7888 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
7962 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
7889 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
7963 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
7890 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
… | |
… | |
8827 | #define LINUX_IF_TUN_H $tinc_cv_linux_if_tun_h |
8754 | #define LINUX_IF_TUN_H $tinc_cv_linux_if_tun_h |
8828 | _ACEOF |
8755 | _ACEOF |
8829 | |
8756 | |
8830 | fi |
8757 | fi |
8831 | fi |
8758 | fi |
|
|
8759 | |
8832 | |
8760 | |
8833 | |
8761 | |
8834 | |
8762 | |
8835 | |
8763 | |
8836 | tinc_ac_save_CPPFLAGS="$CPPFLAGS" |
8764 | tinc_ac_save_CPPFLAGS="$CPPFLAGS" |
… | |
… | |
9301 | |
9229 | |
9302 | |
9230 | |
9303 | fi |
9231 | fi |
9304 | |
9232 | |
9305 | |
9233 | |
|
|
9234 | if test "x$openssl_include" != x; then |
|
|
9235 | CXXFLAGS="$CXXFLAGS -I$openssl_include" |
|
|
9236 | fi |
9306 | |
9237 | |
9307 | # Check whether --enable-rohc or --disable-rohc was given. |
9238 | # Check whether --enable-rohc or --disable-rohc was given. |
9308 | if test "${enable_rohc+set}" = set; then |
9239 | if test "${enable_rohc+set}" = set; then |
9309 | enableval="$enable_rohc" |
9240 | enableval="$enable_rohc" |
9310 | |
9241 | |
… | |
… | |
9357 | _ACEOF |
9288 | _ACEOF |
9358 | |
9289 | |
9359 | |
9290 | |
9360 | fi; |
9291 | fi; |
9361 | |
9292 | |
9362 | HMAC=12 # Check whether --enable-hmac-length or --disable-hmac-length was given. |
9293 | HMAC=8 # Check whether --enable-hmac-length or --disable-hmac-length was given. |
9363 | if test "${enable_hmac_length+set}" = set; then |
9294 | if test "${enable_hmac_length+set}" = set; then |
9364 | enableval="$enable_hmac_length" |
9295 | enableval="$enable_hmac_length" |
9365 | HMAC=$enableval |
9296 | HMAC=$enableval |
9366 | |
9297 | |
9367 | fi; |
9298 | fi; |