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-09-27 21:21:14 +09:00 committed by Tim-Philipp Müller
parent 76ba8d8759
commit 3499d9ea64
6 changed files with 12 additions and 12 deletions

View file

@ -89,10 +89,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
simd_cargs = []

View file

@ -114,10 +114,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
gstvideo = library('gstvideo-@0@'.format(api_version),

View file

@ -13,10 +13,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
adder = library('gstadder',

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
gstaudiomixer = library('gstaudiomixer',

View file

@ -13,10 +13,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
gstvideotestsrc = library('gstvideotestsrc',

View file

@ -13,10 +13,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
gstvolume = library('gstvolume', 'gstvolume.c', orc_c, orc_h,