X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=configure.in;h=478014b248013a44e9980b8d8a50c1220742c816;hb=9a8e84f82ce2d22a033605d293eb8ba3a4936398;hp=a7e9b1831d2853b3ecae8832db99f475ec3066e4;hpb=e14743d15a38081776e29fcc16d2de7e61e3d2b6;p=sdl_omap.git diff --git a/configure.in b/configure.in index a7e9b18..478014b 100644 --- a/configure.in +++ b/configure.in @@ -1606,6 +1606,24 @@ 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/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 +2359,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