comparison configure.in @ 1187:19d8949b4584

To: sdl@libsdl.org From: Staffan Ulfberg <staffan@ulfberg.se> Date: 19 Nov 2005 01:00:48 +0100 Subject: [SDL] New driver for OpenBSD/wscons Hello, I've written an SDL driver for OpenBSD/wscons (console mode, somewhat resembling the functionality of the svga driver for Linux). I use it for playing MAME on my Sharp Zaurus. The alternative is to play under X, which is slower. I asked how to submit the driver a few days ago, and posted a link to the patch in a follow-up, so maybe it was missed? Anyway, the patch is on the web at: http://multivac.fatburen.org/SDL-wscons.patch Comments? Staffan
author Ryan C. Gordon <icculus@icculus.org>
date Tue, 22 Nov 2005 15:19:50 +0000
parents 867f521591e5
children 2bd4cec0de63
comparison
equal deleted inserted replaced
1186:0276947bee66 1187:19d8949b4584
1643 fi 1643 fi
1644 AC_LANG_C 1644 AC_LANG_C
1645 fi 1645 fi
1646 } 1646 }
1647 1647
1648 dnl Set up the wscons video driver if enabled
1649 CheckWscons()
1650 {
1651 AC_ARG_ENABLE(video-wscons,
1652 [ --enable-video-wscons use wscons video driver [default=no]],
1653 , enable_video_wscons=no)
1654 if test x$enable_video = xyes -a x$enable_video_wscons = xyes; then
1655 AC_MSG_CHECKING(for wscons support)
1656 video_wscons=no
1657 AC_LANG_C
1658 AC_TRY_COMPILE([
1659 #include <sys/time.h>
1660 #include <dev/wscons/wsconsio.h>
1661 ],[
1662 ],[
1663 video_wscons=yes
1664 ])
1665 AC_MSG_RESULT($video_wscons)
1666 if test x$video_wscons = xyes; then
1667 CFLAGS="$CFLAGS -DENABLE_WSCONS"
1668 VIDEO_SUBDIRS="$VIDEO_SUBDIRS wscons"
1669 VIDEO_DRIVERS="$VIDEO_DRIVERS wscons/libvideo_wscons.la"
1670 else
1671 AC_MSG_ERROR([
1672 *** Failed to find wscons includes.])
1673 fi
1674 AC_LANG_C
1675 fi
1676 }
1677
1678
1648 dnl Set up the PicoGUI video driver if enabled 1679 dnl Set up the PicoGUI video driver if enabled
1649 CheckPicoGUI() 1680 CheckPicoGUI()
1650 { 1681 {
1651 AC_ARG_ENABLE(video-picogui, 1682 AC_ARG_ENABLE(video-picogui,
1652 [ --enable-video-picogui use PicoGUI video driver [default=no]], 1683 [ --enable-video-picogui use PicoGUI video driver [default=no]],
2208 CheckARTSC 2239 CheckARTSC
2209 CheckESD 2240 CheckESD
2210 CheckNAS 2241 CheckNAS
2211 CheckX11 2242 CheckX11
2212 CheckAAlib 2243 CheckAAlib
2244 CheckWscons
2213 CheckOpenGL 2245 CheckOpenGL
2214 CheckPTHREAD 2246 CheckPTHREAD
2215 CheckSIGACTION 2247 CheckSIGACTION
2216 CheckUSBHID 2248 CheckUSBHID
2217 CheckRPATH 2249 CheckRPATH
3086 src/video/nanox/Makefile 3118 src/video/nanox/Makefile
3087 src/video/photon/Makefile 3119 src/video/photon/Makefile
3088 src/video/picogui/Makefile 3120 src/video/picogui/Makefile
3089 src/video/ps2gs/Makefile 3121 src/video/ps2gs/Makefile
3090 src/video/qtopia/Makefile 3122 src/video/qtopia/Makefile
3123 src/video/wscons/Makefile
3091 src/video/quartz/Makefile 3124 src/video/quartz/Makefile
3092 src/video/riscos/Makefile 3125 src/video/riscos/Makefile
3093 src/video/svga/Makefile 3126 src/video/svga/Makefile
3094 src/video/vgl/Makefile 3127 src/video/vgl/Makefile
3095 src/video/wincommon/Makefile 3128 src/video/wincommon/Makefile