Frederic Bouvier wrote:

> The other utilities and libraries do not use GTS.

Fine, the following patch removes the dependency on GTS. Can we now
drop GLIB as well ?

------------------------- snip ------------------------------
--- configure.ac.original       Mon Aug  2 14:09:10 2004
+++ configure.ac        Tue Nov 30 15:30:53 2004
@@ -51,10 +51,9 @@
 AC_SUBST(AR)
 AC_SUBST(ARFLAGS)
 
-dnl Add gts/glib includes, this will probably need to be made more
+dnl Add glib includes, this will probably need to be made more
 dnl flexible in the future.
 AC_CHECK_PROG(GLIB, glib-config, yes, no)
-AC_CHECK_PROG(GTS, gts-config, yes, no)
 
 if test "$GLIB" = "no"; then
   echo
@@ -69,21 +68,7 @@
   exit 1
 fi
 
-if test "$GTS" = "no"; then
-  echo
-  echo "Unable to find gts-config."
-  echo
-  echo "This program is needed to determine the compiler flags needed for"
-  echo "the gts library. Please make sure this linrary is installed and"
-  echo "the program is in the search path."
-  echo
-  echo "Please read README.gts" for more details.
-  echo
-  exit 1
-
-fi
-
-SUPPORT_FLAGS="`gts-config --cflags` `glib-config --cflags`"
+SUPPORT_FLAGS="`glib-config --cflags`"
 CPPFLAGS="$CPPFLAGS $SUPPORT_FLAGS"
 #CFLAGS="$CFLAGS $SUPPORT_FLAGS"
 #CXXFLAGS="$CXXFLAGS $SUPPORT_FLAGS"
@@ -144,7 +129,7 @@
 AC_SEARCH_LIBS(cos, m)
 
 base_LIBS="$LIBS"
-support_LIBS="`gts-config --libs` `glib-config --libs`"
+support_LIBS="`glib-config --libs`"
 
 AC_SEARCH_LIBS(XCreateWindow, X11)
 AC_SEARCH_LIBS(XShmCreateImage, Xext)
@@ -253,18 +238,6 @@
 AC_CHECK_HEADER(nurbs++/nurbsS.h)
 AM_CONDITIONAL(HAVE_NURBS, test "x$ac_cv_header_nurbspp_nurbsS_h" = "xyes" )
 AC_LANG_POP
-
-AC_CHECK_HEADER(gts.h)
-if test "x$ac_cv_header_gts_h" != "xyes"; then
-    echo
-    echo "You *must* have the gts library installed on your system to build"
-    echo "TerraGear!"
-    echo
-    echo "Please see README.gts for more details."
-    echo
-    echo "configure aborted."
-    exit
-fi
 
 dnl Check if Generic Polygon Clipping library is installed
 dnl (from http://www.cs.man.ac.uk/aig/staff/alan/software/)
------------------------- snip ------------------------------


Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to