From cef6aea46c0362096f5a3583a6b921d73248b8e0 Mon Sep 17 00:00:00 2001 From: curt Date: Mon, 1 Mar 1999 15:32:58 +0000 Subject: [PATCH] Bug fix with detecting GPC package. --- configure.in | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index c2b4560ca..f5911025e 100644 --- a/configure.in +++ b/configure.in @@ -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( \ -- 2.39.5