[lldb/Host] Use cmakedefine01 for LLDB_ENABLE_TERMIOS
authorJonas Devlieghere <jonas@devlieghere.com>
Thu, 12 Dec 2019 17:34:11 +0000 (09:34 -0800)
committerJonas Devlieghere <jonas@devlieghere.com>
Thu, 12 Dec 2019 17:34:11 +0000 (09:34 -0800)
commit61a2bdadb33166950f768ad2c764d2940b9466fb
tree3119d3cf4816fc347e223f8cfac3af1d34f51a1c
parent4b15c6e2a15f9d1d7c2586af8a7811e7b43ac799
[lldb/Host] Use cmakedefine01 for LLDB_ENABLE_TERMIOS

This renames LLDB_CONFIG_TERMIOS_SUPPORTED to LLDB_ENABLE_TERMIOS. It
now also uses cmakedefine01 to keep things consistent with out other
optional dependencies. But more importantly it won't silently fail when
you forget to include Config.h.
lldb/cmake/modules/LLDBGenerateConfig.cmake
lldb/include/lldb/Host/Config.h.cmake
lldb/include/lldb/Host/Terminal.h
lldb/source/Host/common/Terminal.cpp