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:
Tim-Philipp Müller 2018-10-17 14:15:33 +01:00
parent af0e30d545
commit cac9aab107
4 changed files with 8 additions and 8 deletions

View file

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

View file

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

View file

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

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