[Mplayer-cvslog] CVS: main configure,1.274,1.275

Alex Beregszaszi alex at mplayer.dev.hu
Mon Nov 19 18:15:38 CET 2001


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv13694

Modified Files:
	configure 
Log Message:
fixed DPMS and pthread detection

Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.274
retrieving revision 1.275
diff -u -r1.274 -r1.275
--- configure	19 Nov 2001 16:42:01 -0000	1.274
+++ configure	19 Nov 2001 17:15:35 -0000	1.275
@@ -1092,12 +1092,12 @@
 #include <pthread.h>
 int main(void) { (void) pthread_create (0, 0, 0, 0); return 0; }
 EOF
-if cc_check -lpthread ; then
+if cc_check ; then              # QNX
+  _ld_pthread=''
+elif cc_check -lpthread ; then
   _ld_pthread='-lpthread'
 elif cc_check -pthread ; then
   _ld_pthread='-pthread'
-elif cc_check ; then		# QNX
-  _ld_pthread=''
 else
   die "Lib pthread not found."
 fi
@@ -1292,7 +1292,9 @@
 #include <X11/Xutil.h>
 #include <X11/Xatom.h>
 #include <X11/extensions/dpms.h>
-int main(void) { return 0; }
+int main(void) {
+  (void) DPMSQueryExtension(0, 0, 0);
+}
 EOF
   cc_check $_inc_x11 $_ld_x11 -lXdpms && _xdpms3=yes
 fi




More information about the MPlayer-cvslog mailing list