Mercurial > sdl-ios-xcode
changeset 16:735e5a8696d0
Added --disable-dga configure option to disable DGA entirely
author | Sam Lantinga <slouken@lokigames.com> |
---|---|
date | Thu, 10 May 2001 18:04:03 +0000 |
parents | ac67f6758d63 |
children | 4f22a992f5e9 |
files | configure.in docs.html |
diffstat | 2 files changed, 23 insertions(+), 17 deletions(-) [+] |
line wrap: on
line diff
--- 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 <X11/Xlib.h> - #include <X11/extensions/xf86dga.h> - ],[ - ],[ - 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 <X11/Xlib.h> + #include <X11/extensions/xf86dga.h> + ],[ + ],[ + 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"
--- 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: </H2> <UL> + <LI> 1.2.1: Added --disable-dga configure option to disable DGA entirely <LI> 1.2.1: Fixed stuck keys when changing the video mode <LI> 1.2.1: Fixed double-mouse event bug on Windows using OpenGL <LI> 1.2.1: Fixed 320x200 video mode on framebuffer console