From: Cameron Cawley Date: Fri, 7 Feb 2025 20:51:02 +0000 (+0000) Subject: Provide --without-acle/-DWITH_ACLE options for backward compatibility X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aecfe160c575d76f12ddd110bc43825dac5e0d97;p=thirdparty%2Fzlib-ng.git Provide --without-acle/-DWITH_ACLE options for backward compatibility --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 35f75e44..aa53a9b1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -106,6 +106,11 @@ if(BASEARCH_ARM_FOUND) option(WITH_ARMV8 "Build with ARMv8 CRC32 intrinsics" ON) option(WITH_NEON "Build with NEON intrinsics" ON) cmake_dependent_option(WITH_ARMV6 "Build with ARMv6 SIMD" ON "NOT ARCH MATCHES \"aarch64\"" OFF) + + # Provided for backward compatibility + if(DEFINED WITH_ACLE) + set(WITH_ARMV8 ${WITH_ACLE}) + endif() elseif(BASEARCH_PPC_FOUND) option(WITH_ALTIVEC "Build with AltiVec (VMX) optimisations for PowerPC" ON) option(WITH_POWER8 "Build with optimisations for POWER8" ON) diff --git a/configure b/configure index c365d1bf..6491d93a 100755 --- a/configure +++ b/configure @@ -199,6 +199,8 @@ case "$1" in -6* | --64) build64=1; shift ;; --without-vpclmulqdq) buildvpclmulqdq=0; shift ;; --without-armv8) buildarmv8=0; shift ;; + # Provided for backward compatibility + --without-acle) buildarmv8=0; shift ;; --without-neon) buildneon=0; shift ;; --without-armv6) buildarmv6=0; shift ;; --without-altivec) buildaltivec=0 ; shift ;;