pgsql: meson: Make sed optional - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: meson: Make sed optional
Date
Msg-id E1rGF5O-00BDAp-2v@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
meson: Make sed optional

sed is used only if dtrace or selinux are enabled.  Those options are
only used on Unix platforms, which should have sed.  But we don't want
to make sed a hard requirement on Windows, which was the case in meson
until now.

This just changes sed to be not-required by meson.  If you happen to
use a system with, say, dtrace but without sed, you might get a
slightly complicated error from meson during the build, but that seems
better than making the requiredness a complicated conditional that
will need to be maintained.

Discussion: https://www.postgresql.org/message-id/flat/ZQzp_VMJcerM1Cs_%40paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9aa374dcfb760746cd9ebe248dc68979c18849a5

Modified Files
--------------
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Add PostgreSQL::Test::Cluster::advance_wal
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Fix prologue of get_partition_ancestors()