[spice-server] meson: Fix compatibility with Meson 0.48

Submitted by Frediano Ziglio on Aug. 29, 2019, 4:10 p.m.

Details

Message ID 20190829161049.13811-1-fziglio@redhat.com
State Accepted
Commit 84358a175e970810046f10685aa47b6371a13ee5
Headers show
Series "meson: Fix compatibility with Meson 0.48" ( rev: 1 ) in Spice

Not browsing as part of any series.

Commit Message

Frediano Ziglio Aug. 29, 2019, 4:10 p.m.
The "install" argument for configure_file is available since 0.50.
However this is already "false" if "install_dir" is not provided.

This will drop the following warning:
"Project targetting '>= 0.48' but tried to use feature introduced
in '0.50.0': install arg in configure_file"

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
---
 meson.build | 1 -
 1 file changed, 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/meson.build b/meson.build
index e58c436c0..35ebf3833 100644
--- a/meson.build
+++ b/meson.build
@@ -211,7 +211,6 @@  if host_machine.system() == 'windows'
 endif
 
 configure_file(output : 'config.h',
-               install : false,
                configuration : spice_server_config_data)
 
 #

Comments

On 8/29/19 1:10 PM, Frediano Ziglio wrote:
> The "install" argument for configure_file is available since 0.50.
> However this is already "false" if "install_dir" is not provided.
> 
> This will drop the following warning:
> "Project targetting '>= 0.48' but tried to use feature introduced
> in '0.50.0': install arg in configure_file"
> 
> Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
> ---
>  meson.build | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/meson.build b/meson.build
> index e58c436c0..35ebf3833 100644
> --- a/meson.build
> +++ b/meson.build
> @@ -211,7 +211,6 @@ if host_machine.system() == 'windows'
>  endif
>  
>  configure_file(output : 'config.h',
> -               install : false,
>                 configuration : spice_server_config_data)
>  
>  #
> 
Acked-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>