From 3f35a1486b63e7c145ecb51fd35589d5d96bde51 Mon Sep 17 00:00:00 2001 From: curt Date: Thu, 22 Dec 2005 15:36:39 +0000 Subject: [PATCH] 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. --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 739cf0c8..56d28603 100644 --- a/configure.ac +++ b/configure.ac @@ -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!"