Build: If ARM64 feature detection func is found, stop looking for others

This can speed up configure a tiny bit.

Fixes: c5f6d79cc9
This commit is contained in:
Lasse Collin 2024-04-10 22:21:51 +03:00
부모 fc43cecd32
커밋 308a9af854
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제

파일 보기

@ -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])
])