[Mplayer-cvslog] CVS: main configure,1.268,1.269

Alex Beregszaszi alex at mplayer.dev.hu
Mon Nov 19 15:11:59 CET 2001


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

Modified Files:
	configure 
Log Message:
extended pthread to work under qnx

Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.268
retrieving revision 1.269
diff -u -r1.268 -r1.269
--- configure	19 Nov 2001 12:29:48 -0000	1.268
+++ configure	19 Nov 2001 14:11:57 -0000	1.269
@@ -1080,15 +1080,17 @@
 fi
 echores "$_dl"
 
-
 echocheck "pthread"
 cat > $TMPC << EOF
+#include <pthread.h>
 int main(void) { (void) pthread_create (0, 0, 0, 0); return 0; }
 EOF
 if 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




More information about the MPlayer-cvslog mailing list