From c342b432d1fbe9fefaf8e0feaa3746400af0394e Mon Sep 17 00:00:00 2001 From: Bram Matthys Date: Sun, 22 Apr 2018 20:01:50 +0200 Subject: [PATCH] OpenSSL detection: also check /usr/local/opt/openssl --- autoconf/m4/unreal.m4 | 4 ++-- configure | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/autoconf/m4/unreal.m4 b/autoconf/m4/unreal.m4 index 5a93300a8..e3eac1b52 100644 --- a/autoconf/m4/unreal.m4 +++ b/autoconf/m4/unreal.m4 @@ -140,13 +140,13 @@ dnl the following 2 macros are based on CHECK_SSL by Mark Ethan Trostler &5 $as_echo_n "checking for openssl... " >&6; } - for dir in $enable_ssl /usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/sfw /usr/local /usr; do + for dir in $enable_ssl /usr/local/opt/openssl /usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/sfw /usr/local /usr; do ssldir="$dir" if test -f "$dir/include/openssl/ssl.h"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ssldir/include/openssl" >&5