configure: Only test for Win32 threads on Windows.
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>
Thu, 19 Jan 2012 14:36:11 +0000 (14:36 +0000)
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>
Thu, 19 Jan 2012 14:36:11 +0000 (14:36 +0000)
git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34579 b3059339-0415-0410-9bf9-f77b7e298cf2

configure

index d914199..8c1f89f 100755 (executable)
--- a/configure
+++ b/configure
@@ -3608,6 +3608,8 @@ if cygwin ; then
   fi
 fi
 
+
+if win32; then
 echocheck "w32threads"
 if test "$_pthreads" = yes ; then
   res_comment="using pthread instead"
@@ -3619,6 +3621,8 @@ if test "$_w32threads" = auto ; then
 fi
 test "$_w32threads" = yes && def_threads='#define HAVE_THREADS 1' && def_w32threads='#define HAVE_W32THREADS 1'
 echores "$_w32threads"
+fi #if win32; then
+
 
 if os2 ; then
 echocheck "os2threads"