--- configure.orig	2026-10-17 15:47:19 UTC
+++ configure
@@ -24616,7 +24616,7 @@ if test -n "$PKG_CONFIG" && \
   ($PKG_CONFIG --exists --print-errors "openssl") 2>&5
   ac_status=$?
   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }; then
+  test $ac_status = 0 -o -n "$OPENSSL_CFLAGS" -o -n "$OPENSSL_LIBS"; }; then
 
 
 pkg_failed=no
@@ -28373,6 +28373,8 @@ fi
 
 if test "$have_openssl_sha256" = "yes"; then
     echo "  OpenSSL SHA256              : yes"
+    echo "    $OPENSSL_CFLAGS"
+    echo "    $OPENSSL_LIBS"
 else
     echo "  OpenSSL SHA256              : no"
     echo "    *** install openssl-dev for checksumming support"
