From c61583de5daddaa901ff52562645fac3f04dd225 Mon Sep 17 00:00:00 2001 From: hooray Date: Sun, 26 May 2013 14:43:53 +0200 Subject: [PATCH] expose HLA/RTI availability to property tree - for use in about dialog --- src/Main/options.cxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Main/options.cxx b/src/Main/options.cxx index 0a1f2f149..2e7b02f55 100644 --- a/src/Main/options.cxx +++ b/src/Main/options.cxx @@ -240,7 +240,12 @@ fgSetDefaults () fgSetString("/sim/version/revision", REVISION); fgSetInt("/sim/version/build-number", HUDSON_BUILD_NUMBER); fgSetString("/sim/version/build-id", HUDSON_BUILD_ID); - +#ifdef FG_HAVE_HLA // -DENABLE_RTI=ON + fgSetBool("/sim/version/hla-support", true); +#else // -DENABLE_RTI=OFF + fgSetBool("/sim/version/hla-support", false); +#endif + char* envp = ::getenv( "http_proxy" ); if( envp != NULL ) fgSetupProxy( envp ); -- 2.39.5