]> 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)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 13 Jun 2023 19:10:57 +0000 (21:10 +0200)
commit444753601c4c367ca395359ea74fe5c7b86ce56d
treec8b1521d26912f0c137197e06b1ebc31aa2287fe
parentb5fc1d120e6b2db9b1dcd198d73ab4616741d9f9
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.
meson.build