On 20 Jun 2006 18:20:16 +0200, Lars Gullik Bjønnes <[EMAIL PROTECTED]> wrote:
"Bo Peng" <[EMAIL PROTECTED]> writes:
| > That is what we have setup automake to do.
| > (except that we have so far not bothered to split config.h)
|
| Really? src/config.h.in:
Hmm da hmm... you are right...
We should probably create boost_config.h for autotools as well. That
would avoid the issue of redefining macros. (and to make it easy on
ourselves we can just include boost_config.h in config.h
Just in one case, scons is leading autotools. :-)
Currently scons:
1. create $BUILDDIR/common/config.h
2. create $BUILDDIR/boost/config.h
3. create $BUILDDIR/intl/config.h (optional, if nls=yes)
4. common/config.h has #include <../boost/config.h>, which replaces
duplicate tests/definitions in boost/config.h.
5. lyx source has -I$BUILDDIR/common for common/config.h (and boost/config.h)
6. boost source has -I$BUILDDIR/boost for boost/config.h
Bo