summaryrefslogtreecommitdiff
path: root/src/libostree/ostree-version.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/libostree/ostree-version.h.in')
-rw-r--r--src/libostree/ostree-version.h.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libostree/ostree-version.h.in b/src/libostree/ostree-version.h.in
index 8edb9116..2c7ecdec 100644
--- a/src/libostree/ostree-version.h.in
+++ b/src/libostree/ostree-version.h.in
@@ -91,3 +91,13 @@
#define OSTREE_CHECK_VERSION(year,release) \
(OSTREE_YEAR_VERSION > (year) || \
(OSTREE_YEAR_VERSION == (year) && OSTREE_RELEASE_VERSION >= (release)))
+
+/**
+ * OSTREE_BUILT_FEATURES:
+ *
+ * Whitespace separated set of features this libostree was configured with at build time.
+ * Consult the source code in configure.ac (or the CLI `ostree --version`) for examples.
+ *
+ * Since: 2019.3
+ */
+#define OSTREE_BUILT_FEATURES "@OSTREE_FEATURES@"