1Avoid use of newlocale(3) that results in increasing memory usage
2
3--- CMakeLists.txt.orig	2022-04-14 01:09:51 UTC
4+++ CMakeLists.txt
5@@ -198,7 +198,7 @@ if (HAVE_STDLIB_H)
6 endif()
7 if (HAVE_LOCALE_H)
8     check_symbol_exists(setlocale   "locale.h" HAVE_SETLOCALE)
9-    check_symbol_exists(uselocale   "locale.h" HAVE_USELOCALE)
10+    # check_symbol_exists(uselocale   "locale.h" HAVE_USELOCALE)
11 endif()
12 if (HAVE_STRINGS_H)
13     check_symbol_exists(strcasecmp  "strings.h" HAVE_STRCASECMP)
14@@ -432,8 +432,6 @@ configure_file(json.h.cmakein ${PROJECT_BINARY_DIR}/js
15
16 include_directories(${PROJECT_SOURCE_DIR})
17 include_directories(${PROJECT_BINARY_DIR})
18-
19-add_subdirectory(doc)
20
21 # "uninstall" custom target for make generators in unix like operating systems
22 # and if that target is not present
23