From 22277943a19ca097f4f83c1dc622cfdfdef42edc Mon Sep 17 00:00:00 2001 From: Steve Bennett Date: Thu, 2 Mar 2023 08:16:25 +1000 Subject: configure: don't complain about no ssl unless --ssl is given SSL is now enabled by default, but it is only a fatal error if no libssl and --ssl is explicitly enabled. Signed-off-by: Steve Bennett --- auto.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto.def b/auto.def index fef620d..3833cc8 100644 --- a/auto.def +++ b/auto.def @@ -442,7 +442,7 @@ if {[opt-bool-unless-minimal ssl]} { msg-result "Enabling SSL" define JIM_SSL define-append LDLIBS [get-define lib_ERR_error_string] [get-define lib_TLSv1_2_method] - } elseif {[opt-bool ssl]} { + } elseif {[opt-bool -nodefault ssl] > 0} { user-error "SSL support requires OpenSSL" } } -- cgit v1.1