From e1540e3b4cfd17df7e5e5acce371a41b39b5e304 Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Mon, 14 Oct 2013 11:38:53 -0500 Subject: [PATCH] [libpng16] Updated configure.ac to handle new on-intrinsics, etc., options. --- configure.ac | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/configure.ac b/configure.ac index 847befde2..a26508042 100644 --- a/configure.ac +++ b/configure.ac @@ -248,26 +248,18 @@ AC_ARG_ENABLE([arm-neon], [Disable ARM Neon optimizations]) # Prevent inclusion of the assembler files below: enable_arm_neon=no;; - check) + check|check-intrinsics) AC_DEFINE([PNG_ARM_NEON_CHECK_SUPPORTED], [], [Check for ARM Neon support at run-time]);; - check-intrinsics) - AC_DEFINE([PNG_ARM_NEON_CHECK_SUPPORTED], [], - [Check for ARM Neon support at run-time]);; - ;; - api) + api|api-intrinsics) AC_DEFINE([PNG_ARM_NEON_API_SUPPORTED], [], [Turn on ARM Neon optimizations at run-time]);; - api-intrinsics) - ;; - yes|on) + yes|on|yes-intrinsics|on-intrinsics) AC_DEFINE([PNG_ARM_NEON_OPT], [2], [Enable ARM Neon optimizations]) AC_MSG_WARN([--enable-arm-neon: please specify 'check' or 'api', if] [you want the optimizations unconditionally pass -mfpu=neon] [to the compiler.]);; - yes-intrinsics|on-intrinsics) - ;; *) AC_MSG_ERROR([--enable-arm-neon=${enable_arm_neon}: invalid value]) esac])