Build: Define HAVE_CRC_X86_ASM when 32-bit x86 CRC assembly is used

This makes it easier to determine when the CRC tables are needed.
This commit is contained in:
Lasse Collin 2024-05-10 16:00:26 +03:00
parent 9ce0866b07
commit f76837acb6
1 changed files with 7 additions and 2 deletions

View File

@ -358,8 +358,13 @@ if test "x$enable_assembler" = xyes; then
esac
fi
case $enable_assembler in
x86 | no)
AC_MSG_RESULT([$enable_assembler])
x86)
AC_DEFINE([HAVE_CRC_X86_ASM], [1], [Define to 1 if
the 32-bit x86 CRC assembly files are used.])
AC_MSG_RESULT([x86])
;;
no)
AC_MSG_RESULT([no])
;;
*)
AC_MSG_RESULT([])