From f76837acb65676e541d8ee79cd62dbbf27280a62 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Fri, 10 May 2024 16:00:26 +0300 Subject: [PATCH] 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. --- configure.ac | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 3a8e4454..4ff747a9 100644 --- a/configure.ac +++ b/configure.ac @@ -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([])