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-30 13:16:22 +0100
commit6a0ac9ba69f84d763f286c5741b57ff8d87c1f45 (patch)
treedbf578813592004581a882ddc5ffa98dd4e86041
parentef5d07fa21a56889d8ffe7d45818dab1e9299ed9 (diff)
downloadlibgnome-volume-control-6a0ac9ba69f84d763f286c5741b57ff8d87c1f45.tar.gz
build: Remove config.h template file
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 bde1783..00121e7 100644
--- a/meson.build
+++ b/meson.build
@@ -128,8 +128,7 @@ libgvc_dep = declare_dependency(
dependencies: libgvc_deps
)
-config = configure_file(
- input: 'config.h.meson',
+configure_file(
output: 'config.h',
configuration: cdata
)