shithub: opus

Download patch

ref: 57842da5e8b0a22b26217593cbed6f40a1687570
parent: c232f65b9fb857f81410fed56bcfa01a271db960
author: Timothy B. Terriberry <[email protected]>
date: Fri Oct 16 09:02:24 EDT 2015

configure: Remove empty else clauses from AS_IF

These were causing "syntax error near unexpected token `fi'" in the
 generated configure on some systems, because they produced an

  else

  fi

 with no commands between the two.

--- a/configure.ac
+++ b/configure.ac
@@ -447,7 +447,7 @@
             AC_SUBST(HAVE_ARM_NE10)
             AC_SUBST(NE10_CFLAGS)
             AC_SUBST(NE10_LIBS)
-         ],[]
+         ]
       )
    ]
 )
@@ -483,7 +483,7 @@
          intrinsics_support="$intrinsics_support (Neon_Intrinsics)"
 
          AS_IF([test x"enable_rtcd" != x"" && test x"$OPUS_ARM_PRESUME_NEON_INTR" != x"1"],
-            [rtcd_support="$rtcd_support (ARMv7_Neon_Intrinsics)"],[])
+            [rtcd_support="$rtcd_support (ARMv7_Neon_Intrinsics)"])
 
          AS_IF([test x"$OPUS_ARM_PRESUME_NEON_INTR" = x"1"],
             [AC_DEFINE([OPUS_ARM_PRESUME_NEON_INTR], 1, [Define if binary requires NEON intrinsics support])])
@@ -494,7 +494,7 @@
               intrinsics_support="$intrinsics_support (NE10)"
               AS_IF([test x"enable_rtcd" != x"" \
                && test x"$OPUS_ARM_PRESUME_NEON_INTR" != x"1"],
-                 [rtcd_support="$rtcd_support (NE10)"],[])
+                 [rtcd_support="$rtcd_support (NE10)"])
          ])
 
          AS_IF([test x"$rtcd_support" = x""],