Introduce configure --with-lttng-system-rundir
[lttng-ust.git] / configure.ac
index a59e8ce8449dc458b9a4d6b51ae404df3b41296b..94f81829d9a24ef82e91fe2490712397a61fbbe4 100644 (file)
@@ -262,6 +262,14 @@ AS_IF([test "x$with_sdt" = "xyes"],[
        ])
 ])
 
+AC_ARG_WITH([lttng-system-rundir],
+       AS_HELP_STRING([--with-lttng-system-rundir],
+       [Location of the system directory where LTTng-UST expects the system-wide lttng-sessiond runtime files. The default is "/var/run/lttng".]),
+       [lttng_system_rundir="$withval"],
+       [lttng_system_rundir="/var/run/lttng"])
+AC_DEFINE_UNQUOTED([LTTNG_SYSTEM_RUNDIR], ["$lttng_system_rundir"],
+       [LTTng system runtime directory])
+
 AC_CONFIG_FILES([
        Makefile
        doc/Makefile
This page took 0.023721 seconds and 4 git commands to generate.