From: Michael Jeanson Date: Wed, 24 May 2017 17:38:08 +0000 (-0400) Subject: Disable binaries on platforms where they are not supported X-Git-Tag: v2.10.0-rc2~14 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=dc684d187da04e549b2ed7ec5998294369c5d2fd;p=lttng-tools.git Disable binaries on platforms where they are not supported 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 --- diff --git a/configure.ac b/configure.ac index e806f8115..37b036eed 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]) ] )