X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=configure.in;h=1a339a8aeb4654c168f1616649d41fb390c8f6db;hb=edd481ef690995dec3626f0f0c5580db9d2dd600;hp=fa566902dcd85b1140b172053cf839335b51e6a3;hpb=f641fccb7413775feab03ea268cc503cfb47b9b7;p=sdl_omap.git diff --git a/configure.in b/configure.in index fa56690..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() { @@ -1620,7 +1639,7 @@ AC_HELP_STRING([--enable-video-omapdss], [use OMAP DSS2 video driver [[default=y SOURCES="$SOURCES $srcdir/src/video/omapdss/osdl_video.c" SOURCES="$SOURCES $srcdir/src/video/omapdss/config.c" SOURCES="$SOURCES $srcdir/src/video/omapdss/linux/fbdev.c" - SOURCES="$SOURCES $srcdir/src/video/omapdss/linux/oshide.c" + SOURCES="$SOURCES $srcdir/src/video/omapdss/linux/xenv.c" have_video=yes fi } @@ -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