From 080fe941d0cefc731c075d239acca77e8e324b70 Mon Sep 17 00:00:00 2001 From: mquinson Date: Tue, 10 Jul 2007 16:29:28 +0000 Subject: [PATCH] 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 --- configure.ac | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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) -- 2.20.1