Suggested fix against master attached, please review.
This patch needs backporting to 9.11. 9.10 is not affected, 9.9 does
not support --with-tuning at all.
diff --git a/CHANGES b/CHANGES
index 8b18cf2b26..3e2037ec48 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+4639. [bug] Fix a regression in --with-tuning reporting introduced
+ by change 4488. [RT #45396]
+
4638. [bug] Reloading or reconfiguring named could fail on
some platforms when LMDB was in use. [RT #45203]
diff --git a/configure b/configure
index a40b3a7588..2cc70500df 100755
--- a/configure
+++ b/configure
@@ -25899,7 +25899,7 @@ report() {
echo " Mutex lock type: $locktype"
fi
fi
- test "large" = "large" && echo " Large-system tuning (--with-tuning)"
+ test "large" = "$use_tuning" && echo " Large-system tuning (--with-tuning)"
test "no" = "$use_dnstap" || \
echo " Allow 'dnstap' packet logging (--enable-dnstap)"
test "no" = "$use_geoip" || echo " GeoIP access control (--with-geoip)"
diff --git a/configure.in b/configure.in
index 737b1c1210..1845db5162 100644
--- a/configure.in
+++ b/configure.in
@@ -5316,7 +5316,7 @@ report() {
echo " Mutex lock type: $locktype"
fi
fi
- test "large" = "large" && echo " Large-system tuning (--with-tuning)"
+ test "large" = "$use_tuning" && echo " Large-system tuning (--with-tuning)"
test "no" = "$use_dnstap" || \
echo " Allow 'dnstap' packet logging (--enable-dnstap)"
test "no" = "$use_geoip" || echo " GeoIP access control (--with-geoip)"