Commit 3b71ebecd62acabeb3937bf9514a21c58c86f069

Ryan C. Gordon 2020-06-27T02:38:13

configure: Accidentally deleted a ')' Sorry!

diff --git a/configure b/configure
index 6d6ab40..5f8d428 100755
--- a/configure
+++ b/configure
@@ -852,8 +852,8 @@ enable_diskaudio
 enable_dummyaudio
 enable_libsamplerate
 enable_libsamplerate_shared
-enable_arm_neon
 enable_arm_simd
+enable_arm_neon
 enable_video_wayland
 enable_video_wayland_qt_touch
 enable_wayland_shared
@@ -1635,6 +1635,7 @@ Optional Features:
   --enable-libsamplerate-shared
                           dynamically load libsamplerate [[default=yes]]
   --enable-arm-simd       use SIMD assembly blitters on ARM [[default=yes]]
+  --enable-arm-neon       use NEON assembly blitters on ARM [[default=no]]
   --enable-video-wayland  use Wayland video driver [[default=yes]]
   --enable-video-wayland-qt-touch
                           QtWayland server support for Wayland video driver
@@ -19473,6 +19474,8 @@ if test "${enable_arm_simd+set}" = set; then :
   enableval=$enable_arm_simd; enable_arm_simd=$enableval
 else
   enable_arm_simd=no
+fi
+
     if test x$enable_video = xyes -a x$enable_assembly = xyes -a x$enable_arm_simd = xyes; then
         save_CFLAGS="$CFLAGS"
         have_arm_simd=no
@@ -19491,7 +19494,7 @@ $as_echo_n "checking for ARM SIMD... " >&6; }
         #ifndef __ARM_EABI__
         #error EABI is required (to be sure that calling conventions are compatible)
         #endif
-        pld r0
+        pld [r0]
         uqadd8 r0, r0, r0
 
 _ACEOF
@@ -19516,8 +19519,7 @@ $as_echo "#define SDL_ARM_SIMD_BLITTERS 1" >>confdefs.h
 
 CheckNEON()
 {
-      --enable-arm-neon       use NEON assembly blitters on ARM [[default=no]]
-# Check whether --enable-arm-neon was given.
+    # Check whether --enable-arm-neon was given.
 if test "${enable_arm_neon+set}" = set; then :
   enableval=$enable_arm_neon; enable_arm_neon=$enableval
 else
@@ -19544,7 +19546,7 @@ $as_echo_n "checking for ARM NEON... " >&6; }
         #ifndef __ARM_EABI__
         #error EABI is required (to be sure that calling conventions are compatible)
         #endif
-        pld r0
+        pld [r0]
         vmovn.u16 d0, q0
 
 _ACEOF
@@ -19757,9 +19759,7 @@ $as_echo "$have_gcc_Wall" >&6; }
 $as_echo_n "checking for necessary GCC -Wno-multichar option... " >&6; }
         need_gcc_Wno_multichar=no
         case "$host" in
-            *-*-haiku*
-fi
-
+            *-*-haiku*)
                 need_gcc_Wno_multichar=yes
                 ;;
         esac
diff --git a/configure.ac b/configure.ac
index c957d3f..b042234 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1320,7 +1320,7 @@ CheckARM()
 {
     AC_ARG_ENABLE(arm-simd,
 AC_HELP_STRING([--enable-arm-simd], [use SIMD assembly blitters on ARM [[default=yes]]]),
-                  enable_arm_simd=$enableval, enable_arm_simd=no
+                  enable_arm_simd=$enableval, enable_arm_simd=no)
     if test x$enable_video = xyes -a x$enable_assembly = xyes -a x$enable_arm_simd = xyes; then
         save_CFLAGS="$CFLAGS"
         have_arm_simd=no