Refactor the way how modules are loaded.

Make version checks more strict.

This finishes attempt to preserve ABI between patch versions. That
didn't work well, and the people who could make it work, left the
project already.

Close #1255
Close #1274
Close #172
This commit is contained in:
Alexey Sokolov
2016-12-19 16:47:29 +00:00
parent 6125b5d1b8
commit 13049e5fc3
5 changed files with 129 additions and 91 deletions
+6 -34
View File
@@ -139,43 +139,15 @@ CString CZNC::GetTag(bool bIncludeVersion, bool bHTML) {
}
CString CZNC::GetCompileOptionsString() {
return "IPv6: "
#ifdef HAVE_IPV6
"yes"
#else
"no"
#endif
", SSL: "
#ifdef HAVE_LIBSSL
"yes"
#else
"no"
#endif
", DNS: "
#ifdef HAVE_THREADED_DNS
"threads"
#else
"blocking"
#endif
", charset: "
#ifdef HAVE_ICU
"yes"
#else
"no"
#endif
", build: "
// Build system doesn't affect ABI
return ZNC_COMPILE_OPTIONS_STRING + CString(
", build: "
#ifdef BUILD_WITH_CMAKE
"cmake"
"cmake"
#else
"autoconf"
"autoconf"
#endif
", i18n: "
#ifdef HAVE_I18N
"yes"
#else
"no"
#endif
;
);
}
CString CZNC::GetUptime() const {