diff mbox series

[3/6] configure: Print info about KVM testsuite in summary

Message ID 20240717171713.687339-4-pvorel@suse.cz
State Accepted
Headers show
Series sched_football in runtest/sched + configure cleanup | expand

Commit Message

Petr Vorel July 17, 2024, 5:17 p.m. UTC
KVM testsuite cannot be disabled by user, it's disabled when missing
KVM linker script support. Yet it's useful to print this info in the
configure summary.

Fixes: 959146f954 ("configure: Check for KVM linker script support")
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 configure.ac | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/configure.ac b/configure.ac
index 8f8003f53b..a8e40a5fc0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -430,10 +430,12 @@  AC_LINK_IFELSE([AC_LANG_PROGRAM()],
   [
     AC_MSG_RESULT([yes])
     AC_SUBST([WITH_KVM_TESTSUITE],["yes"])
+    have_kvm=yes
   ],
   [
     AC_MSG_RESULT([no])
     AC_SUBST([WITH_KVM_TESTSUITE],["no"])
+    have_kvm=no
   ])
 _AC_LANG_PREFIX[]FLAGS="$ltp_backup_flags"
 LDFLAGS="$ltp_backup_ldflags"
@@ -443,6 +445,7 @@  AC_OUTPUT
 cat << EOF
 
 TESTSUITES
+KVM testsuite: $have_kvm
 open posix testsuite: ${with_open_posix_testsuite:-no}
 realtime testsuite: ${with_realtime_testsuite:-no}
 TI-RPC testsuite: ${with_tirpc:-yes}