From 153c1a11affe0952e76d6a4a49cbdd9261fc110c Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Mon, 2 Jun 2014 15:00:24 +0000 Subject: [PATCH] Fix compile on FreeBSD --- configure | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 2d49f86d..e9973f36 100755 --- a/configure +++ b/configure @@ -789,7 +789,7 @@ if [ -z "$SHA2_H" -a -z "$SHA2" -o "$SHA2" != no ]; then printf "Testing for sha2.h ... " if [ -e /usr/include/sha2.h ]; then SHA2_H=sha2.h - elif [ -e /usr/inclde/sha256.h ]; then + elif [ -e /usr/include/sha256.h ]; then SHA2_H=sha256.h fi if [ -n "$SHA2_H" ]; then @@ -807,7 +807,6 @@ if [ -z "$SHA2" ]; then EOF [ -n "$SHA2_H" ] && echo "#include <$SHA2_H>">>_sha256.c cat <>_sha256.c -#include #include int main(void) { SHA256_CTX context; @@ -823,7 +822,7 @@ EOF SHA2="yes (-lmd)" SHA2_LIB=-lmd else - MD5=no + SHA2=no fi echo "$SHA2" rm -f _sha256.c _sha256 -- 2.47.3