]> git.mxchange.org Git - flightgear.git/commitdiff
Bug fix with detecting GPC package.
authorcurt <curt>
Mon, 1 Mar 1999 15:32:58 +0000 (15:32 +0000)
committercurt <curt>
Mon, 1 Mar 1999 15:32:58 +0000 (15:32 +0000)
configure.in

index c2b4560ca8cbddf5bed9e1e1ac6cb51540fc4127..f5911025e5d78ef19219964b14cae43aa9c161b6 100644 (file)
@@ -248,10 +248,10 @@ AC_SUBST(opengl_LIBS)
 dnl Check if Generic Polygon Clipping library is installed
 dnl (from http://www.cs.man.ac.uk/aig/staff/alan/software/)
 AC_CHECK_HEADERS( gpc.h )
-if test "x$ac_cv_header_windows_h" != "xyes"; then
+if test "x$ac_cv_header_gpc_h" != "xyes"; then
     echo
     echo "You need to have the GPC library installed on your system to build"
-    echo "the scenery generation tools, otherwise, the build will fail."
+    echo "some of the scenery generation tools, otherwise, they may fail."
     echo
     echo "You can get the library from:"
     echo 
@@ -259,6 +259,20 @@ if test "x$ac_cv_header_windows_h" != "xyes"; then
     echo
 fi
 
+dnl Check if  Geographic Foundation Classes library is installed
+dnl (from http://www.geog.psu.edu/~qian/gfc/index.html)
+AC_CHECK_HEADERS( gfc/gdbf.h )
+if test "x$ac_cv_header_gfc_gdbf_h" != "xyes"; then
+    echo
+    echo "You need to have the GFC library installed on your system to build"
+    echo "some of the scenery generation tools, otherwise, they may fail."
+    echo
+    echo "You can get the library from:"
+    echo 
+    echo "    http://www.geog.psu.edu/~qian/gfc/index.html"
+    echo
+fi
+
 dnl Checks for header files.
 AC_HEADER_STDC
 AC_CHECK_HEADERS( \