aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2024-04-10 22:21:51 +0300
committerLasse Collin <lasse.collin@tukaani.org>2024-04-10 23:12:23 +0300
commit308a9af85400b0e2019f0f012c8354e831d06d65 (patch)
tree28465f0cb7cab9bd0299c41fd30f87480d0007e1
parentliblzma: ARM64 CRC32: Change style of the macOS code to match FreeBSD (diff)
downloadxz-308a9af85400b0e2019f0f012c8354e831d06d65.tar.xz
Build: If ARM64 feature detection func is found, stop looking for others
This can speed up configure a tiny bit. Fixes: c5f6d79cc9515a7f22d7ea4860c6cc394b295732
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index b6f9f8b7..b8b52c9e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1091,7 +1091,7 @@ uint32_t my_crc(uint32_t a, uint64_t b)
# The C code is responsible for checking defined(__APPLE__) before using
# sysctlbyname("hw.optional.armv8_crc32", ...).
AS_IF([test "x$enable_arm64_crc32" = xyes], [
- AC_CHECK_FUNCS([getauxval elf_aux_info sysctlbyname])
+ AC_CHECK_FUNCS([getauxval elf_aux_info sysctlbyname], [break])
])