]> git.mxchange.org Git - flightgear.git/blobdiff - configure.ac
make old HUD code work with 8 px font size
[flightgear.git] / configure.ac
index 7af936d5eafc11e3a5342024cb17025ec4617356..6f828eac79f967abc190685879a9265c17e921cd 100644 (file)
@@ -10,7 +10,7 @@ AC_PREREQ(2.52)
 dnl Initialize the automake stuff
 dnl set the $host variable based on local machine/os
 AC_CANONICAL_TARGET
-AM_INIT_AUTOMAKE(FlightGear, 0.9.9)
+AM_INIT_AUTOMAKE(FlightGear, 0.9.10)
 
 dnl Checks for programs.
 AC_PROG_MAKE_SET
@@ -91,7 +91,11 @@ if test "x$with_logging" = "xno" ; then
 fi
 
 AC_ARG_ENABLE(sp_fdms, [  --enable-sp-fdms              Include special purpose Flight Models], [enable_sp_fdms="$enableval"] )
-AC_DEFINE([ENABLE_SP_FMDS], test "x$enable_sp_fdms" = "xyes", [Define to include special purpose FDMs])
+if test "x$enable_sp_fdms" != "xno"; then
+    AC_DEFINE([ENABLE_SP_FDM], 1, [Define to include special purpose FDMs])
+else
+    AC_DEFINE([ENABLE_SP_FDM], 0, [Define to include special purpose FDMs])
+fi
 AM_CONDITIONAL(ENABLE_SP_FDM, test "x$enable_sp_fdms" != "xno")
 
 
@@ -376,7 +380,7 @@ if test "x$ac_cv_header_simgear_version_h" != "xyes"; then
     exit
 fi
 
-AC_MSG_CHECKING([for simgear 0.3.9 or newer])
+AC_MSG_CHECKING([for simgear 0.3.10 or newer])
 AC_TRY_RUN([
 #include <stdio.h>
 
@@ -387,7 +391,7 @@ AC_TRY_RUN([
 
 #define MIN_MAJOR 0
 #define MIN_MINOR 3
-#define MIN_MICRO 9
+#define MIN_MICRO 10
 
 int main() {
     int major, minor, micro;
@@ -527,6 +531,7 @@ AC_CONFIG_FILES([ \
        src/Input/Makefile \
        src/Instrumentation/Makefile \
        src/Instrumentation/KLN89/Makefile \
+       src/Instrumentation/HUD/Makefile \
        src/Main/Makefile \
        src/Main/runfgfs \
        src/Main/runfgfs.bat \