Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Get ready for release
[simgrid.git] / configure.ac
index 6c84e92..ae7a8e0 100644 (file)
@@ -3,7 +3,7 @@ AC_PREREQ(2.59)
 # We need a recent ACI
 # A CI_PREREQ(2003.01.16)
 
-AC_INIT([simgrid],[2.91],[simgrid2-users@listes.ens-lyon.fr])
+AC_INIT([simgrid],[2.92],[simgrid2-users@listes.ens-lyon.fr])
 AC_CONFIG_SRCDIR([include/gras.h])
 AC_CONFIG_HEADERS([src/gras_config.h])
 
@@ -46,7 +46,7 @@ AC_CHECK_HEADERS([sys/socket.h winsock.h winsock2.h \
                  ucontext.h \
                  sys/time.h \
                  errno.h unistd.h ])
-AC_CHECK_FUNCS([gettimeofday \
+AC_CHECK_FUNCS([gettimeofday usleep \
                 getdtablesize \
                 sysconf])
 
@@ -128,26 +128,33 @@ AC_CONFIG_FILES([
     examples/msg/Makefile          examples/msg/run_msg_test
     examples/gras/Makefile 
       examples/gras/ping/Makefile  examples/gras/ping/test_sg  examples/gras/ping/test_rl
+      examples/gras/timer/Makefile examples/gras/timer/test_sg examples/gras/timer/test_rl
+      examples/gras/chrono/Makefile examples/gras/chrono/test_sg examples/gras/chrono/test_rl
   doc/Makefile
     doc/Doxyfile.main           doc/Doxyfile.API          doc/Doxyfile.Examples   
-  tools/compile-remote-worker
+  tools/compile-remote-worker tools/Makefile
+    tools/gras/Makefile
   testsuite/Makefile
   testsuite/run_tests    
   testsuite/gras/trp_tcp_usage
   testsuite/gras/trp_file_usage
 ],[
-     test -e testsuite/run_tests          && chmod +x testsuite/run_tests;
-     test -e testsuite/gras/trp_tcp_usage && chmod +x testsuite/gras/trp_tcp_usage;
-     test -e testsuite/gras/trp_file_usage&& chmod +x testsuite/gras/trp_file_usage;
-     test -e tools/compile-remote-worker  && chmod +x tools/compile-remote-worker;
-     test -e examples/msg/run_msg_test    && chmod +x examples/msg/run_msg_test;
-     test -e examples/gras/ping/test_sg   && chmod +x examples/gras/ping/test_sg;
-     test -e examples/gras/ping/test_rl   && chmod +x examples/gras/ping/test_rl;
-#     test -e examples/gras/bandwidth/test_sg   && chmod +x examples/gras/bandwidth/test_sg;
-     test -e examples/gras/pastry/test_sg && chmod +x examples/gras/pastry/test_sg;
-     chmod +x $srcdir/tools/gras-check-arch;
+    for file in                                                 \
+     testsuite/run_tests                                        \
+     testsuite/gras/trp_tcp_usage testsuite/gras/trp_file_usage \
+     tools/compile-remote-worker                                \
+     examples/msg/run_msg_test                                  \
+     examples/gras/ping/test_sg   examples/gras/ping/test_rl    \
+     examples/gras/timer/test_sg  examples/gras/timer/test_rl   \
+     examples/gras/chrono/test_sg  examples/gras/chrono/test_rl \
+    ; do                                                        \
+      test -e $file && chmod +x $file;                          \
+    done
+    chmod +x $srcdir/tools/gras-check-arch;
 ])
 
+#    examples/gras/pastry/test_sg   
+#    examples/gras/bandwidth/test_sg