Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Also export the diagram of the upcomming module split on servers
[simgrid.git] / configure
index 3b4e15c..bdc197b 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.ac Revision: 1.135 .
+# From configure.ac Revision: 1.136 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.59 for simgrid 3.1.1-cvs.
 #
@@ -23597,8 +23597,6 @@ echo "${ECHO_T}${T_MD}Checking for threads, contexts or assimilated...${T_ME}" >
 
 
 
-echo "$as_me:$LINENO: checking on top of what can we build the contexts" >&5
-echo $ECHO_N "checking on top of what can we build the contexts... $ECHO_C" >&6
 
 echo "$as_me:$LINENO: checking for usable SVR4/SUSv2 makecontext(2)/swapcontext(2)" >&5
 echo $ECHO_N "checking for usable SVR4/SUSv2 makecontext(2)/swapcontext(2)... $ECHO_C" >&6
@@ -23627,10 +23625,10 @@ ucontext_t uc_main;
 
 void child(void *arg)
 {
-    if (arg != (void *)12345)
+    if (arg != (void *)2147483648)
         exit(1);
     if (swapcontext(&uc_child, &uc_main) != 0)
-        exit(1);
+        exit(2);
 }
 
 int main(int argc, char *argv[])
@@ -23640,28 +23638,28 @@ int main(int argc, char *argv[])
 
     /* the default is that it fails */
     if ((fp = fopen("conftestval", "w")) == NULL)
-        exit(1);
+        exit(3);
     fprintf(fp, "no\n");
     fclose(fp);
 
     /* configure a child user-space context */
     if ((stack = malloc(64*1024)) == NULL)
-        exit(1);
+        exit(4);
     if (getcontext(&uc_child) != 0)
-        exit(1);
+        exit(5);
     uc_child.uc_link = NULL;
     uc_child.uc_stack.ss_sp = (char *)stack+(32*1024);
     uc_child.uc_stack.ss_size = 32*1024;
     uc_child.uc_stack.ss_flags = 0;
-    makecontext(&uc_child, child, 2, (void *)12345);
+    makecontext(&uc_child, child, 2, (void *)2147483648);
 
     /* switch into the user context */
     if (swapcontext(&uc_main, &uc_child) != 0)
-        exit(1);
+        exit(6);
 
     /* Fine, child came home */
     if ((fp = fopen("conftestval", "w")) == NULL)
-        exit(1);
+        exit(7);
     fprintf(fp, "yes\n");
     fclose(fp);