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:
parent
35c35d479e
commit
3f35a1486b
1 changed files with 3 additions and 3 deletions
|
@ -218,6 +218,7 @@ if test "x$ac_cv_lib_glut_glutGameModeString" = "xno"; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
AC_LANG_PUSH(C++)
|
||||||
# needed for plib 1.8.x or later
|
# needed for plib 1.8.x or later
|
||||||
AC_CHECK_LIB(plibul, ulInit,,,)
|
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" )
|
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
|
dnl Check for "plib" without which we cannot go on
|
||||||
AC_CHECK_HEADER(plib/pu.h)
|
AC_CHECK_HEADER(plib/sg.h)
|
||||||
if test "x$ac_cv_header_plib_pu_h" != "xyes"; then
|
if test "x$ac_cv_header_plib_sg_h" != "xyes"; then
|
||||||
echo
|
echo
|
||||||
echo "You *must* have the plib library installed on your system to build"
|
echo "You *must* have the plib library installed on your system to build"
|
||||||
echo "TerraGear!"
|
echo "TerraGear!"
|
||||||
|
|
Loading…
Reference in a new issue