diff options
-rw-r--r-- | client/configure.ac | 2 | ||||
-rw-r--r-- | configure.ac.shared | 8 | ||||
-rw-r--r-- | server/configure.ac | 2 |
3 files changed, 10 insertions, 2 deletions
diff --git a/client/configure.ac b/client/configure.ac index f6e91168..32657dd3 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 c55a4660..8c686c1b 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 e078816e..b7eeffb5 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} |