summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominique Leuenberger <dimstar@opensuse.org>2017-06-22 18:20:50 +0200
committerBastien Nocera <hadess@hadess.net>2017-06-22 18:33:49 +0200
commitcd8cec1cf7e16decf4733552b78e7c842c9833a7 (patch)
treeb51eaef5ab30fd754a9a9d7a456f1cfedb8733f2
parenteb66a4f1a2905d04d8e717207a8ca0135a7bab8c (diff)
downloadtotem-pl-parser-cd8cec1cf7e16decf4733552b78e7c842c9833a7.tar.gz
build: Fix missing TOTEM_PL_PARSER_CHECK_VERSION macro
Use totem-pl-parser-features.h.in as base to generate totem-pl-parser-features.h so that TOTEM_PL_PARSER_CHECK_VERSION is present. https://bugzilla.gnome.org/show_bug.cgi?id=784098
-rw-r--r--plparse/meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/plparse/meson.build b/plparse/meson.build
index bfc95c5..bd8bac5 100644
--- a/plparse/meson.build
+++ b/plparse/meson.build
@@ -12,7 +12,8 @@ version_cdata = configuration_data()
version_cdata.set('TOTEM_PL_PARSER_VERSION_MAJOR', plparse_major_version)
version_cdata.set('TOTEM_PL_PARSER_VERSION_MINOR', plparse_minor_version)
version_cdata.set('TOTEM_PL_PARSER_VERSION_MICRO', plparse_micro_version)
-features_h = configure_file(output: 'totem-pl-parser-features.h',
+features_h = configure_file(input: 'totem-pl-parser-features.h.in',
+ output: 'totem-pl-parser-features.h',
install_dir: 'include/totem-pl-parser/1/plparser',
configuration: version_cdata)