diff options
-rw-r--r-- | meson.build | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meson.build b/meson.build index b5862d3a..1a4995b8 100644 --- a/meson.build +++ b/meson.build @@ -84,8 +84,7 @@ have_openpty = cc.has_function('openpty', dependencies: util_dep) config_h.set('HAVE_OPENPTY', have_openpty, description: 'Define if you have the openpty function.') -config_h.set('HAVE_LOGIN_TTY', util_dep.found() and cc.has_function('login_tty', dependencies: util_dep), - description: 'Whether login_tty is available') +config_h.set('HAVE_LOGIN_TTY', cc.has_function('login_tty', dependencies: util_dep), description: 'Whether login_tty is available') # headers check_headers = [ |