Re: [Barry-devel] Autotools & libboost
Status: Beta
Brought to you by:
ndprojects
From: Nicolas <pr...@fr...> - 2009-06-23 15:33:59
|
Hi, Your improvement is OK for me. Work well on my debian SID. Sorry for delay... I was working about javadebug :) Regards, On Fri, Jun 19, 2009 at 12:45:23AM -0400, Chris Frey wrote: > 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 -- Nicolas |