From 95a996ceaee8e12cefc860d1f6b1f9be66c2ed81 Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Mon, 18 Apr 2016 18:20:56 -0500 Subject: [PATCH] Add --without-hcrypto-fallback option --- cf/crypto.m4 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cf/crypto.m4 b/cf/crypto.m4 index 6397fb049..44b77c1d0 100644 --- a/cf/crypto.m4 +++ b/cf/crypto.m4 @@ -79,6 +79,11 @@ AC_ARG_WITH([hcrypto-default-backend], esac ], []) +AC_ARG_WITH([hcrypto-fallback], + AS_HELP_STRING([--without-hcrypto-fallback], + [disable fallback on hcrypto for unavailable algorithms]), + [AC_DEFINE([HCRYPTO_FALLBACK],0,[Set to 1 to allow fallback to hcrypto for unavailable algorithms])], + [AC_DEFINE([HCRYPTO_FALLBACK],1,[Set to 1 to allow fallback to hcrypto for unavailable algorithms])]) AC_WITH_ALL([openssl]) AC_MSG_CHECKING([for crypto library])