]> git.ipfire.org Git - thirdparty/coreutils.git/commit
maint: use Gnulib libgmp module
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 7 Jul 2020 17:39:10 +0000 (10:39 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 7 Jul 2020 21:48:21 +0000 (14:48 -0700)
commit13046444888a7e96f48d28fdd5a6ffe03d4ab036
tree7e4b2676c816aa884b0f5b264d305fd1d136c800
parent4c8495cf11bd4a370860cc8d2f051566bfbd58a1
maint: use Gnulib libgmp module

This lets use assume multiple-precision arithmetic on all
platforms, simplifying the code.
* bootstrap.conf (gnulib_modules): Add libgmp.
* configure.ac: Don’t call cu_GMP, as this is now done by Gnulib.
* m4/gmp.m4: Remove.
* src/expr.c, src/factor.c: Use gmp.h unconditionally.
* src/factor.c: Use the simpler ‘#ifndef mpz_inits’ to
determine whether there is an mpz_inits macro.
bootstrap.conf
configure.ac
m4/gmp.m4 [deleted file]
src/expr.c
src/factor.c