Signed-off-by: Uri Lublin <u...@redhat.com>
---
 client/configure.ac |    2 +-
 configure.ac.shared |    8 ++++++++
 server/configure.ac |    2 +-
 3 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/client/configure.ac b/client/configure.ac
index f6e9116..32657dd 100644
--- a/client/configure.ac
+++ b/client/configure.ac
@@ -63,7 +63,7 @@ AC_OUTPUT
 dnl ==========================================================================
 echo "

-        Spice Client $VERSION
+        Spice Client $full_version
         ==============

         prefix:                   ${prefix}
diff --git a/configure.ac.shared b/configure.ac.shared
index c55a466..8c686c1 100644
--- a/configure.ac.shared
+++ b/configure.ac.shared
@@ -193,6 +193,14 @@ AC_ARG_VAR(DISTRIBUTION, [identify release by last distribution])
 AH_TEMPLATE(DISTRIBUTION, [identify release by last distribution])
 AC_DEFINE_UNQUOTED(DISTRIBUTION, ["$ac_env_DISTRIBUTION_value"])

+if test -n "${DISTRIBUTION}"; then
+    dist=".${DISTRIBUTION}"
+fi
+if test -n "${PATCHID}"; then
+    patchid="-${PATCHID}"
+fi
+full_version="${VERSION}${patchid}${dist}"
+
 dnl ===========================================================================
 dnl check compiler flags

diff --git a/server/configure.ac b/server/configure.ac
index e078816..b7eeffb 100644
--- a/server/configure.ac
+++ b/server/configure.ac
@@ -38,7 +38,7 @@ AC_OUTPUT
 dnl ==========================================================================
 echo "

-        Spice Server $VERSION
+        Spice Server $full_version
         ==============

         prefix:                   ${prefix}
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Spice-space-devel mailing list
Spice-space-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/spice-space-devel

Reply via email to