meson: drop config.h.meson template
authorTim-Philipp Müller <tim@centricular.com>
Tue, 1 May 2018 11:08:54 +0000 (12:08 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 1 May 2018 11:10:42 +0000 (12:10 +0100)
config.h.meson [deleted file]
meson.build

diff --git a/config.h.meson b/config.h.meson
deleted file mode 100644 (file)
index d617557..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-#mesondefine PACKAGE
-#mesondefine VERSION
-#mesondefine GST_PACKAGE_NAME
-#mesondefine PACKAGE_NAME
-#mesondefine GST_API_VERSION
-#mesondefine PLUGINDIR
-#mesondefine PY_LIB_LOC
-#mesondefine PY_ABI_FLAGS
-#mesondefine PY_LIB_SUFFIX
-#mesondefine PYTHON_VERSION
index 4d9f5dd..21888f2 100644 (file)
@@ -1,6 +1,6 @@
 project('gst-python', 'c', 'cpp',
   version : '1.15.0.1',
-  meson_version : '>= 0.36.0',
+  meson_version : '>= 0.40.0',
   default_options : [ 'warning_level=1',
                       'c_std=gnu99',
                       'buildtype=debugoptimized' ])
@@ -74,9 +74,7 @@ cdata.set('PY_LIB_LOC', '"@0@"'.format(pylib_loc))
 cdata.set('PY_ABI_FLAGS', '"@0@"'.format(python_abi_flags))
 cdata.set('PY_LIB_SUFFIX', '"@0@"'.format(pylib_suffix))
 cdata.set('PYTHON_VERSION', '"@0@"'.format(python_dep.version()))
-configure_file(input : 'config.h.meson',
-  output : 'config.h',
-  configuration : cdata)
+configure_file(output : 'config.h', configuration : cdata)
 configinc = include_directories('.')
 
 subdir('gi')