Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
renaming more tracing functions
[simgrid.git] / configure.ac
index 2f9d91f..b0528a2 100644 (file)
@@ -378,6 +378,18 @@ then
 fi
 SG_COMPILE_FLAGS
 
+##
+## Support for tracing instrumentation
+##
+AC_CONFIG_HEADERS([include/instr/config.h])
+AC_ARG_ENABLE(tracing,
+              AS_HELP_STRING([--enable-tracing],[Activate the instrumentation so SimGrid can be traced to be visualized]),
+             [tracing=$enableval],
+             [tracing=no])
+if test x$tracing = xyes ; then
+     AC_DEFINE([HAVE_TRACING],[1], [defines whether instrumentation must be compiled or not])
+fi
+
 ##
 ## Support for the supernovae compilation mode
 ##