$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: François Dumont (francois.cppdevs_at_[hidden])
Date: 2005-08-25 12:58:48
    Here is a first patch to build boost using STLport 5.0 with MSVC 
compilers. STLport 5.0 has adopt a more simple naming schema for 
generated library, compiler name is not part of it anymore. Rather than 
changing existing variable in the .jam files I prefered to introduce a 
new variable STLPORT_USE_AUTO_LINK to signal support of the auto link 
feature. In this case no lib is specified at link phase, STLport takes 
care of it.
    Any remark on the patches will be welcome as I am a completely 
beginner with bjam. What I would like to achieve now is reflect in bajm 
files that 5.0 do not support 'wrapper' mode anymore, stlport-iostream 
feature has to be on per default with this version, is it possible?
Bests
*** msvc-stlport-tools.jam.orig	Thu Aug 25 05:10:34 2005
--- msvc-stlport-tools.jam	Thu Aug 25 16:36:23 2005
***************
*** 13,18 ****
--- 13,19 ----
  
  STLPORT_LIB_BASE_NAME ?= stlport_vc6 ;
  STLPORT_LIB_STATIC_SUFFIX ?= _static ;
+ STLPORT_USE_AUTO_LINK = yes ;
  
  # bring in the STLPort configuration
  SEARCH on stlport.jam = $(BOOST_BUILD_PATH) ;
*** stlport.jam.orig	Thu Aug 25 05:11:22 2005
--- stlport.jam	Thu Aug 25 16:37:06 2005
***************
*** 105,111 ****
  flags $(CURR_TOOLSET) DEFINES <runtime-build>debug : _STLP_DEBUG=1 _STLP_DEBUG_UNINITIALIZED=1 ;
  flags $(CURR_TOOLSET) DEFINES <runtime-link>dynamic : _STLP_USE_DYNAMIC_LIB=1 ;
  
! flags $(CURR_TOOLSET) FINDLIBS <stlport-iostream>on/<runtime-build>debug/<runtime-link>static    : $(STLPORT_LIB_BASE_NAME)$(STLPORT_LIB_DEBUG_SUFFIX)$(STLPORT_LIB_STATIC_SUFFIX) ;
! flags $(CURR_TOOLSET) FINDLIBS <stlport-iostream>on/<runtime-build>debug/<runtime-link>dynamic   : $(STLPORT_LIB_BASE_NAME)$(STLPORT_LIB_DEBUG_SUFFIX) ;
! flags $(CURR_TOOLSET) FINDLIBS <stlport-iostream>on/<runtime-build>release/<runtime-link>static  : $(STLPORT_LIB_BASE_NAME)$(STLPORT_LIB_STATIC_SUFFIX) ;
! flags $(CURR_TOOLSET) FINDLIBS <stlport-iostream>on/<runtime-build>release/<runtime-link>dynamic : $(STLPORT_LIB_BASE_NAME) ;
--- 105,114 ----
  flags $(CURR_TOOLSET) DEFINES <runtime-build>debug : _STLP_DEBUG=1 _STLP_DEBUG_UNINITIALIZED=1 ;
  flags $(CURR_TOOLSET) DEFINES <runtime-link>dynamic : _STLP_USE_DYNAMIC_LIB=1 ;
  
! if ! $(STLPORT_USE_AUTO_LINK)
! {
!     flags $(CURR_TOOLSET) FINDLIBS <stlport-iostream>on/<runtime-build>debug/<runtime-link>static    : $(STLPORT_LIB_BASE_NAME)$(STLPORT_LIB_DEBUG_SUFFIX)$(STLPORT_LIB_STATIC_SUFFIX) ;
!     flags $(CURR_TOOLSET) FINDLIBS <stlport-iostream>on/<runtime-build>debug/<runtime-link>dynamic   : $(STLPORT_LIB_BASE_NAME)$(STLPORT_LIB_DEBUG_SUFFIX) ;
!     flags $(CURR_TOOLSET) FINDLIBS <stlport-iostream>on/<runtime-build>release/<runtime-link>static  : $(STLPORT_LIB_BASE_NAME)$(STLPORT_LIB_STATIC_SUFFIX) ;
!     flags $(CURR_TOOLSET) FINDLIBS <stlport-iostream>on/<runtime-build>release/<runtime-link>dynamic : $(STLPORT_LIB_BASE_NAME) ;
! }
*** vc7-stlport-tools.jam.orig	Thu Aug 25 05:21:13 2005
--- vc7-stlport-tools.jam	Thu Aug 25 16:36:40 2005
***************
*** 3,8 ****
--- 3,9 ----
  flags $(gCURRENT_TOOLSET) STLPORT_LIB_BASE_NAME ;
  
  STLPORT_LIB_BASE_NAME ?= stlport_vc70 ;
+ STLPORT_USE_AUTO_LINK ?= yes ;
  
  # bring in the STLPort configuration
  SEARCH on stlport.jam = $(BOOST_BUILD_PATH) ;