configure: Extend the neon intrinsics check
authorMartin Storsjö <martin@martin.st>
Tue, 22 Jul 2014 12:09:43 +0000 (15:09 +0300)
committerMartin Storsjö <martin@martin.st>
Tue, 22 Jul 2014 20:57:23 +0000 (23:57 +0300)
Check for an instruction that causes the (very old) Apple GCC 4.2
to error out ("unrecognizable insn").

Signed-off-by: Martin Storsjö <martin@martin.st>
configure

index 6736f76..3c1c520 100755 (executable)
--- a/configure
+++ b/configure
@@ -3935,7 +3935,7 @@ EOF
 
 fi
 
-check_code cc arm_neon.h "int64x2_t test" && enable intrinsics_neon
+check_code cc arm_neon.h "int16x8_t test = vdupq_n_s16(0)" && enable intrinsics_neon
 
 check_ldflags -Wl,--as-needed