From: mquinson Date: Tue, 10 Jul 2007 16:29:28 +0000 (+0000) Subject: Windows don't have any pthread implementation... X-Git-Tag: v3.3~1653 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/080fe941d0cefc731c075d239acca77e8e324b70 Windows don't have any pthread implementation... git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3707 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/configure.ac b/configure.ac index fd96814ed8..12173ed889 100644 --- a/configure.ac +++ b/configure.ac @@ -217,8 +217,10 @@ if test xpthread=xyes ; then # if we use them to implement the xbt_context SIMGRID_DEP="-lpthread" fi - # we need them in any case for the gras lib (which is multithreaded) - GRAS_DEP="-lpthread" + # we need them in any case for the gras lib (which is multithreaded), but on windows (of course) + if test "x$with_context" = "xwindows" ; then + GRAS_DEP="-lpthread" + fi fi AC_MSG_CHECKING(for csdp)