[Dune] [Dune-Commit] dune-istl r1490 - trunk/dune/istl

Christian Engwer christian.engwer at uni-muenster.de
Tue Aug 2 23:29:30 CEST 2011


On Tue, Aug 02, 2011 at 08:00:29PM +0200, Jö Fahlke wrote:
> Am Tue,  2. Aug 2011, 17:57:52 +0200 schrieb Christian Engwer:
> > your last patch is wrong. 
> > if you find boost HAVE_BOOST defined to ENABLE_BOOST, which 1 if you
> > pass the boost flags to the compiler.
> > if boost is missing HAVE_BOOST is either empty of 0, which is always
> > evaluated to false.
> > 
> > So you should keep it
> > #if HAVE_BOOST
> 
> Uh, that is probably my bad, I told her to do it.  I kind of assumed the
> HAVE/ENABLE trick wasn't used for Boost whe I saw that HAVE_BOOST was defined
> to the empty value in Rebecca's config.h -- in that case
> 
>   #if HAVE_BOOST
> 
> will be simply relaced by
> 
>   #if 
> 
> which I doubt is standards-conforming.

it is strange that it is defined as "#define HAVE_BOOST /**/" it
should be "/* #undef HAVE_BOOST */" if boost is not found. If boost is
found it is supposed to be "#define HAVE_BOOST ENABLE_BOOST".

> @Rebecca: We'll have to look closer at this, "#define HAVE_BOOST /**/" is not
>           supposed to happen in config.h.  Could you please send us the
>           following files from the module where this is happening: configure
>           configure.ac aclocal config.log config.h, and the output of
>           "dunecontrol --only=your-module configure"?
> 
> I'm going to revert that commit, unless someone else has done so
>           already...

I did it already.

Christian




More information about the Dune mailing list