Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
*** empty log message ***
[simgrid.git] / configure.ac
index 2891230..2acc34c 100644 (file)
@@ -189,6 +189,21 @@ else
 fi
 AM_CONDITIONAL(USE_SIMIX,test x$enable_simix != xno)
 
+#########################################
+## Build optional modules (gtnets)
+##
+SG_CONFIGURE_PART(Optional modules)
+AC_ARG_ENABLE(gtnets,
+  AS_HELP_STRING([--enable-gtnets], [Use the new GTNetS module (default=no)]),
+  enable_gtnets=$enableval,enable_gtnets=no)
+if test "x$enable_gtnets" = "xyes" ; then
+  AC_MSG_RESULT("***** You have decided to use the experimental GTNetS. We hope you know what you're doing.. ****")
+  AC_DEFINE(USE_GTNETS, 1, [Indicates whether we should use GTNetS or not])
+else 
+  AC_MSG_RESULT(Eventually you will come to GTNetS: x$enable_gtnets)
+fi
+AM_CONDITIONAL(USE_GTNETS,test x$enable_gtnets != xno)
+
 #########################################
 ## Check for libraries extra-dependencies
 ##
@@ -343,8 +358,8 @@ AC_CONFIG_FILES([
 AC_CONFIG_FILES([
   tools/Makefile
     tools/gras/Makefile
+    tools/tesh/Makefile
 ])
-dnl tools/tesh/Makefile
 
 
 # GRAMINE_CUT_BEGIN
@@ -385,7 +400,7 @@ AC_CONFIG_FILES([
 
 AC_CONFIG_FILES([
   examples/Makefile 
-    examples/msg/Makefile           examples/msg/run_msg_test
+    examples/msg/Makefile
     examples/simdag/Makefile       examples/simdag/test_simdag
     examples/gras/Makefile 
       examples/gras/ping/Makefile   examples/gras/ping/test_sg   examples/gras/ping/test_rl
@@ -456,9 +471,10 @@ Configuration of package \`${PACKAGE}' (version ${VERSION}) on $gras_arch_name (
 if test -e CVS && test x$USE_MAINTAINER_MODE != xyes ; then
   echo "WARNING:"
   echo "WARNING: you seem to compile the CVS version without the maintainer mode."
-  echo "WARNING: You may want to enable this by specifying:"
+  echo "WARNING: You won't be able to build archives that way (make dist is likely to fail). "
+  echo "WARNING: If you want to enable the maintainer mode, juste specify it like this:"
   echo "WARNING:"
-  echo "WARNING: ./configure --enable-maintainer-mode  $ac_configure_args"
+  echo "WARNING: ./configure '--enable-maintainer-mode' $ac_configure_args"
   echo "WARNING:"
 fi
 echo $build_id > stamp.configure