summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac.shared12
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