The SCM_RIGHTS flag seems to be the thing that xtrans depends on, and meson makes the check easy without needing a build option.
7deaf9900 meson: Automatically detect support for XTRANS_SEND_FDs.
include/meson.build | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
Upstream: cgit.freedesktop.org