git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3980
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
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_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.)
-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
dnl #
dnl # 4. determine a few additional details