+dnl Check for ARM NEON
+CheckARM_NEON()
+{
+ AC_MSG_CHECKING(for ARM NEON support)
+ have_arm_neon=no
+ AC_TRY_COMPILE([
+ ],[
+ #ifndef __ARM_NEON__
+ #error NEON not available
+ #endif
+ ],[
+ have_arm_neon=yes
+ ])
+ AC_MSG_RESULT($have_arm_neon)
+ if test x$have_arm_neon = xyes; then
+ SOURCES="$SOURCES $srcdir/src/video/SDL_blit_neon.S"
+ fi
+}
+