From 748399fcae731b0abc9c43f7afb5b340d42c84bc Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Wed, 24 May 2017 13:38:08 -0400 Subject: [PATCH] Disable binaries on platforms where they are not supported MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit They can still be enabled with the appropriate configure flag like --enable-bin-lttng Signed-off-by: Michael Jeanson Signed-off-by: Jérémie Galarneau --- configure.ac | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/configure.ac b/configure.ac index 5b87db912..8fb84787f 100644 --- a/configure.ac +++ b/configure.ac @@ -114,6 +114,16 @@ AS_CASE([$host_os], [cygwin*], [ LT_NO_UNDEFINED="-no-undefined" + ], + [cygwin*|darwin*|mingw*|solaris*], + [ + # On platforms where we only support the relayd, disable the other binaries by default + AS_IF([test "x$enable_bin_lttng" = "x" ], [enable_bin_lttng=no]) + AS_IF([test "x$enable_bin_lttng_consumerd" = "x" ], [enable_bin_lttng_consumerd=no]) + AS_IF([test "x$enable_bin_lttng_crash" = "x" ], [enable_bin_lttng_crash=no]) + AS_IF([test "x$enable_bin_lttng_sessiond" = "x" ], [enable_bin_lttng_sessiond=no]) + AS_IF([test "x$enable_extras" = "x" ], [enable_extras=no]) + AS_IF([test "x$with_lttng_ust" = "x" ], [with_lttng_ust=no]) ] ) -- 2.34.1