configure.in
branchSDL-1.2
changeset 4139 568c9b3c0167
parent 4134 31c7c57af8a4
child 4164 7a4c511c980a
     1.1 --- a/configure.in	Tue Feb 26 10:50:28 2008 +0000
     1.2 +++ b/configure.in	Fri Feb 29 13:55:44 2008 +0000
     1.3 @@ -1090,19 +1090,6 @@
     1.4              if test x$definitely_enable_video_x11_xrandr = xyes; then
     1.5                  AC_DEFINE(SDL_VIDEO_DRIVER_X11_XRANDR)
     1.6              fi
     1.7 -            AC_ARG_ENABLE(video-x11-dpms,
     1.8 -AC_HELP_STRING([--enable-video-x11-dpms], [enable X11 DPMS extension [[default=yes]]]),
     1.9 -                            , enable_video_x11_dpms=yes)
    1.10 -            if test x$enable_video_x11_dpms = xyes; then
    1.11 -                AC_CHECK_HEADER(X11/extensions/dpms.h,
    1.12 -                                have_dpms_h_hdr=yes,
    1.13 -                                have_dpms_h_hdr=no,
    1.14 -                                [#include <X11/Xlib.h>
    1.15 -                                ])
    1.16 -                if test x$have_dpms_h_hdr = xyes; then
    1.17 -                    AC_DEFINE(SDL_VIDEO_DRIVER_X11_DPMS)
    1.18 -                fi
    1.19 -            fi
    1.20          fi
    1.21      fi
    1.22  }
    1.23 @@ -1673,6 +1660,13 @@
    1.24      fi
    1.25  }
    1.26  
    1.27 +AC_ARG_ENABLE(screensaver,
    1.28 +AC_HELP_STRING([--enable-screensaver], [enable screensaver by default while any SDL application is running [[default=no]]]),
    1.29 +              , enable_screensaver=no)
    1.30 +if test x$enable_screensaver = xno; then
    1.31 +    AC_DEFINE(SDL_VIDEO_DISABLE_SCREENSAVER)
    1.32 +fi
    1.33 +
    1.34  dnl See if we can use the new unified event interface in Linux 2.4
    1.35  CheckInputEvents()
    1.36  {