Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Nobody has stepped up to maintain an svgalib driver. Bye bye! :)
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jan 20, 2011
1 parent 442dfaf commit 314f315
Show file tree
Hide file tree
Showing 11 changed files with 1 addition and 1,220 deletions.
2 changes: 1 addition & 1 deletion SDL.spec.in
Expand Up @@ -39,7 +39,7 @@ to develop SDL applications.

%build
%ifos linux
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} --disable-video-aalib --disable-video-directfb --disable-video-ggi --disable-video-svga
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} --disable-video-directfb
%else
%configure
%endif
Expand Down
31 changes: 0 additions & 31 deletions configure.in
Expand Up @@ -1586,36 +1586,6 @@ CheckPS3()
fi
}

dnl Find the SVGAlib includes and libraries
CheckSVGA()
{
AC_ARG_ENABLE(video-svga,
AC_HELP_STRING([--enable-video-svga], [use SVGAlib video driver [[default=no]]]),
, enable_video_svga=no)
if test x$enable_video = xyes -a x$enable_video_svga = xyes; then
AC_MSG_CHECKING(for SVGAlib (1.4.0+) support)
video_svga=no
AC_TRY_COMPILE([
#include <vga.h>
#include <vgamouse.h>
#include <vgakeyboard.h>
],[
if ( SCANCODE_RIGHTWIN && SCANCODE_LEFTWIN ) {
exit(0);
}
],[
video_svga=yes
])
AC_MSG_RESULT($video_svga)
if test x$video_svga = xyes; then
AC_DEFINE(SDL_VIDEO_DRIVER_SVGALIB)
SOURCES="$SOURCES $srcdir/src/video/svga/*.c"
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lvga"
have_video=yes
fi
fi
}

dnl rcg04172001 Set up the Null video driver.
CheckDummyVideo()
{
Expand Down Expand Up @@ -2276,7 +2246,6 @@ case "$host" in
CheckDirectFB
CheckFusionSound
CheckPS3
CheckSVGA
CheckOpenGLX11
CheckInputEvents
CheckTslib
Expand Down
1 change: 0 additions & 1 deletion include/SDL_config.h.in
Expand Up @@ -266,7 +266,6 @@
#undef SDL_VIDEO_DRIVER_QNXGF
#undef SDL_VIDEO_DRIVER_PS3
#undef SDL_VIDEO_DRIVER_RISCOS
#undef SDL_VIDEO_DRIVER_SVGALIB
#undef SDL_VIDEO_DRIVER_WIN32
#undef SDL_VIDEO_DRIVER_X11
#undef SDL_VIDEO_DRIVER_X11_DYNAMIC
Expand Down
3 changes: 0 additions & 3 deletions src/video/SDL_sysvideo.h
Expand Up @@ -414,9 +414,6 @@ extern VideoBootStrap DirectFB_bootstrap;
#if SDL_VIDEO_DRIVER_PS3
extern VideoBootStrap PS3_bootstrap;
#endif
#if SDL_VIDEO_DRIVER_SVGALIB
extern VideoBootStrap SVGALIB_bootstrap;
#endif
#if SDL_VIDEO_DRIVER_WIN32
extern VideoBootStrap WIN32_bootstrap;
#endif
Expand Down
3 changes: 0 additions & 3 deletions src/video/SDL_video.c
Expand Up @@ -68,9 +68,6 @@ static VideoBootStrap *bootstrap[] = {
#if SDL_VIDEO_DRIVER_PS3
&PS3_bootstrap,
#endif
#if SDL_VIDEO_DRIVER_SVGALIB
&SVGALIB_bootstrap,
#endif
#if SDL_VIDEO_DRIVER_WIN32
&WIN32_bootstrap,
#endif
Expand Down

0 comments on commit 314f315

Please sign in to comment.