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

Comparing gvpe/configure (file contents):
Revision 1.1 by pcg, Tue Oct 14 19:39:39 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
7524for ac_func in poll
7525do
7526as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7527echo "$as_me:$LINENO: checking for $ac_func" >&5
7528echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7529if eval "test \"\${$as_ac_var+set}\" = set"; then
7530 echo $ECHO_N "(cached) $ECHO_C" >&6
7531else
7532 cat >conftest.$ac_ext <<_ACEOF
7533#line $LINENO "configure"
7534/* confdefs.h. */
7535_ACEOF
7536cat confdefs.h >>conftest.$ac_ext
7537cat >>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
7550extern "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. */
7555char $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)
7560choke me
7561#else
7562char (*f) () = $ac_func;
7563#endif
7564#ifdef __cplusplus
7565}
7566#endif
7567
7568int
7569main ()
7570{
7571return f != $ac_func;
7572 ;
7573 return 0;
7574}
7575_ACEOF
7576rm -f conftest.$ac_objext conftest$ac_exeext
7577if { (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"
7589else
7590 echo "$as_me: failed program was:" >&5
7591sed 's/^/| /' conftest.$ac_ext >&5
7592
7593eval "$as_ac_var=no"
7594fi
7595rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7596fi
7597echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7598echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7599if 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
7604fi
7605done
7606
7607
7608echo "$as_me:$LINENO: checking for socklen_t" >&5 7534echo "$as_me:$LINENO: checking for socklen_t" >&5
7609echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6 7535echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
7610if test "${ac_cv_type_socklen_t+set}" = set; then 7536if 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
7612else 7538else
7953 7879
7954 7880
7955 7881
7956 7882
7957 7883
7884
7958for 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
7959do 7886do
7960as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 7887as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7961echo "$as_me:$LINENO: checking for $ac_func" >&5 7888echo "$as_me:$LINENO: checking for $ac_func" >&5
7962echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 7889echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7963if eval "test \"\${$as_ac_var+set}\" = set"; then 7890if 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
8831fi 8758fi
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
9303fi 9231fi
9304 9232
9305 9233
9234if test "x$openssl_include" != x; then
9235 CXXFLAGS="$CXXFLAGS -I$openssl_include"
9236fi
9306 9237
9307# Check whether --enable-rohc or --disable-rohc was given. 9238# Check whether --enable-rohc or --disable-rohc was given.
9308if test "${enable_rohc+set}" = set; then 9239if test "${enable_rohc+set}" = set; then
9309 enableval="$enable_rohc" 9240 enableval="$enable_rohc"
9310 9241
9357_ACEOF 9288_ACEOF
9358 9289
9359 9290
9360fi; 9291fi;
9361 9292
9362HMAC=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.
9363if test "${enable_hmac_length+set}" = set; then 9294if 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
9367fi; 9298fi;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines