aboutsummaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2022-10-05 14:26:00 +0300
committerLasse Collin <lasse.collin@tukaani.org>2022-10-05 14:26:00 +0300
commitfae37ad2affd8fe8871f4ff93d5cab5ec14d5e58 (patch)
treed45621a5a9f0737dfab3051d2ed7b70bdd0b12a6 /m4
parentliblzma: Add API doc note about the .xz decoder LZMA_MEMLIMIT_ERROR bug. (diff)
downloadxz-fae37ad2affd8fe8871f4ff93d5cab5ec14d5e58.tar.xz
tuklib_integer: Add 64-bit endianness-converting reads and writes.
Also update the comment in liblzma's memcmplen.h. Thanks to Michał Górny for the original patch for the reads.
Diffstat (limited to 'm4')
-rw-r--r--m4/tuklib_integer.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/m4/tuklib_integer.m4 b/m4/tuklib_integer.m4
index e9741ef6..9e104729 100644
--- a/m4/tuklib_integer.m4
+++ b/m4/tuklib_integer.m4
@@ -64,8 +64,8 @@ main(void)
AC_MSG_CHECKING([if unaligned memory access should be used])
AC_ARG_ENABLE([unaligned-access], AS_HELP_STRING([--enable-unaligned-access],
[Enable if the system supports *fast* unaligned memory access
- with 16-bit and 32-bit integers. By default, this is enabled
- only on x86, x86_64, big endian PowerPC,
+ with 16-bit, 32-bit, and 64-bit integers. By default,
+ this is enabled only on x86, x86_64, big endian PowerPC,
and some ARM systems.]),
[], [enable_unaligned_access=auto])
if test "x$enable_unaligned_access" = xauto ; then
@@ -93,8 +93,8 @@ int main(void) { return 0; }
fi
if test "x$enable_unaligned_access" = xyes ; then
AC_DEFINE([TUKLIB_FAST_UNALIGNED_ACCESS], [1], [Define to 1 if
- the system supports fast unaligned access to 16-bit and
- 32-bit integers.])
+ the system supports fast unaligned access to 16-bit,
+ 32-bit, and 64-bit integers.])
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])