From: hooray Date: Sun, 26 May 2013 12:43:53 +0000 (+0200) Subject: expose HLA/RTI availability to property tree - for use in about dialog X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c61583de5daddaa901ff52562645fac3f04dd225;p=flightgear.git expose HLA/RTI availability to property tree - for use in about dialog --- 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 );