diff options
author | Uri Lublin <uril@redhat.com> | 2010-01-10 23:11:46 +0200 |
---|---|---|
committer | Yaniv Kamay <ykamay@redhat.com> | 2010-01-10 23:28:42 +0200 |
commit | ea8fce17e28809ec393ca2a5b566692a725069d9 (patch) | |
tree | b6d09db08d650b08de3ae94a19ae7613ec6f3eff /configure.ac.shared | |
parent | a3110544226606e6fde79ef61f59ca82a8303ef4 (diff) | |
download | spice-ea8fce17e28809ec393ca2a5b566692a725069d9.tar.gz spice-ea8fce17e28809ec393ca2a5b566692a725069d9.tar.xz spice-ea8fce17e28809ec393ca2a5b566692a725069d9.zip |
spice: config: Add DISTRIBUTION and PATCHID to configure summary
Signed-off-by: Uri Lublin <uril@redhat.com>
Diffstat (limited to 'configure.ac.shared')
-rw-r--r-- | configure.ac.shared | 8 |
1 files changed, 8 insertions, 0 deletions
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 |