20,741
edits
No edit summary |
|||
Line 1: | Line 1: | ||
{{Stub}} | {{Stub}} | ||
[[File:Sim-version-with-python.png|thumb|<syntaxhighlight lang="diff">diff --git a/src/Main/options.cxx b/src/Main/options.cxxindex 20039d6..b48dbda 100644--- a/src/Main/options.cxx+++ b/src/Main/options.cxx@@ -231,6 +231,12 @@ void fgSetDefaults () v->setValueReadOnly("build-number", HUDSON_BUILD_NUMBER); v->setValueReadOnly("build-id", HUDSON_BUILD_ID); v->setValueReadOnly("hla-support", bool(FG_HAVE_HLA));+#ifdef HAVE_PYTHON+ v->setValueReadOnly("python-support", true);+#else+ v->setValueReadOnly("python-support", false);+#endif+ #if defined(FG_NIGHTLY) v->setValueReadOnly("nightly-build", true); #else</syntaxhighlight>]] | |||
{{Infobox subsystem | {{Infobox subsystem |