From 5b9e2cd7d8e55f512d19d4f6b8c34dc001e73588 Mon Sep 17 00:00:00 2001 From: gb Date: Wed, 24 Mar 2010 16:35:36 +0000 Subject: [PATCH] Improve versioning summary. --- configure.ac | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 55fd58c..3e66046 100644 --- a/configure.ac +++ b/configure.ac @@ -195,6 +195,13 @@ AC_SUBST(LIBVA_EXTRA_LIBS) VA_VERSION=`$PKG_CONFIG --modversion libva` VA_MAJOR_VERSION=`echo "$VA_VERSION" | cut -d'.' -f1` VA_MINOR_VERSION=`echo "$VA_VERSION" | cut -d'.' -f2` +VA_MICRO_VERSION=`echo "$VA_VERSION" | cut -d'.' -f3` +VA_SDS_VERSION=`$PKG_CONFIG libva --variable sdsversion` + +VA_VERSION_STR="$VA_VERSION" +if test -n "$VA_SDS_VERSION"; then + VA_VERSION_STR="$VA_VERSION_STR-sds$VA_SDS_VERSION" +fi pkgconfigdir=${libdir}/pkgconfig AC_SUBST(pkgconfigdir) @@ -236,5 +243,5 @@ dnl Print summary echo echo gstreamer-vaapi configuration summary: echo -echo VA-API version ................... : $VA_VERSION +echo VA-API version ................... : $VA_VERSION_STR echo -- 2.7.4