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

Comparing gvpe/configure (file contents):
Revision 1.47 by root, Tue Mar 8 17:33:30 2011 UTC vs.
Revision 1.48 by root, Tue Jun 21 16:27:32 2011 UTC

8206done 8206done
8207 8207
8208 8208
8209 CPPFLAGS="$tinc_ac_save_CPPFLAGS" 8209 CPPFLAGS="$tinc_ac_save_CPPFLAGS"
8210 8210
8211 { $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
8212$as_echo_n "checking for SHA1_version in -lcrypto... " >&6; } 8212$as_echo_n "checking for SHA1_Init in -lcrypto... " >&6; }
8213if test "${ac_cv_lib_crypto_SHA1_version+set}" = set; then : 8213if test "${ac_cv_lib_crypto_SHA1_Init+set}" = set; then :
8214 $as_echo_n "(cached) " >&6 8214 $as_echo_n "(cached) " >&6
8215else 8215else
8216 ac_check_lib_save_LIBS=$LIBS 8216 ac_check_lib_save_LIBS=$LIBS
8217LIBS="-lcrypto $LIBS" 8217LIBS="-lcrypto $LIBS"
8218cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8218cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8222 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
8223 builtin and then its argument prototype would still apply. */ 8223 builtin and then its argument prototype would still apply. */
8224#ifdef __cplusplus 8224#ifdef __cplusplus
8225extern "C" 8225extern "C"
8226#endif 8226#endif
8227char SHA1_version (); 8227char SHA1_Init ();
8228int 8228int
8229main () 8229main ()
8230{ 8230{
8231return SHA1_version (); 8231return SHA1_Init ();
8232 ; 8232 ;
8233 return 0; 8233 return 0;
8234} 8234}
8235_ACEOF 8235_ACEOF
8236if ac_fn_cxx_try_link "$LINENO"; then : 8236if ac_fn_cxx_try_link "$LINENO"; then :
8237 ac_cv_lib_crypto_SHA1_version=yes 8237 ac_cv_lib_crypto_SHA1_Init=yes
8238else 8238else
8239 ac_cv_lib_crypto_SHA1_version=no 8239 ac_cv_lib_crypto_SHA1_Init=no
8240fi 8240fi
8241rm -f core conftest.err conftest.$ac_objext \ 8241rm -f core conftest.err conftest.$ac_objext \
8242 conftest$ac_exeext conftest.$ac_ext 8242 conftest$ac_exeext conftest.$ac_ext
8243LIBS=$ac_check_lib_save_LIBS 8243LIBS=$ac_check_lib_save_LIBS
8244fi 8244fi
8245{ $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
8246$as_echo "$ac_cv_lib_crypto_SHA1_version" >&6; } 8246$as_echo "$ac_cv_lib_crypto_SHA1_Init" >&6; }
8247if test "x$ac_cv_lib_crypto_SHA1_version" = x""yes; then : 8247if test "x$ac_cv_lib_crypto_SHA1_Init" = x""yes; then :
8248 LIBS="$LIBS -lcrypto" 8248 LIBS="$LIBS -lcrypto"
8249else 8249else
8250 as_fn_error $? "OpenSSL libraries not found." "$LINENO" 5 8250 as_fn_error $? "OpenSSL libraries not found." "$LINENO" 5
8251 8251
8252fi 8252fi

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines