1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00
emacs/lib
Paul Eggert c8b6006d82 Use Gnulib libgmp module
Instead of doing GMP by hand, use the Gnulib libgmp module.
* .gitignore: Add lib/gmp.h.
* admin/merge-gnulib (GNULIB_MODULES): Add libgmp.
* configure.ac (GMP_LIB, GMP_OBJ): Remove.  Gnulib uses the name
LIB_GMP, so all uses changed.  All uses of GMP_OBJ removed.
(HAVE_GMP): Set this from Gnulib’s variables.
* lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
* lib/mini-gmp-gnulib.c, lib/mini-gmp.c, lib/mini-gmp.h, m4/libgmp.m4:
New files, copied from Gnulib.
* src/bignum.h, test/data/emacs-module/mod-test.c:
Include gmp.h unconditionally.
* src/mini-gmp-emacs.c, src/mini-gmp.c, src/mini-gmp.h:
Remove.  This moves these files from src to lib, and
updates them to the current GMP version.
* test/Makefile.in (GMP_H): New macro.
($(test_module)): Use it to decide whether to compile
mini-gmp-gnulib.c too.
2020-07-09 16:38:45 -07:00
..
_Noreturn.h Update from Gnulib 2020-02-09 00:45:42 -08:00
acl_entries.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
acl-errno-valid.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
acl-internal.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
acl-internal.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
acl.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
alloca.in.h Update from Gnulib 2020-07-09 16:38:44 -07:00
allocator.c
allocator.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
arg-nonnull.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
at-func.c Update from Gnulib 2020-03-28 14:08:11 -07:00
attribute.h Update from gnulib 2020-05-11 17:54:23 -07:00
binary-io.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
binary-io.h Update from gnulib 2019-12-31 19:11:56 -08:00
byteswap.in.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
c-ctype.c
c-ctype.h Update from gnulib 2019-12-31 19:11:56 -08:00
c-strcase.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
c-strcasecmp.c Update from gnulib 2019-12-31 19:11:56 -08:00
c-strncasecmp.c Update from gnulib 2019-12-31 19:11:56 -08:00
c++defs.h Update from Gnulib 2020-02-09 00:45:42 -08:00
canonicalize-lgpl.c Update from Gnulib 2020-03-28 14:08:11 -07:00
careadlinkat.c Update from gnulib 2020-05-11 17:54:23 -07:00
careadlinkat.h Update from Gnulib 2020-02-23 16:15:01 -08:00
cdefs.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cloexec.c Update from gnulib 2019-12-31 19:11:56 -08:00
cloexec.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
close-stream.c Update from gnulib 2019-12-31 19:11:56 -08:00
close-stream.h
copy-file-range.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
COPYING Merge from Gnulib 2017-10-01 18:31:10 -07:00
count-leading-zeros.c logb now works correctly on large integers 2017-03-03 09:19:08 -08:00
count-leading-zeros.h Update from Gnulib 2020-02-22 10:33:45 -08:00
count-one-bits.c
count-one-bits.h Update from Gnulib 2020-06-27 10:07:12 -07:00
count-trailing-zeros.c
count-trailing-zeros.h Update from Gnulib 2020-02-22 10:33:45 -08:00
diffseq.h Update from gnulib 2019-12-31 19:11:56 -08:00
dirent.in.h Update from Gnulib 2020-05-09 08:50:57 -07:00
dirfd.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
dtoastr.c
dtotimespec.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
dup2.c Update from Gnulib 2020-07-09 16:38:44 -07:00
errno.in.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
euidaccess.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
execinfo.c
execinfo.in.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
explicit_bzero.c Update from Gnulib 2020-05-03 15:10:07 -07:00
faccessat.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
fchmodat.c Add 'nofollow' flag to set-file-modes etc. 2020-02-23 16:45:50 -08:00
fcntl.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
fcntl.in.h Update from Gnulib 2020-02-24 17:55:39 -08:00
fdopendir.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
filemode.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
filemode.h Update from gnulib 2019-12-31 19:11:56 -08:00
filename.h Update from Gnulib 2020-03-28 14:08:11 -07:00
filevercmp.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
filevercmp.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
fingerprint.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
fingerprint.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
flexmember.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
fpending.c Update from gnulib 2019-12-31 19:11:56 -08:00
fpending.h Update from gnulib 2019-12-31 19:11:56 -08:00
fstatat.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
fsusage.c Update from gnulib 2019-12-31 19:11:56 -08:00
fsusage.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
fsync.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ftoastr.c Update from Gnulib 2020-06-27 10:07:12 -07:00
ftoastr.h Update from Gnulib 2020-06-27 10:07:12 -07:00
futimens.c Add ‘nofollow’ flag to set-file-times 2020-03-07 12:15:43 -08:00
get-permissions.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
getdtablesize.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
getgroups.c Update from gnulib 2019-12-31 19:11:56 -08:00
getloadavg.c Update from Gnulib 2020-06-27 10:07:12 -07:00
getopt1.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
getopt_int.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
getopt-cdefs.in.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
getopt-core.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
getopt-ext.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
getopt-pfx-core.h Update from gnulib 2020-03-25 13:40:35 -07:00
getopt-pfx-ext.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
getopt.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
getopt.in.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
getrandom.c Update from Gnulib 2020-07-09 16:38:44 -07:00
gettext.h Update from gnulib 2019-12-31 19:11:56 -08:00
gettime.c Update from gnulib 2019-12-31 19:11:56 -08:00
gettimeofday.c Update from Gnulib 2020-06-27 10:07:12 -07:00
gnulib.mk.in Use Gnulib libgmp module 2020-07-09 16:38:45 -07:00
group-member.c Update from gnulib 2019-12-31 19:11:56 -08:00
ieee754.in.h Update from Gnulib 2020-05-03 15:10:07 -07:00
ignore-value.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
intprops.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
inttypes.in.h Update from Gnulib 2020-02-23 01:27:19 -08:00
lchmod.c Add 'nofollow' flag to set-file-modes etc. 2020-02-23 16:45:50 -08:00
libc-config.h Update from Gnulib 2020-06-27 10:07:12 -07:00
limits.in.h Update from Gnulib 2020-05-09 08:50:57 -07:00
localtime-buffer.c Update from gnulib 2019-12-31 19:11:56 -08:00
localtime-buffer.h Update from gnulib 2019-12-31 19:11:56 -08:00
lstat.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
Makefile.in Update copyright year to 2020 2020-01-01 00:59:52 +00:00
malloca.c Update from gnulib 2019-12-31 19:11:56 -08:00
malloca.h Update from gnulib 2019-12-31 19:11:56 -08:00
md5.c Update from gnulib 2019-12-31 19:11:56 -08:00
md5.h Update from Gnulib 2020-02-23 16:15:01 -08:00
memmem.c Update from gnulib 2019-12-31 19:11:56 -08:00
mempcpy.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
memrchr.c Update from gnulib 2019-12-31 19:11:56 -08:00
min-max.h
mini-gmp-gnulib.c Use Gnulib libgmp module 2020-07-09 16:38:45 -07:00
mini-gmp.c Use Gnulib libgmp module 2020-07-09 16:38:45 -07:00
mini-gmp.h Use Gnulib libgmp module 2020-07-09 16:38:45 -07:00
minmax.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
mkostemp.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
mktime-internal.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
mktime.c Update from gnulib 2019-12-31 19:11:56 -08:00
nstrftime.c Update from Gnulib 2020-05-03 15:10:07 -07:00
open.c Update from Gnulib 2020-06-27 10:07:12 -07:00
openat-die.c
openat-priv.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
openat-proc.c Update from Gnulib 2020-06-27 10:07:12 -07:00
openat.h Update from Gnulib 2020-02-23 01:27:19 -08:00
pathmax.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
pipe2.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
pselect.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
pthread_sigmask.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
qcopy-acl.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
readlink.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
readlinkat.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
regcomp.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
regex_internal.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
regex_internal.h Update from Gnulib 2020-01-27 23:29:18 -08:00
regex.c Update from Gnulib 2020-01-27 23:29:18 -08:00
regex.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
regexec.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
root-uid.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
save-cwd.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
save-cwd.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
set-permissions.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
sha1.c Update from gnulib 2019-12-31 19:11:56 -08:00
sha1.h Update from Gnulib 2020-02-23 16:15:01 -08:00
sha256.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
sha256.h Update from Gnulib 2020-02-23 16:15:01 -08:00
sha512.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
sha512.h Update from Gnulib 2020-02-23 16:15:01 -08:00
sig2str.c Update from gnulib 2019-12-31 19:11:56 -08:00
sig2str.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
signal.in.h Update from Gnulib 2020-02-23 01:27:19 -08:00
stat-time.c
stat-time.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
stdalign.in.h Update from gnulib 2019-12-31 19:11:56 -08:00
stddef.in.h Update from gnulib 2019-12-31 19:11:56 -08:00
stdint.in.h Update from gnulib 2019-12-31 19:11:56 -08:00
stdio-impl.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
stdio.in.h Update from Gnulib 2020-05-09 08:50:57 -07:00
stdlib.in.h Update from Gnulib 2020-05-09 08:50:57 -07:00
stpcpy.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
str-two-way.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
strftime.h Update from Gnulib 2020-02-23 16:15:01 -08:00
string.in.h Update from Gnulib 2020-07-09 16:38:44 -07:00
strnlen.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
strtoimax.c Update from gnulib 2019-12-31 19:11:56 -08:00
strtol.c Update from gnulib 2019-12-31 19:11:56 -08:00
strtoll.c Update from gnulib 2019-12-31 19:11:56 -08:00
symlink.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
sys_random.in.h Update from Gnulib 2020-06-27 10:07:12 -07:00
sys_select.in.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
sys_stat.in.h Update from Gnulib 2020-07-09 16:38:44 -07:00
sys_time.in.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
sys_types.in.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
tempname.c Update from Gnulib 2020-06-27 10:07:12 -07:00
tempname.h Update from Gnulib 2020-06-27 10:07:12 -07:00
time_r.c Update from gnulib 2019-12-31 19:11:56 -08:00
time_rz.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
time-internal.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
time.in.h Update from Gnulib 2020-02-23 01:27:19 -08:00
timegm.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
timespec-add.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
timespec-sub.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
timespec.c
timespec.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
u64.c
u64.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
unistd.c
unistd.in.h Update from Gnulib 2020-07-09 16:38:44 -07:00
unlocked-io.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
utimens.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
utimens.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
utimensat.c Add ‘nofollow’ flag to set-file-times 2020-03-07 12:15:43 -08:00
verify.h Update from Gnulib 2020-06-27 10:07:12 -07:00
vla.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
warn-on-use.h Update from gnulib 2020-05-11 17:54:23 -07:00
xalloc-oversized.h Update from gnulib 2019-12-31 19:11:56 -08:00