1
0
Fork 0

Fred Bouvier:

I replaced the test of the presence of PUI by a test of the presence of SG, and
I moved the C++ instruction to include PLIB lib check ( on UL ). PUI is not
used by TerraGear and it uses OpenGL that I don't want under cygwin because I
would have to install X11 and it is a mess, just for text tools.
This commit is contained in:
curt 2005-12-22 15:36:39 +00:00
parent 35c35d479e
commit 3f35a1486b

View file

@ -218,6 +218,7 @@ if test "x$ac_cv_lib_glut_glutGameModeString" = "xno"; then
exit 1
fi
AC_LANG_PUSH(C++)
# needed for plib 1.8.x or later
AC_CHECK_LIB(plibul, ulInit,,,)
@ -231,10 +232,9 @@ AC_SUBST(support_LIBS)
AM_CONDITIONAL(HAVE_XWINDOWS, test "x$ac_cv_lib_X11_XCreateWindow" = "xyes" )
AC_LANG_PUSH(C++)
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
AC_CHECK_HEADER(plib/sg.h)
if test "x$ac_cv_header_plib_sg_h" != "xyes"; then
echo
echo "You *must* have the plib library installed on your system to build"
echo "TerraGear!"