X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=configure.in;h=fa566902dcd85b1140b172053cf839335b51e6a3;hb=f641fccb7413775feab03ea268cc503cfb47b9b7;hp=a7e9b1831d2853b3ecae8832db99f475ec3066e4;hpb=e14743d15a38081776e29fcc16d2de7e61e3d2b6;p=sdl_omap.git diff --git a/configure.in b/configure.in index a7e9b18..fa56690 100644 --- a/configure.in +++ b/configure.in @@ -1606,6 +1606,25 @@ AC_HELP_STRING([--enable-video-gem], [use Atari Gem video driver [[default=yes]] fi } +dnl OMAP +CheckOMAPDSS() +{ + AC_ARG_ENABLE(video-omapdss, +AC_HELP_STRING([--enable-video-omapdss], [use OMAP DSS2 video driver [[default=yes]]]), + , enable_video_omapdss=yes) + + if test x$enable_video_omapdss = xyes; then + AC_DEFINE(SDL_VIDEO_DRIVER_OMAPDSS) + SOURCES="$SOURCES $srcdir/src/video/omapdss/sdlif.c" + SOURCES="$SOURCES $srcdir/src/video/omapdss/osdl_input.c" + 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" + have_video=yes + fi +} + dnl rcg04172001 Set up the Null video driver. CheckDummyVideo() { @@ -2341,6 +2360,7 @@ case "$host" in CheckClockGettime CheckLinuxVersion CheckRPATH + CheckOMAPDSS # Set up files for the audio library if test x$enable_audio = xyes; then case $ARCH in