configure.in
branchSDL-1.2
changeset 4139 568c9b3c0167
parent 4134 31c7c57af8a4
child 4164 7a4c511c980a
equal deleted inserted replaced
4138:b1fd24d62e55 4139:568c9b3c0167
  1088                 fi
  1088                 fi
  1089             fi
  1089             fi
  1090             if test x$definitely_enable_video_x11_xrandr = xyes; then
  1090             if test x$definitely_enable_video_x11_xrandr = xyes; then
  1091                 AC_DEFINE(SDL_VIDEO_DRIVER_X11_XRANDR)
  1091                 AC_DEFINE(SDL_VIDEO_DRIVER_X11_XRANDR)
  1092             fi
  1092             fi
  1093             AC_ARG_ENABLE(video-x11-dpms,
       
  1094 AC_HELP_STRING([--enable-video-x11-dpms], [enable X11 DPMS extension [[default=yes]]]),
       
  1095                             , enable_video_x11_dpms=yes)
       
  1096             if test x$enable_video_x11_dpms = xyes; then
       
  1097                 AC_CHECK_HEADER(X11/extensions/dpms.h,
       
  1098                                 have_dpms_h_hdr=yes,
       
  1099                                 have_dpms_h_hdr=no,
       
  1100                                 [#include <X11/Xlib.h>
       
  1101                                 ])
       
  1102                 if test x$have_dpms_h_hdr = xyes; then
       
  1103                     AC_DEFINE(SDL_VIDEO_DRIVER_X11_DPMS)
       
  1104                 fi
       
  1105             fi
       
  1106         fi
  1093         fi
  1107     fi
  1094     fi
  1108 }
  1095 }
  1109 
  1096 
  1110 dnl Check for QNX photon video driver
  1097 dnl Check for QNX photon video driver
  1670                 AC_DEFINE(SDL_VIDEO_OPENGL_OSMESA_DYNAMIC)
  1657                 AC_DEFINE(SDL_VIDEO_OPENGL_OSMESA_DYNAMIC)
  1671             fi
  1658             fi
  1672         fi
  1659         fi
  1673     fi
  1660     fi
  1674 }
  1661 }
       
  1662 
       
  1663 AC_ARG_ENABLE(screensaver,
       
  1664 AC_HELP_STRING([--enable-screensaver], [enable screensaver by default while any SDL application is running [[default=no]]]),
       
  1665               , enable_screensaver=no)
       
  1666 if test x$enable_screensaver = xno; then
       
  1667     AC_DEFINE(SDL_VIDEO_DISABLE_SCREENSAVER)
       
  1668 fi
  1675 
  1669 
  1676 dnl See if we can use the new unified event interface in Linux 2.4
  1670 dnl See if we can use the new unified event interface in Linux 2.4
  1677 CheckInputEvents()
  1671 CheckInputEvents()
  1678 {
  1672 {
  1679     dnl Check for Linux 2.4 unified input event interface support
  1673     dnl Check for Linux 2.4 unified input event interface support