From 53b6c94d630c35b44226a3c3510955c1fc20f4b6 Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Wed, 17 Oct 2018 21:09:22 +0900 Subject: [PATCH] meson: Replace empty configuration_data() with copy keyword Use 'copy' keyword to avoid meson warning message. Note that 'copy' keyword in configure_file() is available since meson 0.47.0 https://bugzilla.gnome.org/show_bug.cgi?id=797298 --- gst/bayer/meson.build | 4 ++-- gst/compositor/meson.build | 4 ++-- gst/fieldanalysis/meson.build | 4 ++-- gst/gaudieffects/meson.build | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/gst/bayer/meson.build b/gst/bayer/meson.build index f4b69dcb2f..f9f366d31b 100644 --- a/gst/bayer/meson.build +++ b/gst/bayer/meson.build @@ -17,10 +17,10 @@ if have_orcc else orc_h = configure_file(input : orcsrc + '-dist.h', output : orcsrc + '.h', - configuration : configuration_data()) + copy : true) orc_c = configure_file(input : orcsrc + '-dist.c', output : orcsrc + '.c', - configuration : configuration_data()) + copy : true) endif gstbayer = library('gstbayer', diff --git a/gst/compositor/meson.build b/gst/compositor/meson.build index 2af1b68e32..f379a31a07 100644 --- a/gst/compositor/meson.build +++ b/gst/compositor/meson.build @@ -16,10 +16,10 @@ if have_orcc else orc_h = configure_file(input : orcsrc + '-dist.h', output : orcsrc + '.h', - configuration : configuration_data()) + copy : true) orc_c = configure_file(input : orcsrc + '-dist.c', output : orcsrc + '.c', - configuration : configuration_data()) + copy : true) endif gstcompositor = library('gstcompositor', diff --git a/gst/fieldanalysis/meson.build b/gst/fieldanalysis/meson.build index 8c9a34d09c..2f1b73ac0a 100644 --- a/gst/fieldanalysis/meson.build +++ b/gst/fieldanalysis/meson.build @@ -15,10 +15,10 @@ if have_orcc else orc_h = configure_file(input : orcsrc + '-dist.h', output : orcsrc + '.h', - configuration : configuration_data()) + copy : true) orc_c = configure_file(input : orcsrc + '-dist.c', output : orcsrc + '.c', - configuration : configuration_data()) + copy : true) endif gstfieldanalysis = library('gstfieldanalysis', diff --git a/gst/gaudieffects/meson.build b/gst/gaudieffects/meson.build index a1646a63c1..a001e480fd 100644 --- a/gst/gaudieffects/meson.build +++ b/gst/gaudieffects/meson.build @@ -22,10 +22,10 @@ if have_orcc else orc_h = configure_file(input : orcsrc + '-dist.h', output : orcsrc + '.h', - configuration : configuration_data()) + copy : true) orc_c = configure_file(input : orcsrc + '-dist.c', output : orcsrc + '.c', - configuration : configuration_data()) + copy : true) endif gstgaudioeffects = library('gstgaudieffects',