X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=configure.ac;fp=configure.ac;h=94f81829d9a24ef82e91fe2490712397a61fbbe4;hb=751d4e910613be142f5590ed91590a8e3f3299ef;hp=a59e8ce8449dc458b9a4d6b51ae404df3b41296b;hpb=32b03ae653d3237a347ee72f9a44ad8912066b96;p=lttng-ust.git diff --git a/configure.ac b/configure.ac index a59e8ce8..94f81829 100644 --- a/configure.ac +++ b/configure.ac @@ -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