Update of /cvsroot/openvrml/openvrml
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv7483
Modified Files:
Tag: OpenVRML-0_16-BRANCH
ChangeLog configure.ac
Log Message:
Added check to ensure libboost_thread is usable.
Index: configure.ac
===================================================================
RCS file: /cvsroot/openvrml/openvrml/configure.ac,v
retrieving revision 1.92.2.21
retrieving revision 1.92.2.22
diff -C2 -d -r1.92.2.21 -r1.92.2.22
*** configure.ac 30 Apr 2007 07:37:08 -0000 1.92.2.21
--- configure.ac 21 May 2007 04:11:59 -0000 1.92.2.22
***************
*** 81,84 ****
--- 81,104 ----
ACX_PTHREAD(, [AC_MSG_FAILURE([pthread support not found])])
+ #
+ # Allow users to specify any Boost library name suffix
+ #
+ AC_ARG_VAR([BOOST_LIB_SUFFIX], [Boost library name suffix])
+
+ AC_CACHE_CHECK([for boost_thread$BOOST_LIB_SUFFIX library],
+ [ov_cv_boost_thread],
+ [ov_cv_boost_thread=no
+ ov_save_LIBS=$LIBS
+ LIBS="-lboost_thread$BOOST_LIB_SUFFIX $LIBS"
+ AC_LANG_PUSH([C++])
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <boost/thread.hpp>]],
+ [[boost::thread t]])],
+ [ov_cv_boost_thread=yes])
+ AC_LANG_POP
+ LIBS=$ov_save_LIBS
+ ])
+ AS_IF([test X$ov_cv_boost_thread = Xno],
+ [AC_MSG_FAILURE([libboost_thread$BOOST_LIB_SUFFIX not found])])
+
PKG_CHECK_MODULES([FONTCONFIG], [$REQUIRE_FONTCONFIG], , [have_fontconfig=no])
PKG_CHECK_MODULES([FREETYPE], [$REQUIRE_FREETYPE], , [have_freetype=no])
***************
*** 151,159 ****
#
- # Allow users to specify any Boost library name suffix
- #
- AC_ARG_VAR([BOOST_LIB_SUFFIX], [Boost library name suffix])
-
- #
# Use exception specifications?
#
--- 171,174 ----
Index: ChangeLog
===================================================================
RCS file: /cvsroot/openvrml/openvrml/ChangeLog,v
retrieving revision 1.1310.2.172
retrieving revision 1.1310.2.173
diff -C2 -d -r1.1310.2.172 -r1.1310.2.173
*** ChangeLog 17 May 2007 07:17:44 -0000 1.1310.2.172
--- ChangeLog 21 May 2007 04:11:58 -0000 1.1310.2.173
***************
*** 1,17378 ****
! 2007-05-17 Braden McDaniel <br...@en...>
!
! Visual C++ 8.0 project file updates.
!
! * ide-projects/Windows/VisualC8_0/OpenVRML/OpenVRML.sln: Removed
! sdl-viewer dependency on antlr. openvrml's dependency on antlr
! should be sufficient.
! * ide-projects/Windows/VisualC8_0/OpenVRML/openvrml/openvrml.vcproj:
! Added gdi32.lib, advapi32.lib, shell32.lib as additional
! dependencies--Visual C++ Express seems to need these, though the
[...34732 lines suppressed...]
! Removed win32Lookat. This, too, belongs in its own package. But
! I'll leave the specifics of that package to the Win32 developers.
!
! Removed the javascript subtree and added a newer version of libjs
! to src/vrml97/libjs, and incorporated it into the automake build.
!
! Nuked the OLD directory. These build scripts certainly would need
! a good deal of reworking after the reorg I've done, and hopefully
! the use of automake means they are nolonger necessary. If anyone
! needs they can be found in an older tarball.
!
! 1999-10-17 Braden N. McDaniel <br...@en...>
!
! OpenGL renderer displaced from libvrml97core and placed in
! libvrml97gl.
!
! Helper functions from MathHelper.cpp in libvrml97core placed in an
! unnamed namespace in ViewerOpenGL.cpp.
!
! OpenGLEvent.c renamed to OpenGLEvent.cpp.
|