+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/xenv.c"
+ have_video=yes
+ fi
+}
+