diff --git a/configure b/configure
index 6736f76c4f810104eb21a7f6de6fb2f043adc360..3c1c520525b270c4abd105996a2a721881f95b17 100755
--- 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