From: Michael Jeanson Date: Mon, 22 Mar 2021 18:59:31 +0000 (-0400) Subject: configure: regroup autoconf substituted variable X-Git-Tag: v2.13.0-rc1~215 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=46f5fb4c47e9d24f2af15045d4efadd1aef635b4;p=lttng-ust.git 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 --- 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)