]> granicus.if.org Git - gc/commitdiff
Rename with_checksums to enable_checksums option in CMake script
authorIvan Maidanski <ivmai@mail.ru>
Thu, 6 Jul 2017 17:25:29 +0000 (20:25 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 6 Jul 2017 17:25:29 +0000 (20:25 +0300)
(refactoring of commit 4530166)

* CMakeLists.txt (with_checksums): Rename to enable_checksums.

CMakeLists.txt

index 236fabc06b15feb8a01945b91f997084aa88b18e..d8a891e732645527f16a4b9e3a30d62b210a5cf0 100644 (file)
@@ -137,14 +137,14 @@ IF(enable_gcj_support)
         SET(SRC ${SRC} gcj_mlc.c)
 ENDIF(enable_gcj_support)
 
-OPTION(with_checksums "Report erroneously cleared dirty bits" NO)
-IF(with_checksums)
+OPTION(enable_checksums "Report erroneously cleared dirty bits" NO)
+IF(enable_checksums)
     IF(enable_threads)
         MESSAGE("CHECKSUMS not compatible with USE_MUNMAP or threads")
     ENDIF(enable_threads)
     ADD_DEFINITIONS("-DCHECKSUMS")
     SET(SRC ${SRC} checksums.c)
-ENDIF(with_checksums)
+ENDIF(enable_checksums)
 
 ADD_LIBRARY(          gc-lib   STATIC      ${SRC})
 SET_TARGET_PROPERTIES(gc-lib   PROPERTIES