From 986161a0338c4b29a02c383de44c5cc5f32956ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Thu, 18 Jul 2002 17:56:52 +0200
Subject: [PATCH] Check for openssl's libcrypto (for benchmarking).

Rev: src/nettle/configure.ac:1.8
---
 configure.ac | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configure.ac b/configure.ac
index da5aeaed..f47bff3c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -106,6 +106,10 @@ Support for public key algorithms will be unavailable.])])
 # Add -R flags needed to run programs linked with gmp
 LSH_RPATH_FIX
 
+# Check for openssl's libcrypto (used only for benchmarking)
+AC_CHECK_LIB(crypto, BF_ecb_encrypt)
+LSH_RPATH_FIX
+
 # Set these flags *last*, or else the test programs won't compile
 if test x$GCC = xyes ; then
   # Using -ggdb3 makes (some versions of) Redhat's gcc-2.96 dump core
-- 
GitLab