]> git.mxchange.org Git - flightgear.git/commitdiff
Misc. configure tweaks.
authorcurt <curt>
Sat, 22 Aug 1998 01:16:40 +0000 (01:16 +0000)
committercurt <curt>
Sat, 22 Aug 1998 01:16:40 +0000 (01:16 +0000)
README.autoconf
aclocal.m4
configure.in

index 63e7162ccd24a2ac94d4af6447f19c8f4a31b948..b7c091981ca1341b20a9a92a3d9773f8ca228da8 100644 (file)
@@ -35,8 +35,8 @@ For debuging purposes you might want to try something like:
 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
+    MACH="-mpentium" (-m486 -mpentiumpro etc.)
+    export CFLAGS="-O5 -fomit-frame-pointer -ffast-math -funroll-loops $MACH"
+    export CXXFLAGS="-O5 -fomit-frame-pointer -ffast-math -funroll-loops $MACH"
     ./configure
 
index e7f3a58670444e80b8e73fd4bc89a5d9feaa9319..f57d6ff83617ac868dd7c26bec9538bf3b3560ef 100644 (file)
@@ -10,19 +10,6 @@ dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
 dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
 dnl PARTICULAR PURPOSE.
 
-# Define a conditional.
-
-AC_DEFUN(AM_CONDITIONAL,
-[AC_SUBST($1_TRUE)
-AC_SUBST($1_FALSE)
-if $2; then
-  $1_TRUE=
-  $1_FALSE='#'
-else
-  $1_TRUE='#'
-  $1_FALSE=
-fi])
-
 # Do all the work for Automake.  This macro actually does too much --
 # some checks are only needed if your package does certain things.
 # But this isn't really a big deal.
@@ -124,6 +111,19 @@ else
 fi
 AC_SUBST($1)])
 
+# Define a conditional.
+
+AC_DEFUN(AM_CONDITIONAL,
+[AC_SUBST($1_TRUE)
+AC_SUBST($1_FALSE)
+if $2; then
+  $1_TRUE=
+  $1_FALSE='#'
+else
+  $1_TRUE='#'
+  $1_FALSE=
+fi])
+
 # Like AC_CONFIG_HEADER, but automatically create stamp file.
 
 AC_DEFUN(AM_CONFIG_HEADER,
index 6c9a649e5e1871b9eb3e040b9a0295f4a1e08b60..a76bf9ef0bacd13bbf6f8298f0e7f449bab264b6 100644 (file)
@@ -5,20 +5,6 @@ dnl
 
 AC_INIT(Simulator/Aircraft/aircraft.c)
 
-dnl specify the compiled flight model
-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"
-else 
-    echo "Building with navion flight model"
-fi
-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(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.53)
 
@@ -42,6 +28,28 @@ dnl AC_ISC_POSIX
 dnl Check to see if this `configure' is being run in the `Cygwin32' environment
 dnl AM_CYGWIN32
 
+dnl specify if we are building with "checker"
+AC_ARG_WITH(efence, [  --with-efence           Specify if we are building with "electric-fence"])
+
+if test "x$with_efence" = "xyes" ; then
+    echo "Building with efence"
+    LIBS= "$LIBS -lefence"
+fi
+
+dnl specify the compiled flight model
+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"
+else 
+    echo "Building with navion flight model"
+fi
+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(sgi-opengl, [  --with-sgi-opengl       Build against SGI's opengl.dll glu.dll and glut.dll])
+
 dnl Check for MS Windows environment
 AC_CHECK_HEADER(windows.h)
 
@@ -233,6 +241,7 @@ AC_OUTPUT( \
        Lib/Bucket/Makefile \
        Lib/Debug/Makefile \
        Lib/DEM/Makefile \
+       Lib/gpc/Makefile \
        Lib/Math/Makefile \
        Lib/PUI/Makefile \
        Lib/XGL/Makefile \