X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6ce23854338a6f7f5924fe23f2f250967016bf59..7c878c7f73356568b2cf6c801d90e44a08a1e233:/configure.ac diff --git a/configure.ac b/configure.ac index 831dc0f8e4..2acc34ce7b 100644 --- a/configure.ac +++ b/configure.ac @@ -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 ##