increased transparence for glut-test: added extra tests for libXmu and

libXi which are prerequisites to the glut-test
==> if glut-test fails because of one of these libs missing, give a
warning.

svn path=/trunk/boinc/; revision=11622
This commit is contained in:
Reinhard Prix 2006-12-06 00:41:31 +00:00
parent a427f9c06e
commit 295255d991
2 changed files with 21 additions and 1 deletions

View File

@ -13103,3 +13103,9 @@ David 4 Dec 2006
server_types.C
clientgui/
sg_StatImageLoader.cpp
Reinhard 6 Dec 2006
configure.ac
increased transparancy for glut-test: added extra tests for libXmu and
libXi which are prerequisites to the glut-test
==> if glut-test fails because of one of these libs missing, give a warning.

View File

@ -334,12 +334,26 @@ AC_PATH_XTRA
dnl check for GL library
AX_CHECK_GL
AX_CHECK_GLU
dnl check for glut and prerequesites to the glut-test: libXmu and libXi
AC_CHECK_LIB([Xmu], [main], [have_Xmu="yes"], [have_Xmu="no"])
AC_CHECK_LIB([Xi], [main], [have_Xi="yes"], [have_Xi="no"])
AX_CHECK_GLUT
if test "$no_glut" = yes; then
if test "$have_Xmu" = no; then
AC_MSG_WARN([Test for glut-dev failed because of missing libXmu-dev!])
fi
if test "$have_Xi" = no; then
AC_MSG_WARN([Test for glut-dev failed because of missing libXi-dev!])
fi
fi
if test "$no_gl" = yes -o "$no_glu" = yes -o "$no_glut" = yes; then
have_glut=no
AC_MSG_WARN([
================================================================================
WARNING: openGL/GLU/glut not found.
WARNING: Development libraries and headers ("-dev") of {openGL, GLU, glut} needed!
The GL, GLU and glut libraries are required in order to build the graphical parts
of the BOINC application API library.