X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6d31ded41b278226dc70b269dc7af66588e6474e..3d471f92e8c432218b42fbde386427a230695fc6:/configure.ac diff --git a/configure.ac b/configure.ac index 16ccabcfa5..3625b3d6ef 100644 --- a/configure.ac +++ b/configure.ac @@ -160,9 +160,9 @@ if test "x$with_context" = "xpthread"; then AC_CHECK_LIB(pthread,pthread_create,, [AC_MSG_ERROR([[Cannot find pthreads (try --with-context=ucontext if you haven't already tried).]])]) AC_DEFINE([CONTEXT_THREADS],1,[Define if xbt contexts are based on our threads implementation or not]) - AC_MSG_RESULT(You have pthreads. Let's use them.) + AC_MSG_RESULT(You have pthreads and requested for them. Fine.) fi -AM_CONDITIONAL(CONTEXT_THREADS,test "x$with_context" = xpthread) +AM_CONDITIONAL(CONTEXT_THREADS,test "x$with_context" != xucontext) dnl # dnl # 4. determine a few additional details @@ -188,6 +188,7 @@ fi SG_CONFIGURE_PART(Checking extra libraries dependencies...) SIMGRID_DEP="" +SMPI_DEP="" GRAS_DEP="" if test xpthread=xyes ; then @@ -279,6 +280,7 @@ fi AM_CONDITIONAL(HAVE_SDP,test x$csdp != xno) AC_SUBST([SIMGRID_DEP]) +AC_SUBST([SMPI_DEP]) AC_CHECK_LIB(nsl, gethostbyname, [GRAS_DEP="$GRAS_DEP -lnsl"]) AC_CHECK_LIB(socket, connect, [GRAS_DEP="$GRAS_DEP -lsocket"])