[MPlayer-cvslog] r32745 - trunk/configure

diego subversion at mplayerhq.hu
Sun Jan 2 13:05:24 CET 2011


Author: diego
Date: Sun Jan  2 13:05:23 2011
New Revision: 32745

Log:
Drop unnecessary Xlib.h #include from Xss screensaver extensions check.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Sun Jan  2 12:49:48 2011	(r32744)
+++ trunk/configure	Sun Jan  2 13:05:23 2011	(r32745)
@@ -4284,13 +4284,8 @@ echores "$_x11"
 
 echocheck "Xss screensaver extensions"
 if test "$_xss" = auto ; then
-  cat > $TMPC << EOF
-#include <X11/Xlib.h>
-#include <X11/extensions/scrnsaver.h>
-int main(void) { XScreenSaverSuspend(NULL, True); return 0; }
-EOF
   _xss=no
-  cc_check -lXss && _xss=yes
+  statement_check "X11/extensions/scrnsaver.h" 'XScreenSaverSuspend(NULL, True)' -lXss && _xss=yes
 fi
 if test "$_xss" = yes ; then
   def_xss='#define CONFIG_XSS 1'


More information about the MPlayer-cvslog mailing list