--- gvpe/configure 2011/03/08 17:33:30 1.47 +++ gvpe/configure 2011/10/18 13:24:01 1.49 @@ -8208,9 +8208,9 @@ CPPFLAGS="$tinc_ac_save_CPPFLAGS" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1_version in -lcrypto" >&5 -$as_echo_n "checking for SHA1_version in -lcrypto... " >&6; } -if test "${ac_cv_lib_crypto_SHA1_version+set}" = set; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1_Init in -lcrypto" >&5 +$as_echo_n "checking for SHA1_Init in -lcrypto... " >&6; } +if test "${ac_cv_lib_crypto_SHA1_Init+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -8224,27 +8224,27 @@ #ifdef __cplusplus extern "C" #endif -char SHA1_version (); +char SHA1_Init (); int main () { -return SHA1_version (); +return SHA1_Init (); ; return 0; } _ACEOF if ac_fn_cxx_try_link "$LINENO"; then : - ac_cv_lib_crypto_SHA1_version=yes + ac_cv_lib_crypto_SHA1_Init=yes else - ac_cv_lib_crypto_SHA1_version=no + ac_cv_lib_crypto_SHA1_Init=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA1_version" >&5 -$as_echo "$ac_cv_lib_crypto_SHA1_version" >&6; } -if test "x$ac_cv_lib_crypto_SHA1_version" = x""yes; then : +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA1_Init" >&5 +$as_echo "$ac_cv_lib_crypto_SHA1_Init" >&6; } +if test "x$ac_cv_lib_crypto_SHA1_Init" = x""yes; then : LIBS="$LIBS -lcrypto" else as_fn_error $? "OpenSSL libraries not found." "$LINENO" 5 @@ -8579,7 +8579,7 @@ cat >>confdefs.h <<_ACEOF -#define MAX_MTU $MTU + 14 +#define MAX_MTU ($MTU + 14) _ACEOF