Relax pthreads check to avoid win32
authorAnthony Liguori <aliguori@us.ibm.com>
Tue, 25 Aug 2009 22:21:56 +0000 (17:21 -0500)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 28 Aug 2009 01:47:01 +0000 (20:47 -0500)
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
configure

index abd38dd..fc664fc 100755 (executable)
--- a/configure
+++ b/configure
@@ -1302,7 +1302,7 @@ for pthread_lib in $PTHREADLIBS_LIST; do
   fi
 done
 
-if test "$pthread" = no; then
+if test "$mingw32" != yes -a "$pthread" = no; then
   echo
   echo "Error: pthread check failed"
   echo "Make sure to have the pthread libs and headers installed."