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
This commit is contained in:
Seungha Yang 2018-10-17 21:09:22 +09:00 committed by Tim-Philipp Müller
parent 59f40eb1a0
commit 53b6c94d63
4 changed files with 8 additions and 8 deletions

View file

@ -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',

View file

@ -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',

View file

@ -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',

View file

@ -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',