ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/configure
(Generate patch)

Comparing gvpe/configure (file contents):
Revision 1.2 by pcg, Tue Oct 14 19:45:35 2003 UTC vs.
Revision 1.9 by pcg, Thu Oct 16 21:57:54 2003 UTC

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
6291cat >>confdefs.h <<\_ACEOF 6292cat >>confdefs.h <<\_ACEOF
6292#define HAVE_CYGWIN 1 6293#define HAVE_CYGWIN 1
6293_ACEOF 6294_ACEOF
6303echo "$as_me:$LINENO: result: $IFTYPE/$IFSUBTYPE" >&5 6304echo "$as_me:$LINENO: result: $IFTYPE/$IFSUBTYPE" >&5
6304echo "${ECHO_T}$IFTYPE/$IFSUBTYPE" >&6 6305echo "${ECHO_T}$IFTYPE/$IFSUBTYPE" >&6
6305IFTYPE=$IFTYPE 6306IFTYPE=$IFTYPE
6306 6307
6307IFSUBTYPE=$IFSUBTYPE 6308IFSUBTYPE=$IFSUBTYPE
6309
6310
6311cat >>confdefs.h <<_ACEOF
6312#define IFTYPE "$IFTYPE"
6313_ACEOF
6314
6315
6316cat >>confdefs.h <<_ACEOF
6317#define IFSUBTYPE "$IFSUBTYPE"
6318_ACEOF
6308 6319
6309 6320
6310cat >confcache <<\_ACEOF 6321cat >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
6988for ac_header in fcntl.h inttypes.h limits.h malloc.h stdint.h strings.h syslog.h unistd.h \ 6999for 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
6991do 7002do
6992as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7003as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6993if eval "test \"\${$as_ac_Header+set}\" = set"; then 7004if 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
7520fi 7531fi
7521 7532
7522 7533
7523
7524
7525for ac_func in poll mlockall
7526do
7527as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7528echo "$as_me:$LINENO: checking for $ac_func" >&5
7529echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7530if eval "test \"\${$as_ac_var+set}\" = set"; then
7531 echo $ECHO_N "(cached) $ECHO_C" >&6
7532else
7533 cat >conftest.$ac_ext <<_ACEOF
7534#line $LINENO "configure"
7535/* confdefs.h. */
7536_ACEOF
7537cat confdefs.h >>conftest.$ac_ext
7538cat >>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
7551extern "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. */
7556char $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)
7561choke me
7562#else
7563char (*f) () = $ac_func;
7564#endif
7565#ifdef __cplusplus
7566}
7567#endif
7568
7569int
7570main ()
7571{
7572return f != $ac_func;
7573 ;
7574 return 0;
7575}
7576_ACEOF
7577rm -f conftest.$ac_objext conftest$ac_exeext
7578if { (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"
7590else
7591 echo "$as_me: failed program was:" >&5
7592sed 's/^/| /' conftest.$ac_ext >&5
7593
7594eval "$as_ac_var=no"
7595fi
7596rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7597fi
7598echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7599echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7600if 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
7605fi
7606done
7607
7608
7609echo "$as_me:$LINENO: checking for socklen_t" >&5 7534echo "$as_me:$LINENO: checking for socklen_t" >&5
7610echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6 7535echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
7611if test "${ac_cv_type_socklen_t+set}" = set; then 7536if test "${ac_cv_type_socklen_t+set}" = set; then
7612 echo $ECHO_N "(cached) $ECHO_C" >&6 7537 echo $ECHO_N "(cached) $ECHO_C" >&6
7613else 7538else
7954 7879
7955 7880
7956 7881
7957 7882
7958 7883
7884
7959for ac_func in asprintf daemon get_current_dir_name putenv select strerror strsignal strtol unsetenv mlockall 7885for ac_func in asprintf daemon get_current_dir_name putenv select strerror strsignal strtol unsetenv mlockall poll
7960do 7886do
7961as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 7887as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7962echo "$as_me:$LINENO: checking for $ac_func" >&5 7888echo "$as_me:$LINENO: checking for $ac_func" >&5
7963echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 7889echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7964if eval "test \"\${$as_ac_var+set}\" = set"; then 7890if eval "test \"\${$as_ac_var+set}\" = set"; then
8828#define LINUX_IF_TUN_H $tinc_cv_linux_if_tun_h 8754#define LINUX_IF_TUN_H $tinc_cv_linux_if_tun_h
8829_ACEOF 8755_ACEOF
8830 8756
8831 fi 8757 fi
8832fi 8758fi
8759
8833 8760
8834 8761
8835 8762
8836 8763
8837 tinc_ac_save_CPPFLAGS="$CPPFLAGS" 8764 tinc_ac_save_CPPFLAGS="$CPPFLAGS"
9302 9229
9303 9230
9304fi 9231fi
9305 9232
9306 9233
9234if test "x$openssl_include" != x; then
9235 CXXFLAGS="$CXXFLAGS -I$openssl_include"
9236fi
9307 9237
9308# Check whether --enable-rohc or --disable-rohc was given. 9238# Check whether --enable-rohc or --disable-rohc was given.
9309if test "${enable_rohc+set}" = set; then 9239if test "${enable_rohc+set}" = set; then
9310 enableval="$enable_rohc" 9240 enableval="$enable_rohc"
9311 9241
9358_ACEOF 9288_ACEOF
9359 9289
9360 9290
9361fi; 9291fi;
9362 9292
9363HMAC=12 # Check whether --enable-hmac-length or --disable-hmac-length was given. 9293HMAC=8 # Check whether --enable-hmac-length or --disable-hmac-length was given.
9364if test "${enable_hmac_length+set}" = set; then 9294if test "${enable_hmac_length+set}" = set; then
9365 enableval="$enable_hmac_length" 9295 enableval="$enable_hmac_length"
9366 HMAC=$enableval 9296 HMAC=$enableval
9367 9297
9368fi; 9298fi;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines