]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Provide --without-acle/-DWITH_ACLE options for backward compatibility
authorCameron Cawley <ccawley2011@gmail.com>
Fri, 7 Feb 2025 20:51:02 +0000 (20:51 +0000)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Wed, 12 Feb 2025 12:54:30 +0000 (13:54 +0100)
CMakeLists.txt
configure

index 35f75e44d1e442e2416d556cf26a227ee1e720f9..aa53a9b1e1b95d90f012e593a5c694b37f6b6b2e 100644 (file)
@@ -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)
index c365d1bfb0ae554458a8ec4f96ab693f58241d1b..6491d93acd6653828465976e2825ab219d4631c4 100755 (executable)
--- 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 ;;