summaryrefslogtreecommitdiffstats
path: root/lldb/source/API
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-12-12 09:13:04 -0800
committerJonas Devlieghere <jonas@devlieghere.com>2019-12-12 09:13:31 -0800
commita4304f96d6baba92baa9db1eef0ed647f76306f6 (patch)
tree887ffdd1ef5443b27f39555bce663c38f1b32381 /lldb/source/API
parent23bee0b0cf7a1af084ea06f2b7dfde1767837084 (diff)
downloadbcm5719-llvm-a4304f96d6baba92baa9db1eef0ed647f76306f6.tar.gz
bcm5719-llvm-a4304f96d6baba92baa9db1eef0ed647f76306f6.zip
[lldb/CMake] Rename LLDB_DISABLE_CURSES to LLDB_ENABLE_CURSES
This matches the naming scheme used by LLVM. Differential revision: https://reviews.llvm.org/D71377
Diffstat (limited to 'lldb/source/API')
-rw-r--r--lldb/source/API/SBDebugger.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/lldb/source/API/SBDebugger.cpp b/lldb/source/API/SBDebugger.cpp
index d9dd7d423ae..769f688b5b7 100644
--- a/lldb/source/API/SBDebugger.cpp
+++ b/lldb/source/API/SBDebugger.cpp
@@ -683,12 +683,8 @@ SBStructuredData SBDebugger::GetBuildConfiguration() {
AddBoolConfigEntry(
*config_up, "xml", XMLDocument::XMLEnabled(),
"A boolean value that indicates if XML support is enabled in LLDB");
- bool have_curses = true;
-#ifdef LLDB_DISABLE_CURSES
- have_curses = false;
-#endif
AddBoolConfigEntry(
- *config_up, "curses", have_curses,
+ *config_up, "curses", LLDB_ENABLE_CURSES,
"A boolean value that indicates if curses support is enabled in LLDB");
AddLLVMTargets(*config_up);
OpenPOWER on IntegriCloud