[Dune] Re: ug.m4 und Task 65.

Oliver Sander sander at mi.fu-berlin.de
Tue Dec 12 09:42:35 CET 2006


Dear Robert!
The check for --enable-dune is not useless.  If you leave it out you
can compile your UG without --enable-dune but with C++.  Then the
dune build system will happily find UG, compile and link everything,
but any code using UGGrid will encounter the strangest segfaults.

--
Oliver

************************************************************************
* Oliver Sander                ** email: sander at mi.fu-berlin.de        *
* Freie Universität Berlin     ** phone: + 49 (30) 838 75217           *
* Institut für Mathematik II   ** URL  : page.mi.fu-berlin.de/~sander  *
* Arnimallee 6                 ** -------------------------------------*
* 14195 Berlin, Germany        ** Member of MATHEON (www.matheon.de)   *
************************************************************************

On Mon, 11 Dec 2006, Robert Kloefkorn wrote:

> Hello Oli,
>
>> I did not consider your fix very
>> satisfying, because there are more reasons why the linking test may
>> fail.
>
> In my version first the library is checked for this int duneMarker
> within the UG library and then no matter what the --enable-dune test
> says, the libraries are checked. So one gets both informations which are
> stored in config.log, which is better than the actual solution.
> Of course, if the libraries are not present, both checks will fail.
> At the moment the --enable-dune check is only done if header and
> libraries are found, which means everything allready is ok. So the check
> really is useless.
>
> That was, what I wanted to fix. Also repeating once more that the fix
> was a "whitespace change" will not increase the content of your
> statement about my fix.
>
> Regards
>
> R
>
> -- 
>
>  Robert Klöfkorn           <robertk at mathematik.uni-freiburg.de>
>
>  Mathematisches Institut              Tel: +49 (0) 761 203 5631
>  Abt. für Angewandte Mathematik       Fax: +49 (0) 761 203 5632
>  Universität Freiburg
>  Hermann-Herder-Str. 10
>  79104 Freiburg
>
>  http://www.mathematik.uni-freiburg.de/IAM/homepages/robertk
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://www.dune-project.org/cgi-bin/mailman/listinfo/dune
>


More information about the Dune mailing list