X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=configure.in;h=1a339a8aeb4654c168f1616649d41fb390c8f6db;hb=a1f340810c4f9a4a617f1757d1ff0255e0e3fe58;hp=f6a708c6c12f0c79d567190b23caeb1f311ac8bf;hpb=5848b0cd8faa53ce16300c4cca06cdb6d42dcc1d;p=sdl_omap.git diff --git a/configure.in b/configure.in index f6a708c..1a339a8 100644 --- a/configure.in +++ b/configure.in @@ -1505,6 +1505,25 @@ AC_HELP_STRING([--enable-video-caca], [use libcaca video driver [[default=no]]]) fi } +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 +} + dnl Set up the QTopia video driver if enabled CheckQtopia() { @@ -2361,6 +2380,7 @@ case "$host" in CheckLinuxVersion CheckRPATH CheckOMAPDSS + CheckARM_NEON # Set up files for the audio library if test x$enable_audio = xyes; then case $ARCH in