From: Mathieu Desnoyers Date: Thu, 17 Nov 2011 21:39:56 +0000 (-0500) Subject: Fix configure X-Git-Tag: v1.9.1~85 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=799104b4959f9a88a80a958beaa92bd8c571f66b;p=lttng-ust.git Fix configure Signed-off-by: Mathieu Desnoyers --- diff --git a/configure.ac b/configure.ac index 134ed145..c32c835d 100644 --- a/configure.ac +++ b/configure.ac @@ -12,9 +12,9 @@ AC_CONFIG_SRCDIR([include/lttng/tracepoint.h]) AC_CONFIG_HEADERS([config.h include/lttng/config.h]) AH_TEMPLATE([HAVE_EFFICIENT_UNALIGNED_ACCESS], [Use efficient unaligned access.]) # Compute minor/major/patchlevel version numbers -major_version=$(echo AC_PACKAGE_VERSION | sed 's/\([^.]\)*\.\([^.]*\)\.\([^.]*\)/\1/)' -minor_version=$(echo AC_PACKAGE_VERSION | sed 's/\([^.]\)*\.\([^.]*\)\.\([^.]*\)/\2/)' -patchlevel_version=$(echo AC_PACKAGE_VERSION | sed 's/\([^.]\)*\.\([^.]*\)\.\([^.]*\)/\3/)' +major_version=$(echo AC_PACKAGE_VERSION | sed 's/\([^.]\)*\.\([^.]*\)\.\([^.]*\)/\1/)') +minor_version=$(echo AC_PACKAGE_VERSION | sed 's/\([^.]\)*\.\([^.]*\)\.\([^.]*\)/\2/)') +patchlevel_version=$(echo AC_PACKAGE_VERSION | sed 's/\([^.]\)*\.\([^.]*\)\.\([^.]*\)/\3/)') AC_SUBST([MAJOR_VERSION], [$major_version]) AC_SUBST([MINOR_VERSION], [$minor_version]) AC_SUBST([PATCHLEVEL_VERSION], [$patchlevel_version])