AC_PREREQ(2.52)
# Initialize the automake stuff
-AM_INIT_AUTOMAKE(FlightGear, 0.7.11pre2)
+AM_INIT_AUTOMAKE(FlightGear, 0.9.0)
# Checks for programs.
AC_PROG_MAKE_SET
# extra library and include directories
if test "x$ac_cv_header_windows_h" != "xyes" ; then
- EXTRA_DIRS="${EXTRA_DIRS} /usr/local /usr/X11R6"
+ EXTRA_DIRS="${EXTRA_DIRS} /usr/X11R6"
if test -d /opt/X11R6 ; then
EXTRA_DIRS="${EXTRA_DIRS} /opt/X11R6"
echo Win32 specific hacks...
AC_DEFINE([WIN32], 1, [Define if building on a Win32 platform])
+ AC_DEFINE([NOMINMAX], 1, [Define for Win32 platforms])
# just define these to true and hope for the best
ac_cv_lib_glut_glutGetModifiers="yes"
exit
fi
-AC_MSG_CHECKING([for simgear 0.0.19 or newer])
+AC_MSG_CHECKING([for simgear 0.3.0 or newer])
AC_TRY_RUN([
#include <stdio.h>
#define XSTRINGIFY(X) #X
#define MIN_MAJOR 0
-#define MIN_MINOR 0
-#define MIN_MICRO 19
+#define MIN_MINOR 3
+#define MIN_MICRO 0
int main() {
int major, minor, micro;
],
AC_MSG_RESULT(yes),
[AC_MSG_RESULT(wrong version);
- AC_MSG_ERROR([Install metakit 2.4.3 or later first...])],
+ AC_MSG_ERROR([
+
+Install metakit 2.4.3 or later first.
+
+Or, the compiler may not be finding your libmk4.so library.
+Please check the config.log file for specific details of the
+failure if you believe you have the correct metakit version.
+Also, look up this issue in the FlightGear FAQ.])],
AC_MSG_RESULT(yes)
)
LIBS="$saved_LIBS"
src/Controls/Makefile \
src/Environment/Makefile \
src/FDM/Balloon/Makefile \
+ src/FDM/ExternalNet/Makefile \
src/FDM/JSBSim/Makefile \
src/FDM/JSBSim/filtersjb/Makefile \
src/FDM/LaRCsim/Makefile \
src/FDM/Makefile \
src/GUI/Makefile \
src/Input/Makefile \
+ src/Instrumentation/Makefile \
src/Main/Makefile \
src/Main/runfgfs \
src/Main/runfgfs.bat \
src/Objects/Makefile \
src/Scenery/Makefile \
src/Sound/Makefile \
+ src/Systems/Makefile \
src/Time/Makefile \
src/WeatherCM/Makefile \
tests/Makefile \
+ utils/Makefile \
+ utils/TerraSync/Makefile \
])
AC_OUTPUT