On Thu, Jun 18, 2009 at 12:25:57PM +0200, Nicolas wrote:
> In attachment, a little patch.

Thanks for this patch.  I applied it, and then started testing, and found
that the way configure.ac was coded, it just wasn't flexible enough for
the seeming multitude of Boost build possibilities.

So I threw --with-boost away, and reworked Boost support in configure.ac
according to the following requirements:
    
       - let the user enable/disable Boost support from configure
           - default to disabled
           - if enabled, and not available, error

       - let user specify include path, and lib path, separately,
         since some Boost installations have an additional
         "boost-1.34.1" style directory in them
           - default to using no path overrides, assuming everything
             that is needed is in default distro locations
    
       - let user specify the name of the serialization library, since
         the name of the library can change whether you're building
         from source or not
           - default to searching for boost_serialization or
             boost_serialization-mt, and error if not found
    

Therefore, the new configure switches are:
    
      --enable-boost                   Handles enable/disable
      --with-boost-include=path        Override the include path
      --with-boost-lib=path            Override the lib path
      --with-boost-serialization=name  Override the name of serialization
                                       library to link with

Ideally, in most cases, all you need is "--enable-boost".

Please let me know if this still works for the library names on your system.

Thanks,
- Chris


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to