mirror of
https://git.tukaani.org/xz.git
synced 2025-02-17 14:08:12 +00:00
Build: If ARM64 feature detection func is found, stop looking for others
This can speed up configure a tiny bit. Fixes: c5f6d79cc9515a7f22d7ea4860c6cc394b295732 (cherry picked from commit 308a9af85400b0e2019f0f012c8354e831d06d65)
This commit is contained in:
parent
9223ad6e78
commit
a541173771
@ -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
|
# The C code is responsible for checking defined(__APPLE__) before using
|
||||||
# sysctlbyname("hw.optional.armv8_crc32", ...).
|
# sysctlbyname("hw.optional.armv8_crc32", ...).
|
||||||
AS_IF([test "x$enable_arm64_crc32" = xyes], [
|
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])
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user