meson: Make sed optional

Peter Eisentraut <peter@eisentraut.org>

Commit: 9aa374dcfb760746cd9ebe248dc68979c18849a5
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2023-12-21T09:10:05Z
Releases: 17.0
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

Files

PathChange+/−
meson.build modified +1 −1

Discussion