tinc1.0pre2 configure fails on libgmp3.0.1

Ivo Timmermans zarq at zebra.icicle.yi.org
Fri Jun 2 21:28:35 CEST 2000


Marc Olzheim wrote:
> Hi.
> 
> configure fails because on my machine, mpz_powm is a macro in gmp.h, so
> the check doesn't work...


Do you have autoconf installed?  If so, you can try putting this in
configure.in:

# Check for the GNU Multi Precision Library
libgmp=none
AC_CHECK_LIB(gmp, mpz_powm, [
  libgmp=gmp
])
AC_CHECK_LIB(gmp2, mpz_powm, [
  libgmp=gmp2
])
AC_CHECK_LIB(gmp3, __gmpz_powm, [
  libgmp=gmp3
])
AC_CHECK_LIB(gmp, __gmpz_powm, [
  libgmp=gmp
])



(And delete the old lines that check for libgmp)

HTH

-- 
Ivo Timmermans

Deja moo: the feeling you've heard this bullshit before.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://brouwer.uvt.nl/pipermail/tinc/attachments/20000602/988cf0af/attachment.pgp


More information about the Tinc mailing list