From 17ad121e935974f949fb8b0112055316fd8bbb6a Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Mon, 14 Oct 2013 13:15:09 -0500 Subject: [PATCH] [libpng16] Work around problem with multiple-line "test" command missing continuation backslashes --- configure.ac | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index a26508042..a7bcf3ba8 100644 --- a/configure.ac +++ b/configure.ac @@ -275,11 +275,15 @@ AM_CONDITIONAL([PNG_ARM_NEON], *) test "$enable_arm_neon" != '';; esac]) +case "$enable_arm_neon" in + *-intrinsics) + use_arm_intrinsics='yes';; + *) + use_arm_intrinsics='no';; +esac + AM_CONDITIONAL([PNG_ARM_NEON_INTRINSICS], - [test "$enable_arm_neon" = 'yes-intrinsics' - -o "$enable_arm_neon" = 'on-intrinsics' - -o "$enable_arm_neon" = 'check-intrinsics' - -o "$enable_arm_neon" = 'api-intrinsics']) + [test "$use_arm_intrinsics" = 'yes']) AC_MSG_NOTICE([[Extra options for compiler: $PNG_COPTS]])