Update of /cvsroot/csp/APPLICATIONS/CSPSim
In directory sc8-pr-cvs1:/tmp/cvs-serv25879
Modified Files:
configure.in
Log Message:
temporary fix for osg lib tests
Index: configure.in
===================================================================
RCS file: /cvsroot/csp/APPLICATIONS/CSPSim/configure.in,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** configure.in 19 Feb 2003 21:24:15 -0000 1.6
--- configure.in 15 Mar 2003 03:05:35 -0000 1.7
***************
*** 52,55 ****
--- 52,67 ----
dnl check for OpenSceneGraph
CSP_OSG_CONFIG(osg, 0.9.3, [OpenSceneGraph])
+ # osg 0.9.3 segfaults when any of these libs are linked against a
+ # minimal version test script. so, no version check for now, just
+ # see if the libs exist. hopefully the next osg release will fix
+ # this!
+ AC_CHECK_LIB(osgGLUT, osgGLUTGetVersion, ,
+ [AC_MSG_ERROR(OpenSceneGraph utility library not found. See http://www.openscenegraph.org)],)
+ AC_CHECK_LIB(osgUtil, osgUtilGetVersion, ,
+ [AC_MSG_ERROR(OpenSceneGraph utility library not found. See http://www.openscenegraph.org)],)
+ AC_CHECK_LIB(osgText, osgTextGetVersion, ,
+ [AC_MSG_ERROR(OpenSceneGraph utility library not found. See http://www.openscenegraph.org)],)
+ AC_CHECK_LIB(osgParticle, osgParticleGetVersion, ,
+ [AC_MSG_ERROR(OpenSceneGraph utility library not found. See http://www.openscenegraph.org)],)
#CSP_OSG_CONFIG(osgGLUT, 0.9.3, [OpenSceneGraph GLUT library])
#CSP_OSG_CONFIG(osgUtil, 0.9.3, [OpenSceneGraph Util library])
|