Commit 26d22ed1 for xz

commit 26d22ed16b6e38ce8ed45cb29076f454cd488762
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   Wed Dec 10 19:20:05 2025 +0200

    tuklib_integer/CMake: Log a message about unaligned access check

diff --git a/cmake/tuklib_integer.cmake b/cmake/tuklib_integer.cmake
index 3f837446..18facbf4 100644
--- a/cmake/tuklib_integer.cmake
+++ b/cmake/tuklib_integer.cmake
@@ -130,6 +130,8 @@ function(tuklib_integer TARGET_OR_ALL)
     # option() command after the if()...endif() block.
     set(FAST_UNALIGNED_GUESS OFF)
     if(NOT DEFINED TUKLIB_FAST_UNALIGNED_ACCESS)
+        message(CHECK_START "Check if unaligned memory access should be used")
+
         # Guess that unaligned access is fast on these archs:
         #   - 32/64-bit x86 / x86-64
         #   - 32/64-bit big endian PowerPC
@@ -255,6 +257,12 @@ function(tuklib_integer TARGET_OR_ALL)
                 set(FAST_UNALIGNED_GUESS ON)
             endif()
         endif()
+
+        if(FAST_UNALIGNED_GUESS)
+            message(CHECK_PASS "yes")
+        else()
+            message(CHECK_PASS "no")
+        endif()
     endif()

     option(TUKLIB_FAST_UNALIGNED_ACCESS