| 16528 |
|
fi |
| 16529 |
|
|
| 16530 |
|
if test "$cf_enable_openssl" != "no"; then : |
| 16531 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL or OpenSSL 0.9.8o and above" >&5 |
| 16532 |
< |
$as_echo_n "checking for LibreSSL or OpenSSL 0.9.8o and above... " >&6; } |
| 16531 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL or OpenSSL 1.0.1d and above" >&5 |
| 16532 |
> |
$as_echo_n "checking for LibreSSL or OpenSSL 1.0.1d and above... " >&6; } |
| 16533 |
|
if test "$cross_compiling" = yes; then : |
| 16534 |
|
cf_openssl_version_ok=no |
| 16535 |
|
else |
| 16542 |
|
int |
| 16543 |
|
main () |
| 16544 |
|
{ |
| 16545 |
< |
exit(!(OPENSSL_VERSION_NUMBER >= 0x009080ffL)); |
| 16545 |
> |
exit(!(OPENSSL_VERSION_NUMBER >= 0x1000104fL)); |
| 16546 |
|
; |
| 16547 |
|
return 0; |
| 16548 |
|
} |
| 16673 |
|
if test "$cf_enable_openssl" != "auto" && |
| 16674 |
|
test "$cf_enable_openssl" != "yes"; then |
| 16675 |
|
if test "$cf_enable_gnutls" != "no"; then |
| 16676 |
+ |
|
| 16677 |
|
ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default" |
| 16678 |
|
if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then : |
| 16679 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls_init in -lgnutls" >&5 |
| 16679 |
> |
|
| 16680 |
> |
if test "$cross_compiling" = yes; then : |
| 16681 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 16682 |
> |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 16683 |
> |
as_fn_error $? "cannot run test program while cross compiling |
| 16684 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 16685 |
> |
else |
| 16686 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16687 |
> |
/* end confdefs.h. */ |
| 16688 |
> |
|
| 16689 |
> |
|
| 16690 |
> |
#include <gnutls/gnutls.h> |
| 16691 |
> |
#include <stdlib.h> |
| 16692 |
> |
int |
| 16693 |
> |
main () |
| 16694 |
> |
{ |
| 16695 |
> |
|
| 16696 |
> |
exit(!(GNUTLS_VERSION_NUMBER >= 0x030308)); |
| 16697 |
> |
; |
| 16698 |
> |
return 0; |
| 16699 |
> |
} |
| 16700 |
> |
_ACEOF |
| 16701 |
> |
if ac_fn_c_try_run "$LINENO"; then : |
| 16702 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls_init in -lgnutls" >&5 |
| 16703 |
|
$as_echo_n "checking for gnutls_init in -lgnutls... " >&6; } |
| 16704 |
|
if ${ac_cv_lib_gnutls_gnutls_init+:} false; then : |
| 16705 |
|
$as_echo_n "(cached) " >&6 |
| 16745 |
|
fi |
| 16746 |
|
|
| 16747 |
|
fi |
| 16748 |
+ |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 16749 |
+ |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 16750 |
+ |
fi |
| 16751 |
+ |
|
| 16752 |
+ |
fi |
| 16753 |
|
|
| 16754 |
|
|
| 16755 |
|
fi |