changeset 34491:220e2f980b73

configure: Only test for Win32 threads on Windows.
author diego
date Thu, 19 Jan 2012 14:36:11 +0000
parents 18e2bab60851
children 1495455e6d22
files configure
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Mon Jan 16 09:15:40 2012 +0000
+++ b/configure	Thu Jan 19 14:36:11 2012 +0000
@@ -3608,6 +3608,8 @@
   fi
 fi
 
+
+if win32; then
 echocheck "w32threads"
 if test "$_pthreads" = yes ; then
   res_comment="using pthread instead"
@@ -3619,6 +3621,8 @@
 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"