summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorSøren Holm2014-10-01 16:14:02 +0200
committerKarel Zak2014-10-14 12:03:54 +0200
commit10e1d2e5f7e516344d9ba87e25da4dccee13913d (patch)
tree035f5863046ff8471ea39b96281ae12581fd9e5a /configure.ac
parentdmesg: improve reltime colors (diff)
downloadkernel-qcow2-util-linux-10e1d2e5f7e516344d9ba87e25da4dccee13913d.tar.gz
kernel-qcow2-util-linux-10e1d2e5f7e516344d9ba87e25da4dccee13913d.tar.xz
kernel-qcow2-util-linux-10e1d2e5f7e516344d9ba87e25da4dccee13913d.zip
libmount: provide version as int for better compiletime test
Signed-off-by: Søren Holm <sgh@sgh.dk>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 0447d468d..f692d8a56 100644
--- a/configure.ac
+++ b/configure.ac
@@ -806,6 +806,9 @@ AM_CONDITIONAL([BUILD_LIBMOUNT], [test "x$build_libmount" = xyes])
AM_CONDITIONAL([BUILD_LIBMOUNT_TESTS], [test "x$build_libmount" = xyes -a "x$enable_static" = xyes])
AC_SUBST([LIBMOUNT_VERSION])
+AC_SUBST([LIBMOUNT_MAJOR_VERSION], $PACKAGE_VERSION_MAJOR)
+AC_SUBST([LIBMOUNT_MINOR_VERSION], $PACKAGE_VERSION_MINOR)
+AC_SUBST([LIBMOUNT_PATCH_VERSION], $PACKAGE_VERSION_RELEASE)
AC_SUBST([LIBMOUNT_VERSION_INFO])
AC_DEFINE_UNQUOTED([LIBMOUNT_VERSION], ["$LIBMOUNT_VERSION"], [libmount version string])