Fix: install lttng-consumerd in lib/lttng/libexec/
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 15 Mar 2012 18:30:43 +0000 (14:30 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 15 Mar 2012 18:32:00 +0000 (14:32 -0400)
This program is not meant to be executed by end-users: it is spawned
only by the session daemon.

Closes #46

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
configure.ac
src/bin/lttng-consumerd/Makefile.am
src/bin/lttng-sessiond/Makefile.am

index 3156273df0c974540f94bfbde752478c61a02358..6d60bd5c18c668e420375a992a9d80c4324e1f86 100644 (file)
@@ -165,6 +165,9 @@ lttngincludedir="${includedir}/lttng"
 AC_SUBST(lttngincludedir)
 AC_SUBST(DEFAULT_INCLUDES)
 
+lttnglibexecdir="${libdir}/lttng/libexec"
+AC_SUBST(lttnglibexecdir)
+
 AC_CONFIG_FILES([
        Makefile
        doc/Makefile
@@ -238,7 +241,7 @@ AS_IF([test "x$consumerd_only" = "xno"],[
        AS_ECHO("The sessiond daemon will look in the following directories: ")
        AS_ECHO_N("32-bit consumerd executable at: ")
        AS_IF([test "$CONSUMERD32_BIN" = ""],[
-               AS_ECHO_N("`eval eval echo $bindir`")
+               AS_ECHO_N("`eval eval echo $lttnglibexecdir`")
                AS_ECHO("/lttng-consumerd")
        ],[
                AS_ECHO("$CONSUMERD32_BIN")
@@ -253,7 +256,7 @@ AS_IF([test "x$consumerd_only" = "xno"],[
 
        AS_ECHO_N("64-bit consumerd executable at: ")
        AS_IF([test "$CONSUMERD64_BIN" = ""],[
-               AS_ECHO_N("`eval eval echo $bindir`")
+               AS_ECHO_N("`eval eval echo $lttnglibexecdir`")
                AS_ECHO("/lttng-consumerd")
        ],[
                AS_ECHO("$CONSUMERD64_BIN")
index 470c8c17a1ac597c0d40b83f26f200895ac2f9c3..acd58cdc398b4f4ae882aca010d37e78835131e9 100644 (file)
@@ -1,6 +1,6 @@
 AM_CPPFLAGS =
 
-bin_PROGRAMS = lttng-consumerd
+lttnglibexec_PROGRAMS = lttng-consumerd
 
 lttng_consumerd_SOURCES = lttng-consumerd.c lttng-consumerd.h
 
index 44948fc1428ed0fa78f2caefb6ed7c43c3e116db..ccdbe3afc49485af896cad9c5e61918a997ce4d3 100644 (file)
@@ -1,4 +1,4 @@
-AM_CPPFLAGS = -DINSTALL_BIN_PATH=\""$(bindir)"\" \
+AM_CPPFLAGS = -DINSTALL_BIN_PATH=\""$(lttnglibexecdir)"\" \
                          -DINSTALL_LIB_PATH=\""$(libdir)"\"
 
 AM_CFLAGS = -fno-strict-aliasing
This page took 0.028191 seconds and 5 git commands to generate.