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.11.0-rc1~534 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=748399fcae731b0abc9c43f7afb5b340d42c84bc;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 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]) ] )