Kevin Ryde <[EMAIL PROTECTED]> writes:
Jorge Andres Devoto <[EMAIL PROTECTED]> writes:
>
> I am having some problems when I try to use autconf with the gmp
> library. I have the library installed
> in /usr/local/lib. For example I have /usr/local/lib/libgmp.a.
>
> The problem is that if I have a configure.in with the lines
>
> AC_CHECK_LIB(gmp, mpz_init, ,
> [echo "** Cannot find gmp library **"])
In gmp 3 the library symbols are __gmpz_init and the like, you should
use that instead of just mpz_init. The next gmp release will have
some notes on this.
Isn't the proper to check for GMP to #include gmp.h
in such probing code? We might want to play with
the names used in a static (not dynamic!) libgmp.a,
making any fixed test unreliable.
--
Torbjörn