spice: config: Add DISTRIBUTION and PATCHID to configure summary

Signed-off-by: Uri Lublin <uril@redhat.com>
This commit is contained in:
Uri Lublin 2010-01-10 23:11:46 +02:00 committed by Yaniv Kamay
parent a311054422
commit ea8fce17e2
3 changed files with 10 additions and 2 deletions

View File

@ -63,7 +63,7 @@ AC_OUTPUT
dnl ==========================================================================
echo "
Spice Client $VERSION
Spice Client $full_version
==============
prefix: ${prefix}

View File

@ -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

View File

@ -38,7 +38,7 @@ AC_OUTPUT
dnl ==========================================================================
echo "
Spice Server $VERSION
Spice Server $full_version
==============
prefix: ${prefix}