From 41be678abf51e84c1df2021addfaa06725bf9503 Mon Sep 17 00:00:00 2001 From: curt Date: Thu, 20 Aug 1998 15:09:09 +0000 Subject: [PATCH] Version 0.53 EGCS optimizations notes Thanks Test for gameglut. --- NEWS | 4 ++++ README.autoconf | 8 ++++++++ Thanks | 4 ++++ configure.in | 20 +++++++++++++++++--- 4 files changed, 33 insertions(+), 3 deletions(-) diff --git a/NEWS b/NEWS index 6d75b6bde..818ac1d50 100644 --- 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. diff --git a/README.autoconf b/README.autoconf index d13a2badb..63e7162cc 100644 --- a/README.autoconf +++ b/README.autoconf @@ -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 41bdc92f5..b369b7fc2 100644 --- a/Thanks +++ b/Thanks @@ -154,6 +154,10 @@ Durk Talsma sky. Planets are correctly positioned and have proper magnitude. +Gary R. Van Sickle + Contributed some initial GameGLUT support and other fixes. + + Carmelo Volpe Porting Flight Gear to the Metro Works development environment (PC/Mac) diff --git a/configure.in b/configure.in index cde404a38..614373d96 100644 --- a/configure.in +++ b/configure.in @@ -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( \