mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-31 02:41:52 +00:00
spice: configure.ac.shared: add PATCHID and DISTRIBUTION variables (subdir config)
Define them with ./configure PATCHID=id DISTRIBUTION=dist They appear in config.h Add them to your version-printing function. Signed-off-by: Uri Lublin <uril@redhat.com>
This commit is contained in:
parent
f0eb948b5c
commit
82a73df97f
@ -181,6 +181,18 @@ if test "x$use_spice_common" != "xno"; then
|
||||
SPICE_COMMON_SRCDIR=$(pkg-config --variable=common_src_dir spice-common)
|
||||
fi
|
||||
|
||||
|
||||
#
|
||||
# patchid and distribution -- better identify the release
|
||||
#
|
||||
AC_ARG_VAR(PATCHID, [identify release by last patch id])
|
||||
AH_TEMPLATE(PATCHID, [identify release by last patch id])
|
||||
AC_DEFINE_UNQUOTED(PATCHID, ["$ac_env_PATCHID_value"])
|
||||
|
||||
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"])
|
||||
|
||||
dnl ===========================================================================
|
||||
dnl check compiler flags
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user