Re: Remove MSVC scripts from the tree - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Remove MSVC scripts from the tree
Date
Msg-id a25d6285-066b-4d68-a53e-af1d5647aff0@eisentraut.org
Whole thread Raw
In response to Re: Remove MSVC scripts from the tree  (Nazir Bilal Yavuz <byavuz81@gmail.com>)
List pgsql-hackers
On 19.12.23 17:44, Nazir Bilal Yavuz wrote:
> I think we need to require sed when dtrace or selinux is found, not by
> looking at the return value of the get_option().enabled().

Right.  I think the correct condition would be

sed = find_program(get_option('SED'), 'sed', native: true,
                    required: dtrace.found() or selinux.found())

I was trying to avoid that because it would require moving the 
find_program() to somewhere later in the top-level meson.build, but I 
suppose we have to do it that way.




pgsql-hackers by date:

Previous
From: "Drouvot, Bertrand"
Date:
Subject: Re: Function to get invalidation cause of a replication slot.
Next
From: Peter Eisentraut
Date:
Subject: Re: Remove MSVC scripts from the tree