[Dune] [Dune-Commit] dune-common r5013 - trunk/m4

Christian Engwer christi at uni-hd.de
Mon Nov 19 21:12:27 CET 2007


Hi,

>    # if header is found...
>    if test x$HAVE_ALUGRID = x1 ; then
> -    AC_CHECK_LIB(alugrid,[main],
> +    AC_CHECK_LIB(alugrid,[malloc],
>      [ALUGRID_LIBS="-lalugrid"
>             ALUGRID_LDFLAGS="-L$ALUGRID_LIB_PATH"
>             LIBS="$LIBS $ALUGRID_LIBS"],

I'm not sure whether the previous test worked as expected, but the new
one seems rather strange to me. AC_CHECK_LIB is sopposed to check for
a symbol in the library. Does alugrod provide a symbol malloc?

Cheers Christian




More information about the Dune mailing list