comparison configure.in @ 1783:c546353b1ad4

Fixed bug #203 Disable screensaver and DPMS blanking while SDL app is running.
author Sam Lantinga <slouken@libsdl.org>
date Mon, 08 May 2006 06:38:13 +0000
parents 741dc4e89f3a
children 50e9cca3fe7b
comparison
equal deleted inserted replaced
1782:23fe15f88c03 1783:c546353b1ad4
925 definitely_enable_video_x11_xrandr=yes 925 definitely_enable_video_x11_xrandr=yes
926 fi 926 fi
927 fi 927 fi
928 fi 928 fi
929 fi 929 fi
930
931 if test x$definitely_enable_video_x11_xrandr = xyes; then 930 if test x$definitely_enable_video_x11_xrandr = xyes; then
932 AC_DEFINE(SDL_VIDEO_DRIVER_X11_XRANDR) 931 AC_DEFINE(SDL_VIDEO_DRIVER_X11_XRANDR)
932 fi
933 AC_ARG_ENABLE(video-x11-dpms,
934 AC_HELP_STRING([--enable-video-x11-dpms], [enable X11 DPMS extension [[default=yes]]]),
935 , enable_video_x11_dpms=yes)
936 if test x$enable_video_x11_dpms = xyes; then
937 AC_CHECK_HEADER(X11/extensions/dpms.h,
938 have_dpms_h_hdr=yes,
939 have_dpms_h_hdr=no,
940 [#include <X11/Xlib.h>
941 ])
942 if test x$have_dpms_h_hdr = xyes; then
943 AC_DEFINE(SDL_VIDEO_DRIVER_X11_DPMS)
944 fi
933 fi 945 fi
934 fi 946 fi
935 fi 947 fi
936 } 948 }
937 949