From: Lasse Collin Date: Fri, 10 May 2024 13:00:26 +0000 (+0300) Subject: Build: Define HAVE_CRC_X86_ASM when 32-bit x86 CRC assembly is used X-Git-Tag: v5.7.1alpha~168 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f76837acb65676e541d8ee79cd62dbbf27280a62;p=thirdparty%2Fxz.git 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. --- 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([])