Allow compilation with GMP < 5.0.0.
authorLudovic Courtès <ludo@gnu.org>
Thu, 28 Mar 2013 21:16:07 +0000 (22:16 +0100)
committerLudovic Courtès <ludo@gnu.org>
Thu, 28 Mar 2013 21:19:12 +0000 (22:19 +0100)
commit07b390d5827da2f46f57e4650167920fb792ebc9
tree65465c23cc30d0ee1aa67c24a6bdcbade77c84fa
parent06589f5c229c3ce4dd2cb627c90ef4372dd0a571
Allow compilation with GMP < 5.0.0.

* libguile/numbers.c (VARARG_MPZ_ITERATOR)[!HAVE_DECL_MPZ_INITS]: New
  macro.
  (mpz_inits, mpz_clears)[!HAVE_DECL_MPZ_INITS]: New functions.
* configure.ac: Check for the declaration of `mpz_inits'.
configure.ac
libguile/numbers.c