]> git.mxchange.org Git - flightgear.git/commitdiff
Version 0.53
authorcurt <curt>
Thu, 20 Aug 1998 15:09:09 +0000 (15:09 +0000)
committercurt <curt>
Thu, 20 Aug 1998 15:09:09 +0000 (15:09 +0000)
EGCS optimizations notes
Thanks
Test for gameglut.

NEWS
README.autoconf
Thanks
configure.in

diff --git a/NEWS b/NEWS
index 6d75b6bde1ecd1aae87f760d9b84181c77c471ae..818ac1d50e640aff96480e5129e0b9a4dd218d09 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,7 @@
+New in 0.53
+* Some initial "GameGLUT" support contributed by Gary R. Van Sickle
+  (tiberius@braemarinc.com)
+
 New in 0.52
 * Stars added in 8 stages as sky gets darker for a smoother more realistic
   transition.
index d13a2badbc7391a32cc0cb394d5f2765c2d301bc..63e7162ccd24a2ac94d4af6447f19c8f4a31b948 100644 (file)
@@ -32,3 +32,11 @@ For debuging purposes you might want to try something like:
 
     CFLAGS=-Wall CXXFLAGS=-Wall ./configure; make; make install
 
+For full optimization using the EGCS compiler on an Intel processor you 
+could try something like:
+
+    MACH="-mpentiumpro"
+    CFLAGS = -O5 -fomit-frame-pointer -ffast-math -funroll-loops $MACH
+    CXXFLAGS = -O5 -fomit-frame-pointer -ffast-math -funroll-loops $MACH
+    ./configure
+
diff --git a/Thanks b/Thanks
index 41bdc92f59ab7b3b1343e9ebfd834d612c2048ae..b369b7fc2c5e354f41c42b699447f5def77f982b 100644 (file)
--- a/Thanks
+++ b/Thanks
@@ -154,6 +154,10 @@ Durk Talsma <pn_talsma@macmail.psy.uva.nl>
   sky.  Planets are correctly positioned and have proper magnitude.
 
 
+Gary R. Van Sickle <tiberius@braemarinc.com>
+  Contributed some initial GameGLUT support and other fixes.
+
+
 Carmelo Volpe <carmelo.volpe@csb.ki.se>
   Porting Flight Gear to the Metro Works development environment (PC/Mac)
 
index cde404a383159b2bb80a52389aa4d9a20092c2e1..614373d96f2bb935e0a8580accd92d75438b4212 100644 (file)
@@ -6,7 +6,7 @@ dnl
 AC_INIT(Simulator/Aircraft/aircraft.c)
 
 dnl specify the compiled flight model
-AC_ARG_WITH(flight-model, [  --with-flight-model        Specify the compiled in flight model (navion, cherokee)])
+AC_ARG_WITH(flight-model, [  --with-flight-model=xxx Specify the flight model (navion, cherokee)])
 
 if test "x$with_flight_model" = "xcherokee" ; then
     echo "Building with cherokee flight model"
@@ -17,10 +17,10 @@ AM_CONDITIONAL(ENABLE_CHEROKEE, test "x$with_flight_model" = "xcherokee")
 
 dnl Let the Win32 user specify if they want to build with the SGI
 dnl opengl.dll as opposed to the more standard openg32.dll
-AC_ARG_WITH(sgiopengl, [  --with-sgiopengl        Build against opengl.dll glu.dll and glut.dll])
+AC_ARG_WITH(sgi-opengl, [  --with-sgi-opengl       Build against SGI's opengl.dll glu.dll and glut.dll])
 
 dnl Initialize the automake stuff
-AM_INIT_AUTOMAKE(FlightGear, 0.52)
+AM_INIT_AUTOMAKE(FlightGear, 0.53)
 
 dnl Checks for programs.
 AC_PROG_MAKE_SET
@@ -130,7 +130,11 @@ if test "x$ac_cv_header_windows_h" != "xyes" ; then
        AC_CHECK_LIB(MesaGLU, gluLookAt)
     fi
 
+    dnl check for glut
     AC_CHECK_LIB(glut, glutGetModifiers)
+
+    dnl test for glutGameModeString
+    AC_CHECK_LIB(glut, glutGameModeString)
 else
     dnl Win32 is a little wierd because it has to try to handle the various
     dnl winbloze-isms.  We'll just do this manually for now.
@@ -180,6 +184,7 @@ else
     echo "    adding -luser32 -lgdi32"
     LIBS="$LIBS -luser32 -lgdi32"
     ac_cv_lib_glut_glutGetModifiers="yes"
+    ac_cv_lib_glut_glutGameModeString="yes"
 fi
 
 dnl Checks for header files.
@@ -207,6 +212,15 @@ if test "x$ac_cv_lib_glut_glutGetModifiers" = "xno"; then
     exit 1
 fi
 
+if test "x$ac_cv_lib_glut_glutGameModeString" = "xno"; then
+    echo
+    echo "Your version of glut doesn't support game mode."
+    echo "You need to fetch and install the latest version of glut from:"
+    echo
+    echo "    http://reality.sgi.com/opengl/glut3/glut3.html"
+    exit 1
+fi
+
 AM_CONFIG_HEADER(Include/config.h)
 
 AC_OUTPUT( \