]> git.mxchange.org Git - flightgear.git/commitdiff
Removed plib from the source distribution. It must be built and installed
authorcurt <curt>
Mon, 12 Apr 1999 02:03:32 +0000 (02:03 +0000)
committercurt <curt>
Mon, 12 Apr 1999 02:03:32 +0000 (02:03 +0000)
separately before fgfs can be built and installed.

Lib/Makefile.am
Simulator/GUI/gui.h
Simulator/Main/GLUTkey.cxx
Simulator/Main/GLUTmain.cxx
configure.in

index a0bdf9327a18aea9232a2628c4bc1ea371f1b8ce..840df71f13b016b4c26fd14491b7c23fe09e3e81 100644 (file)
@@ -11,5 +11,4 @@ SUBDIRS = \
        Misc \
        $(SERIAL_DIRS) \
        XGL\
-       plib \
        zlib
index dd711e7a686fc430ec6154c93bf5c1a257616d4f..0bfa9de505276dc78df3c8a6d4e651f35eec0f12 100644 (file)
@@ -25,7 +25,7 @@
 #ifndef _GUI_H_
 #define _GUI_H_
 
-#include <pu.h>
+#include <plib/pu.h>
 
 extern puMenuBar    *mainMenuBar;
 extern puButton     *hideMenuButton;
index ecab98f2eebcaf20387919a8e003b89dbb6d6b59..ef3ada9f49d1425c6f6b05a156fa4d703e1ca237 100644 (file)
@@ -48,7 +48,7 @@
 #include <GUI/gui.h>
 #include <Include/fg_constants.h>
 #include <Objects/material.hxx>
-#include <pu.h>
+#include <plib/pu.h>
 #include <Time/light.hxx>
 #include <Weather/weather.hxx>
 
index 8e561e2a2f2ded0fdbc96af1d137ba8294ca8146..ab471a7e5e0089de7b458a3a95ec30dd868d976d 100644 (file)
@@ -59,8 +59,8 @@
 #include <Astro/solarsystem.hxx>
 
 #ifdef ENABLE_AUDIO_SUPPORT
-#  include <sl.h>
-#  include <sm.h>
+#  include <plib/sl.h>
+#  include <plib/sm.h>
 #endif
 
 #include <Autopilot/autopilot.hxx>
@@ -71,7 +71,7 @@
 #include <Math/mat3.h>
 #include <Math/polar3d.hxx>
 #include <Math/fg_random.h>
-#include <pu.h>
+#include <plib/pu.h>
 #include <Scenery/scenery.hxx>
 #include <Scenery/tilemgr.hxx>
 #include <Time/event.hxx>
index 2968f89a1b8f4065c6befbdcbfe4447f17488414..da528a3e08f87cfba8f7b846c8303e6c42e27e91 100644 (file)
@@ -29,7 +29,7 @@ dnl AM_MAINTAINER_MODE
 dnl This is needed for AC_TRY_COMPILE later
 dnl AC_ISC_POSIX
 
-dnl Check to see if this `configure' is being run in the `Cygwin32' environment
+dnl Check to see if this `configure' is being run in the `Cygwin32' environmentplib-1.0_fgfs_a.tar.gz
 dnl AM_CYGWIN32
 
 dnl Specify if we want logging (testing build) or not (release build)
@@ -63,6 +63,26 @@ 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 "plib" without which we cannot go on
+AC_CHECK_HEADER(plib/pu.h)
+if test "x$ac_cv_header_plib_pu_h" != "xyes"; then
+    echo
+    echo "You *must* have the plib library installed on your system to build"
+    echo "the FGFS simulator!"
+    echo
+    echo "You can get the original library from:"
+    echo 
+    echo "    http://www.woodsoup.org/projs/plib"
+    echo
+    echo "However, I recommend you grab a copy with a couple modifications I"
+    echo "have made which should eliminate a few plib-1.0 build problems:"
+    echo 
+    echo "    ftp://ftp.flightgear.org/pub/fgfs/Source/plib-1.0_fgfs_a.tar.gz"
+    echo
+    echo "configure aborted."
+    exit
+fi
+
 dnl Check for MS Windows environment
 AC_CHECK_HEADER(windows.h)
 
@@ -348,6 +368,7 @@ AC_OUTPUT( \
        Tools/Construct/Clipper/Makefile \
        Tools/Construct/Combine/Makefile \
        Tools/Construct/GenOutput/Makefile \
+       Tools/Construct/Match/Makefile \
        Tools/Construct/Triangulate/Makefile \
        Tools/Construct/Main/Makefile \
        Tools/Lib/Makefile \