1
0
Fork 0

Working on separating GPC.

This commit is contained in:
curt 1999-01-27 04:45:01 +00:00
parent 4b6321a437
commit b9ae1d92d1
2 changed files with 18 additions and 1 deletions

View file

@ -83,6 +83,9 @@
/* Define if you have the getmntent function. */
#undef HAVE_GETMNTENT
/* Define if you have the gpc library and headers installed. */
#undef HAVE_GPC_H
/* Define if the `long double' type works. */
#undef HAVE_LONG_DOUBLE

View file

@ -245,6 +245,20 @@ AC_SUBST(base_LIBS)
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
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
echo "You can get the library from:"
echo
echo " http://www.cs.man.ac.uk/aig/staff/alan/software/"
echo
fi
dnl Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS( \
@ -275,7 +289,6 @@ AC_OUTPUT( \
Lib/Audio/example/Makefile \
Lib/Bucket/Makefile \
Lib/Debug/Makefile \
Lib/DEM/Makefile \
Lib/Math/Makefile \
Lib/Misc/Makefile \
Lib/PUI/Makefile \
@ -306,6 +319,7 @@ AC_OUTPUT( \
Tools/Makefile \
Tools/Areas/Makefile \
Tools/AssemTris/Makefile \
Tools/DEM/Makefile \
Tools/Dem2node/Makefile \
Tools/DemInfo/Makefile \
Tools/DemRaw2ascii/Makefile \