]> git.ipfire.org Git - thirdparty/util-linux.git/commit
meson: implement HAVE_PTY
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 13 Jun 2023 07:55:22 +0000 (09:55 +0200)
committerChristian Hesse <mail@eworm.de>
Wed, 14 Jun 2023 08:29:47 +0000 (10:29 +0200)
commitbbe24d5b10b8a6dff289490c5ad074f7830da769
tree7f54834e13662e63c8c1129aaff0ca5f08746e37
parentbc58e3b35d0eff082ca9c24c9ac807685e78c9ce
meson: implement HAVE_PTY

This conditional was never implemented in the meson config. Under
autotools, it is guarded by availability of headers and an option. I
didn't implement the option here.

Fixes #2310.

'!= false' is used because 'x == 1' is rejected by meson if 'x' is
false. OTOH, 'x != false' seems to work if 'x' is 1.

(cherry picked from commit 444753601c4c367ca395359ea74fe5c7b86ce56d)
meson.build