mirror of
https://github.com/znc/znc.git
synced 2026-08-06 17:03:14 +02:00
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:
+6
-34
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user