diff options
author | Uri Lublin <uril@redhat.com> | 2010-01-03 19:31:29 +0200 |
---|---|---|
committer | Yaniv Kamay <ykamay@redhat.com> | 2010-01-10 19:46:11 +0200 |
commit | 82a73df97ffc5e9a937bfe3530cceee4f3ea6441 (patch) | |
tree | 4a3f4409d9b7beb691cd495ad7335a10912e1838 /configure.ac.shared | |
parent | f0eb948b5c433c16a188bb7fec6712df6e1c2b77 (diff) | |
download | spice-82a73df97ffc5e9a937bfe3530cceee4f3ea6441.tar.gz spice-82a73df97ffc5e9a937bfe3530cceee4f3ea6441.tar.xz spice-82a73df97ffc5e9a937bfe3530cceee4f3ea6441.zip |
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>
Diffstat (limited to 'configure.ac.shared')
-rw-r--r-- | configure.ac.shared | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/configure.ac.shared b/configure.ac.shared index 52b71673..c55a4660 100644 --- a/configure.ac.shared +++ b/configure.ac.shared @@ -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 |