From a3b5428cd8f52b6002f48859a843557e86d1ca3b Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Mon, 4 Feb 2019 15:02:20 -0800 Subject: [PATCH] build: check openssl version --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 2e33380..1b14c50 100644 --- a/configure.ac +++ b/configure.ac @@ -110,7 +110,7 @@ AC_ARG_WITH([openssl], AS_HELP_STRING([--with-openssl], [handle PKCS7 signatures @<:@default=disabled@:>@]), [], [with_openssl=no]) AS_IF([test "x$with_openssl" != "xno"], [ - PKG_CHECK_MODULES([openssl], [openssl]) + PKG_CHECK_MODULES([openssl], [openssl >= 1.1.0]) AC_DEFINE([ENABLE_OPENSSL], [1], [Enable openssl for modinfo.]) ], [ AC_MSG_NOTICE([openssl support not requested])