# include <config.h>
#endif
+#include <simgear/compiler.h>
+
#ifdef SG_MATH_EXCEPTION_CLASH
# include <math.h>
#endif
// fg_root was specified (ignore all other options for now)
fgInitFGRoot(argc, argv);
+ // Check for the correct base package version
+ string base_version = fgBasePackageVersion();
+ if ( !(base_version == "0.7.9") ) {
+ SG_LOG( SG_GENERAL, SG_ALERT, "Base package check failed ... "
+ << "Found version " << base_version );
+ SG_LOG( SG_GENERAL, SG_ALERT, "Please upgrade to version 0.7.9" );
+ exit(-1);
+ }
+
// Initialize the Aircraft directory to "" (UIUC)
aircraft_dir = "";