From: Navarrop Date: Thu, 23 Jun 2011 15:01:23 +0000 (+0200) Subject: Sorry, now we can use ucontext... X-Git-Tag: v3_6_1~14 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/7dbc30ad67f401e4e44dc9566ed06f3bcb0c62a2 Sorry, now we can use ucontext... --- diff --git a/buildtools/Cmake/CompleteInFiles.cmake b/buildtools/Cmake/CompleteInFiles.cmake index 49d1d001f0..39bab450c1 100644 --- a/buildtools/Cmake/CompleteInFiles.cmake +++ b/buildtools/Cmake/CompleteInFiles.cmake @@ -271,12 +271,8 @@ ELSE(CMAKE_CROSSCOMPILING) file(READ "${simgrid_BINARY_DIR}/conftestval" mcsc) STRING(REPLACE "\n" "" mcsc "${mcsc}") if(mcsc) - if(APPLE AND NOT ucontext) # TODO for the moment ucontext don't work on MAC OSX - set(mcsc "no") - else(APPLE AND NOT ucontext) - set(mcsc "yes") - set(HAVE_UCONTEXT_H 1) - endif(APPLE AND NOT ucontext) + set(mcsc "yes") + set(HAVE_UCONTEXT_H 1) else(mcsc) set(mcsc "no") endif(mcsc)