Introduce configure --with-lttng-system-rundir
[lttng-ust.git] / configure.ac
index 84d121e5c56b7a78ef0b6b9f4282473d6653ae35..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
@@ -283,6 +291,8 @@ AC_CONFIG_FILES([
        tests/hello.cxx/Makefile
        tests/same_line_tracepoint/Makefile
        tests/snprintf/Makefile
+       tests/benchmark/Makefile
+       tests/utils/Makefile
        lttng-ust.pc
 ])
 
This page took 0.023052 seconds and 4 git commands to generate.