# HG changeset patch # User Sam Lantinga # Date 989517843 0 # Node ID 735e5a8696d00148ec4d908f997ed3270f5986a6 # Parent ac67f6758d63ac108822ca4eedb0ff19bf0fcdb1 Added --disable-dga configure option to disable DGA entirely diff -r ac67f6758d63 -r 735e5a8696d0 configure.in --- a/configure.in Wed May 02 19:21:00 2001 +0000 +++ b/configure.in Thu May 10 18:04:03 2001 +0000 @@ -347,7 +347,7 @@ CheckNAS() { AC_ARG_ENABLE(nas, -[ --enable-nas support the NAS audio API [default=yes]], +[ --enable-nas support the NAS audio API [default=yes]], , enable_nas=yes) if test x$enable_audio = xyes -a x$enable_nas = xyes; then AC_MSG_CHECKING(for NAS audio support) @@ -474,25 +474,30 @@ fi fi fi + AC_ARG_ENABLE(dga, +[ --enable-dga allow use of X11 DGA code [default=yes]], + , enable_dga=yes) AC_ARG_ENABLE(video-x11-dgamouse, [ --enable-video-x11-dgamouse use X11 DGA for mouse events [default=yes]], , enable_video_x11_dgamouse=yes) - AC_MSG_CHECKING(for XFree86 DGA 1.0 support) - video_x11_dga=no - AC_TRY_COMPILE([ - #include - #include - ],[ - ],[ - video_x11_dga=yes - ]) - AC_MSG_RESULT($video_x11_dga) - if test x$video_x11_dga = xyes; then - CFLAGS="$CFLAGS -DXFREE86_DGAMOUSE" - if test x$enable_video_x11_dgamouse = xyes; then - CFLAGS="$CFLAGS -DDEFAULT_DGAMOUSE" + if test x$enable_dga = xyes; then + AC_MSG_CHECKING(for XFree86 DGA 1.0 support) + video_x11_dga=no + AC_TRY_COMPILE([ + #include + #include + ],[ + ],[ + video_x11_dga=yes + ]) + AC_MSG_RESULT($video_x11_dga) + if test x$video_x11_dga = xyes; then + CFLAGS="$CFLAGS -DXFREE86_DGAMOUSE" + if test x$enable_video_x11_dgamouse = xyes; then + CFLAGS="$CFLAGS -DDEFAULT_DGAMOUSE" + fi + SYSTEM_LIBS="$SYSTEM_LIBS -lXxf86dga" fi - SYSTEM_LIBS="$SYSTEM_LIBS -lXxf86dga" fi AC_ARG_ENABLE(video-x11-xv, [ --enable-video-x11-xv use X11 XvImage extension for video [default=yes]], @@ -687,7 +692,7 @@ CheckDummyVideo() { AC_ARG_ENABLE(video-dummy, -[ --enable-video-dummy use dummy video driver [default=no]], +[ --enable-video-dummy use dummy video driver [default=no]], , enable_video_dummy=no) if test x$enable_video_dummy = xyes; then CFLAGS="$CFLAGS -DENABLE_DUMMYVIDEO" diff -r ac67f6758d63 -r 735e5a8696d0 docs.html --- a/docs.html Wed May 02 19:21:00 2001 +0000 +++ b/docs.html Thu May 10 18:04:03 2001 +0000 @@ -16,6 +16,7 @@ Major changes since SDL 1.0.0:
    +
  • 1.2.1: Added --disable-dga configure option to disable DGA entirely
  • 1.2.1: Fixed stuck keys when changing the video mode
  • 1.2.1: Fixed double-mouse event bug on Windows using OpenGL
  • 1.2.1: Fixed 320x200 video mode on framebuffer console