When refactoring the build option strings in 1.9, the thread support
was placed outside of the ifdef block resulting in threads always being
mentioned even if that was not true. Let's fix this and also mention
when threads are disabled to help troubleshooting.
#endif
}
+REGISTER_BUILD_OPTS("Built with multi-threading support.");
+
+#else
+
+REGISTER_BUILD_OPTS("Built without multi-threading support (USE_THREAD not set).");
+
#endif // USE_THREAD
#endif
return nbthread;
}
-
-REGISTER_BUILD_OPTS("Built with multi-threading support.");