configure.ac: introduce --{disable,enable}-lib-lttng-ctl
authorChristophe Bedard <christophe.bedard@apex.ai>
Tue, 23 Jan 2024 22:52:55 +0000 (14:52 -0800)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 29 Feb 2024 22:19:33 +0000 (17:19 -0500)
commit885078d1004705e79400e109dc7cf9620cafcc4e
treeb8bdfc85ee20d0a4daa363a03940840a2c9a217f
parent6a871bbe6177568f748d1a9f580fa981bc75171c
configure.ac: introduce --{disable,enable}-lib-lttng-ctl

The goal is to be able to only build liblttng-ctl, for example without
needing to build bin/lttng.

Since liblttng-ctl is required when building some of the binaries,
./configure will fail if --disabled (explicitly) unless those binaries
are --disabled too.

Previously, the following would result in liblttng-ctl not getting
built, but it now gets built by default:

  ./configure \
    --disable-bin-lttng \
    --disable-bin-lttng-relayd \
    --disable-bin-lttng-sessiond

Change-Id: I9338c46e64c031360aa762a3ce891511a3dbba39
Signed-off-by: Christophe Bedard <christophe.bedard@apex.ai>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
configure.ac
This page took 0.024741 seconds and 4 git commands to generate.