From 7aa510344e06fecd6fe09195ac22e9a424ceb660 Mon Sep 17 00:00:00 2001 From: Martin Schwarzl Date: Thu, 23 Nov 2023 11:41:29 +0100 Subject: [PATCH] define of HAS_SSE2 --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 680878591..d52c17827 100755 --- a/configure +++ b/configure @@ -862,8 +862,8 @@ void foo(void) { } EOF if try $CC -msse2 $CFLAGS $test.c -c $test; then - CFLAGS="-DINFLATE_CHUNK_SIMD_SSE2 -msse2 -DINFLATE_CHUNK_READ_64LE $CFLAGS" - SFLAGS="-DINFLATE_CHUNK_SIMD_SSE2 -msse2 -DINFLATE_CHUNK_READ_64LE $SFLAGS" + CFLAGS="-DINFLATE_CHUNK_SIMD_SSE2 -DHAS_SSE2 -msse2 -DINFLATE_CHUNK_READ_64LE $CFLAGS" + SFLAGS="-DINFLATE_CHUNK_SIMD_SSE2 -DHAS_SSE2 -msse2 -DINFLATE_CHUNK_READ_64LE $SFLAGS" echo "Checking for SSE2 support ... Yes" | tee -a configure.log else echo "Checking for SSE2 support ... No" | tee -a configure.log