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

Comparing gvpe/configure (file contents):
Revision 1.46 by root, Sun Mar 6 13:49:49 2011 UTC vs.
Revision 1.48 by root, Tue Jun 21 16:27:32 2011 UTC

732with_libintl_prefix 732with_libintl_prefix
733enable_iftype 733enable_iftype
734with_kernel 734with_kernel
735with_openssl_include 735with_openssl_include
736with_openssl_lib 736with_openssl_lib
737enable_threads
737enable_static_daemon 738enable_static_daemon
738enable_icmp 739enable_icmp
739enable_tcp 740enable_tcp
740enable_http_proxy 741enable_http_proxy
741enable_dns 742enable_dns
1392 "tincd/darwin" "native/cygwin"; Untested 1393 "tincd/darwin" "native/cygwin"; Untested
1393 combinations are: "tincd/bsd" "tincd/solaris" 1394 combinations are: "tincd/bsd" "tincd/solaris"
1394 "tincd/mingw" "tincd/raw_socket" "tincd/uml_socket"; 1395 "tincd/mingw" "tincd/raw_socket" "tincd/uml_socket";
1395 Broken combinations are: "tincd/cygwin"; The default 1396 Broken combinations are: "tincd/cygwin"; The default
1396 is to autodetect. 1397 is to autodetect.
1398 --enable-threads try to use threads for long-running asynchronous
1399 operations (default enabled).
1397 --enable-static-daemon enable statically linked daemon. 1400 --enable-static-daemon enable statically linked daemon.
1398 --disable-icmp enable icmp protocol support (default enabled). 1401 --disable-icmp enable icmp protocol support (default enabled).
1399 --disable-tcp enable tcp protocol support (default enabled). 1402 --disable-tcp enable tcp protocol support (default enabled).
1400 --disable-http-proxy enable http proxy connect support (default enabled). 1403 --disable-http-proxy enable http proxy connect support (default enabled).
1401 --enable-dns enable dns tunnel protocol support (default 1404 --enable-dns enable dns tunnel protocol support (default
8203done 8206done
8204 8207
8205 8208
8206 CPPFLAGS="$tinc_ac_save_CPPFLAGS" 8209 CPPFLAGS="$tinc_ac_save_CPPFLAGS"
8207 8210
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1_version in -lcrypto" >&5 8211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1_Init in -lcrypto" >&5
8209$as_echo_n "checking for SHA1_version in -lcrypto... " >&6; } 8212$as_echo_n "checking for SHA1_Init in -lcrypto... " >&6; }
8210if test "${ac_cv_lib_crypto_SHA1_version+set}" = set; then : 8213if test "${ac_cv_lib_crypto_SHA1_Init+set}" = set; then :
8211 $as_echo_n "(cached) " >&6 8214 $as_echo_n "(cached) " >&6
8212else 8215else
8213 ac_check_lib_save_LIBS=$LIBS 8216 ac_check_lib_save_LIBS=$LIBS
8214LIBS="-lcrypto $LIBS" 8217LIBS="-lcrypto $LIBS"
8215cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8218cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8219 Use char because int might match the return type of a GCC 8222 Use char because int might match the return type of a GCC
8220 builtin and then its argument prototype would still apply. */ 8223 builtin and then its argument prototype would still apply. */
8221#ifdef __cplusplus 8224#ifdef __cplusplus
8222extern "C" 8225extern "C"
8223#endif 8226#endif
8224char SHA1_version (); 8227char SHA1_Init ();
8225int 8228int
8226main () 8229main ()
8227{ 8230{
8228return SHA1_version (); 8231return SHA1_Init ();
8229 ; 8232 ;
8230 return 0; 8233 return 0;
8231} 8234}
8232_ACEOF 8235_ACEOF
8233if ac_fn_cxx_try_link "$LINENO"; then : 8236if ac_fn_cxx_try_link "$LINENO"; then :
8234 ac_cv_lib_crypto_SHA1_version=yes 8237 ac_cv_lib_crypto_SHA1_Init=yes
8235else 8238else
8236 ac_cv_lib_crypto_SHA1_version=no 8239 ac_cv_lib_crypto_SHA1_Init=no
8237fi 8240fi
8238rm -f core conftest.err conftest.$ac_objext \ 8241rm -f core conftest.err conftest.$ac_objext \
8239 conftest$ac_exeext conftest.$ac_ext 8242 conftest$ac_exeext conftest.$ac_ext
8240LIBS=$ac_check_lib_save_LIBS 8243LIBS=$ac_check_lib_save_LIBS
8241fi 8244fi
8242{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA1_version" >&5 8245{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA1_Init" >&5
8243$as_echo "$ac_cv_lib_crypto_SHA1_version" >&6; } 8246$as_echo "$ac_cv_lib_crypto_SHA1_Init" >&6; }
8244if test "x$ac_cv_lib_crypto_SHA1_version" = x""yes; then : 8247if test "x$ac_cv_lib_crypto_SHA1_Init" = x""yes; then :
8245 LIBS="$LIBS -lcrypto" 8248 LIBS="$LIBS -lcrypto"
8246else 8249else
8247 as_fn_error $? "OpenSSL libraries not found." "$LINENO" 5 8250 as_fn_error $? "OpenSSL libraries not found." "$LINENO" 5
8248 8251
8249fi 8252fi
8364fi 8367fi
8365 8368
8366 8369
8367if test "x$openssl_include" != x; then 8370if test "x$openssl_include" != x; then
8368 CXXFLAGS="$CXXFLAGS -I$openssl_include" 8371 CXXFLAGS="$CXXFLAGS -I$openssl_include"
8372fi
8373
8374# Check whether --enable-threads was given.
8375if test "${enable_threads+set}" = set; then :
8376 enableval=$enable_threads; try_threads=$enableval
8377else
8378 try_threads=yes
8379
8380fi
8381
8382
8383if test "x$try_threads" = xyes; then
8384 ac_fn_cxx_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8385if test "x$ac_cv_header_pthread_h" = x""yes; then :
8386
8387 LIBS="$LIBS -lpthread"
8388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8389/* end confdefs.h. */
8390#include <pthread.h>
8391int
8392main ()
8393{
8394pthread_t id; pthread_create (&id, 0, 0, 0);
8395 ;
8396 return 0;
8397}
8398_ACEOF
8399if ac_fn_cxx_try_compile "$LINENO"; then :
8400
8401cat >>confdefs.h <<_ACEOF
8402#define ENABLE_PTHREADS 1
8403_ACEOF
8404
8405
8406fi
8407rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8408
8409fi
8410
8411
8369fi 8412fi
8370 8413
8371# Check whether --enable-static-daemon was given. 8414# Check whether --enable-static-daemon was given.
8372if test "${enable_static_daemon+set}" = set; then : 8415if test "${enable_static_daemon+set}" = set; then :
8373 enableval=$enable_static_daemon; LDFLAGS_DAEMON=-static 8416 enableval=$enable_static_daemon; LDFLAGS_DAEMON=-static
10189if test "x$DIGEST" = xmd4; then 10232if test "x$DIGEST" = xmd4; then
10190echo "***" 10233echo "***"
10191echo "*** WARNING: The digest you have chosen ($DIGEST) is known to be insecure" 10234echo "*** WARNING: The digest you have chosen ($DIGEST) is known to be insecure"
10192fi 10235fi
10193 10236
10237if test "x$DIGEST" = xmd5; then
10238echo "***"
10239echo "*** WARNING: The digest you have chosen ($DIGEST) is probably insecure"
10240fi
10241
10194if test "$HMAC" -lt 12; then 10242if test "$HMAC" -lt 12; then
10195echo "***" 10243echo "***"
10196echo "*** WARNING: The hmac length you have chosen ($HMAC) is probably insecure" 10244echo "*** WARNING: The hmac length you have chosen ($HMAC) is probably insecure"
10197fi 10245fi
10198 10246

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines