From 46f5fb4c47e9d24f2af15045d4efadd1aef635b4 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Mon, 22 Mar 2021 14:59:31 -0400 Subject: [PATCH] configure: regroup autoconf substituted variable This is part of an effort to standardise our autotools setup across project to simplify maintenance. Change-Id: If2938c615477604693787ea69c956a37931cef13 Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- configure.ac | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/configure.ac b/configure.ac index 03be435e..54915cbd 100644 --- a/configure.ac +++ b/configure.ac @@ -483,6 +483,15 @@ AM_CONDITIONAL([HAVE_CXX], [test "$HAVE_CXX11" = "1"]) AM_CONDITIONAL([HAVE_JAVAH], [test "x$JAVAH" != "x"]) AM_CONDITIONAL([HAVE_PERF_EVENT], [test "x$ac_cv_header_linux_perf_event_h" = "xyes"]) + +## ## +## Substitute variables for use in Makefile.am ## +## ## + +# Library versions for libtool +AC_SUBST([LTTNG_UST_LIBRARY_VERSION], ust_lib_version) +AC_SUBST([LTTNG_UST_CTL_LIBRARY_VERSION], ust_ctl_lib_version) + AM_CFLAGS="-Wall $URCU_CFLAGS $PTHREAD_CFLAGS" AC_SUBST(AM_CFLAGS) -- 2.34.1