From 66783d7d70b0f7b7fcb65643908fe8a77e523a02 Mon Sep 17 00:00:00 2001 From: mauritium Date: Wed, 14 Jan 2026 00:21:01 +0100 Subject: [PATCH] Fix for openssl checks not picking up CFLAGS being provided by pkg-config --- m4/ssl.m4 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/m4/ssl.m4 b/m4/ssl.m4 index 02487955008..4f6d5e468c4 100644 --- a/m4/ssl.m4 +++ b/m4/ssl.m4 @@ -37,6 +37,9 @@ AC_DEFUN([DOVECOT_SSL], [ AC_MSG_ERROR(cannot build with OpenSSL: libssl not found) ]) ]) + + old_CFLAGS="$CFLAGS" + CFLAGS="$old_CFLAGS $SSL_CFLAGS" AC_MSG_CHECKING([if OpenSSL version is 1.1.1 or better])