… | |
… | |
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"; Untested combinations |
874 | are: "tincd/netbsd" "tincd/darwin" "tincd/solaris" |
874 | are: "tincd/netbsd" "tincd/darwin" "tincd/solaris" |
875 | "tincd/openbsd" "tincd/cygwin"; Broken combinations |
875 | "tincd/openbsd"; Broken combinations are: |
876 | are: "native/cygwin"; The default is to autodetect. |
876 | "tincd/cygwin"; The default is to autodetect. |
877 | --enable-rohc enable robust header compression (rfc3095). |
877 | --enable-rohc enable robust header compression (rfc3095). |
878 | --enable-icmp enable icmp protocol support (default disabled). |
878 | --enable-icmp enable icmp protocol support (default disabled). |
879 | --enable-tcp enable tcp protocol support (default disabled). |
879 | --enable-tcp enable tcp protocol support (default disabled). |
880 | --enable-http-proxy enable http proxy connect support (default |
880 | --enable-http-proxy enable http proxy connect support (default |
881 | disabled). |
881 | disabled). |
… | |
… | |
6283 | #define HAVE_NETBSD 1 |
6283 | #define HAVE_NETBSD 1 |
6284 | _ACEOF |
6284 | _ACEOF |
6285 | |
6285 | |
6286 | ;; |
6286 | ;; |
6287 | *cygwin*) |
6287 | *cygwin*) |
6288 | IFTYPE=tincd |
6288 | IFTYPE=native |
6289 | IFSUBTYPE=cygwin |
6289 | IFSUBTYPE=cygwin |
6290 | |
6290 | |
6291 | cat >>confdefs.h <<\_ACEOF |
6291 | cat >>confdefs.h <<\_ACEOF |
6292 | #define HAVE_CYGWIN 1 |
6292 | #define HAVE_CYGWIN 1 |
6293 | _ACEOF |
6293 | _ACEOF |
… | |
… | |
6984 | |
6984 | |
6985 | |
6985 | |
6986 | |
6986 | |
6987 | |
6987 | |
6988 | for ac_header in fcntl.h inttypes.h limits.h malloc.h stdint.h strings.h syslog.h unistd.h \ |
6988 | 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 \ |
6989 | 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 |
6990 | sys/poll.h sys/mman.h netinet/in.h |
6991 | do |
6991 | do |
6992 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6992 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6993 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6993 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6994 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6994 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
… | |
… | |
7518 | _ACEOF |
7518 | _ACEOF |
7519 | |
7519 | |
7520 | fi |
7520 | fi |
7521 | |
7521 | |
7522 | |
7522 | |
7523 | |
|
|
7524 | |
|
|
7525 | for ac_func in poll mlockall |
|
|
7526 | do |
|
|
7527 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
7528 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
|
7529 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
|
|
7530 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
|
|
7531 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7532 | else |
|
|
7533 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7534 | #line $LINENO "configure" |
|
|
7535 | /* confdefs.h. */ |
|
|
7536 | _ACEOF |
|
|
7537 | cat confdefs.h >>conftest.$ac_ext |
|
|
7538 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7539 | /* end confdefs.h. */ |
|
|
7540 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
7541 | which can conflict with char $ac_func (); below. |
|
|
7542 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
7543 | <limits.h> exists even on freestanding compilers. */ |
|
|
7544 | #ifdef __STDC__ |
|
|
7545 | # include <limits.h> |
|
|
7546 | #else |
|
|
7547 | # include <assert.h> |
|
|
7548 | #endif |
|
|
7549 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
7550 | #ifdef __cplusplus |
|
|
7551 | extern "C" |
|
|
7552 | { |
|
|
7553 | #endif |
|
|
7554 | /* We use char because int might match the return type of a gcc2 |
|
|
7555 | builtin and then its argument prototype would still apply. */ |
|
|
7556 | char $ac_func (); |
|
|
7557 | /* The GNU C library defines this for functions which it implements |
|
|
7558 | to always fail with ENOSYS. Some functions are actually named |
|
|
7559 | something starting with __ and the normal name is an alias. */ |
|
|
7560 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
|
|
7561 | choke me |
|
|
7562 | #else |
|
|
7563 | char (*f) () = $ac_func; |
|
|
7564 | #endif |
|
|
7565 | #ifdef __cplusplus |
|
|
7566 | } |
|
|
7567 | #endif |
|
|
7568 | |
|
|
7569 | int |
|
|
7570 | main () |
|
|
7571 | { |
|
|
7572 | return f != $ac_func; |
|
|
7573 | ; |
|
|
7574 | return 0; |
|
|
7575 | } |
|
|
7576 | _ACEOF |
|
|
7577 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
7578 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
7579 | (eval $ac_link) 2>&5 |
|
|
7580 | ac_status=$? |
|
|
7581 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7582 | (exit $ac_status); } && |
|
|
7583 | { ac_try='test -s conftest$ac_exeext' |
|
|
7584 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7585 | (eval $ac_try) 2>&5 |
|
|
7586 | ac_status=$? |
|
|
7587 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7588 | (exit $ac_status); }; }; then |
|
|
7589 | eval "$as_ac_var=yes" |
|
|
7590 | else |
|
|
7591 | echo "$as_me: failed program was:" >&5 |
|
|
7592 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7593 | |
|
|
7594 | eval "$as_ac_var=no" |
|
|
7595 | fi |
|
|
7596 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
|
|
7597 | fi |
|
|
7598 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
|
|
7599 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
|
|
7600 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
|
7601 | cat >>confdefs.h <<_ACEOF |
|
|
7602 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
7603 | _ACEOF |
|
|
7604 | |
|
|
7605 | fi |
|
|
7606 | done |
|
|
7607 | |
|
|
7608 | |
|
|
7609 | echo "$as_me:$LINENO: checking for socklen_t" >&5 |
7523 | echo "$as_me:$LINENO: checking for socklen_t" >&5 |
7610 | echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6 |
7524 | echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6 |
7611 | if test "${ac_cv_type_socklen_t+set}" = set; then |
7525 | if test "${ac_cv_type_socklen_t+set}" = set; then |
7612 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7526 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7613 | else |
7527 | else |
… | |
… | |
7954 | |
7868 | |
7955 | |
7869 | |
7956 | |
7870 | |
7957 | |
7871 | |
7958 | |
7872 | |
|
|
7873 | |
7959 | for ac_func in asprintf daemon get_current_dir_name putenv select strerror strsignal strtol unsetenv mlockall |
7874 | for ac_func in asprintf daemon get_current_dir_name putenv select strerror strsignal strtol unsetenv mlockall poll |
7960 | do |
7875 | do |
7961 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
7876 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
7962 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
7877 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
7963 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
7878 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
7964 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
7879 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
… | |
… | |
8828 | #define LINUX_IF_TUN_H $tinc_cv_linux_if_tun_h |
8743 | #define LINUX_IF_TUN_H $tinc_cv_linux_if_tun_h |
8829 | _ACEOF |
8744 | _ACEOF |
8830 | |
8745 | |
8831 | fi |
8746 | fi |
8832 | fi |
8747 | fi |
|
|
8748 | |
8833 | |
8749 | |
8834 | |
8750 | |
8835 | |
8751 | |
8836 | |
8752 | |
8837 | tinc_ac_save_CPPFLAGS="$CPPFLAGS" |
8753 | tinc_ac_save_CPPFLAGS="$CPPFLAGS" |
… | |
… | |
9302 | |
9218 | |
9303 | |
9219 | |
9304 | fi |
9220 | fi |
9305 | |
9221 | |
9306 | |
9222 | |
|
|
9223 | if test "x$openssl_include" != x; then |
|
|
9224 | CXXFLAGS="$CXXFLAGS -I$openssl_include" |
|
|
9225 | fi |
9307 | |
9226 | |
9308 | # Check whether --enable-rohc or --disable-rohc was given. |
9227 | # Check whether --enable-rohc or --disable-rohc was given. |
9309 | if test "${enable_rohc+set}" = set; then |
9228 | if test "${enable_rohc+set}" = set; then |
9310 | enableval="$enable_rohc" |
9229 | enableval="$enable_rohc" |
9311 | |
9230 | |