CMake: Rename ALLOW_CLMUL_CRC to XZ_CLMUL_CRC

Update description too.
This commit is contained in:
Lasse Collin 2024-06-15 18:07:04 +03:00
parent 4b8faa7244
commit 3dcc12290d
1 changed files with 3 additions and 3 deletions

View File

@ -1164,10 +1164,10 @@ if(HAVE_IMMINTRIN_H)
tuklib_add_definition_if(liblzma HAVE__MM_MOVEMASK_EPI8)
# CLMUL intrinsic:
option(ALLOW_CLMUL_CRC "Allow carryless multiplication for CRC \
calculation if supported by the system" ON)
option(XZ_CLMUL_CRC "Use carryless multiplication for CRC \
calculation (with runtime detection) if supported by the compiler" ON)
if(ALLOW_CLMUL_CRC)
if(XZ_CLMUL_CRC)
check_c_source_compiles("
#include <immintrin.h>
#if defined(__e2k__) && __iset__ < 6