Commit 69cafbc498 for openssl.org

commit 69cafbc498afa872f4023af2e9d0978219abd04f
Author: Orgad Shaneh <orgads@gmail.com>
Date:   Fri Jul 3 14:11:30 2026 +0300

    util/mkinstallvars.pl: Suppress more debug logs

    Commit aa4b47483f41 "Fix util/mkinstallvars.pl to treat LIBDIR
    and libdir correctly" added more logs while bc44134c32b9 "Configure:
    Remove extensive debug output by default" was under review, so those
    were missed.

    Complements: bc44134c32b9 "Configure: Remove extensive debug output by default"

    Reviewed-by: Eugene Syromiatnikov <esyr@openssl.org>
    Reviewed-by: Paul Dale <paul.dale@oracle.com>
    MergeDate: Wed Jul  8 11:03:11 2026
    (Merged from https://github.com/openssl/openssl/pull/31843)

diff --git a/util/mkinstallvars.pl b/util/mkinstallvars.pl
index 578d344f4e..09924901ce 100644
--- a/util/mkinstallvars.pl
+++ b/util/mkinstallvars.pl
@@ -54,9 +54,9 @@ foreach (@ARGV) {
 # the former doesn't have a value, we give it the latter's value, and rely
 # on mechanisms further down to do the rest of the processing.
 # If they're both empty, it's still fine.
-print STDERR "DEBUG: LIBDIR = $values{LIBDIR}->[0], libdir = $values{libdir}->[0] => ";
+print STDERR "DEBUG: LIBDIR = $values{LIBDIR}->[0], libdir = $values{libdir}->[0] => " if $debug;
 $values{LIBDIR}->[0] = $values{libdir}->[0] unless $values{LIBDIR}->[0];
-print STDERR "LIBDIR = $values{LIBDIR}->[0]\n";
+print STDERR "LIBDIR = $values{LIBDIR}->[0]\n" if $debug;

 # warn if there are missing values, and also if there are unexpected values
 foreach my $k (sort keys %all) {