summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2018-01-27 09:53:08 +0100
committerIñigo Martínez <inigomartinez@gmail.com>2018-01-29 14:42:46 +0100
commit907b4a896f14b01d5260b820a6b304fe8d06bb1f (patch)
treed34f60852a436bc12428e9b312fb6813af00c29e
parentd77ec441a6bca1f60a19ebbb24eca2217c0a3784 (diff)
downloadlibgnome-volume-control-wip/inigomartinez/meson.tar.gz
build: Remove config.h template filewip/inigomartinez/meson
The `config.h` can be generated without any template. This patch removes the template file and modifies the build file to not make any use of it. It also removes the variable which holds the generated configuration file target, as it will not be necessary for any packages building libgnome-volume-control. https://bugzilla.gnome.org/show_bug.cgi?id=792948
-rw-r--r--config.h.meson3
-rw-r--r--meson.build3
2 files changed, 1 insertions, 5 deletions
diff --git a/config.h.meson b/config.h.meson
deleted file mode 100644
index 0363db6..0000000
--- a/config.h.meson
+++ /dev/null
@@ -1,3 +0,0 @@
-#mesondefine GETTEXT_PACKAGE
-#mesondefine PACKAGE_VERSION
-#mesondefine HAVE_ALSA
diff --git a/meson.build b/meson.build
index ff75f29..1ad4c1e 100644
--- a/meson.build
+++ b/meson.build
@@ -112,8 +112,7 @@ libgvc_dep = declare_dependency(
dependencies: libgvc_deps
)
-config = configure_file(
- input: 'config.h.meson',
+configure_file(
output: 'config.h',
configuration: cdata
)