Move the pybool logic from CMake to Python for simplicity

This is how similar booleans are handled, and seems to work for me
locally.

llvm-svn: 362039
GitOrigin-RevId: b9b64468caca25922d84d4520d4cc9b709a05af2
diff --git a/CMakeLists.txt b/CMakeLists.txt
index db35d5d..fbab61c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -13,9 +13,6 @@
   not
   )
 
-# Indicate if this is an MSVC environment.
-pythonize_bool(MSVC)
-
 configure_lit_site_cfg(
   ${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.py.in
   ${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg.py
diff --git a/lit.site.cfg.py.in b/lit.site.cfg.py.in
index 491f454..e981938 100644
--- a/lit.site.cfg.py.in
+++ b/lit.site.cfg.py.in
@@ -17,7 +17,7 @@
 config.host_triple = "@LLVM_HOST_TRIPLE@"
 config.target_triple = "@TARGET_TRIPLE@"
 config.host_arch = "@HOST_ARCH@"
-config.is_msvc = @MSVC_PYBOOL@
+config.is_msvc = lit.util.pythonize_bool("@MSVC@")
 
 config.llvm_use_sanitizer = "@LLVM_USE_SANITIZER@"