diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2020-07-06 18:54:11 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2020-07-06 19:03:03 -0700 |
commit | 3b0ef0b854a43aea12364fafd4bb053d59c116f2 (patch) | |
tree | c2d66ee7ed712b946a7db881aa15a8eb1f1eb4db /config | |
parent | 4cfff6810c595e60cf4411dc9bac83c0328e8812 (diff) | |
download | gnulib-3b0ef0b854a43aea12364fafd4bb053d59c116f2.tar.gz |
libgmp: new module
The idea is to let programs simply include <gmp.h>, and
so long as they live within the mini-gmp subset they need
not worry about whether the GMP libraries are installed.
* MODULES.html.sh: Mention it.
* config/srclist.txt: Mention files copied from GMP source.
* config/srclistvars.sh (GMP): New var.
* lib/mini-gmp-gnulib.c, m4/libgmp.m4, modules/libgmp:
* modules/libgmp-tests, tests/test-libgmp.c: New files.
* lib/mini-gmp.c, lib/mini-gmp.h: New files, copied from GMP.
Diffstat (limited to 'config')
-rw-r--r-- | config/srclist.txt | 3 | ||||
-rwxr-xr-x | config/srclistvars.sh | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/config/srclist.txt b/config/srclist.txt index 16a799cc61..1ff511be1b 100644 --- a/config/srclist.txt +++ b/config/srclist.txt @@ -17,6 +17,9 @@ $TEXINFOTEX texinfo.tex build-aux strip-trailing-space # we generate INSTALL from this via a rule in doc/Makefile. $AUTOCONF doc/install.texi doc +$GMP mini-gmp/mini-gmp.c lib +$GMP mini-gmp/mini-gmp.h lib + $GNUSTANDARDS maintain.texi doc strip-trailing-space $GNUSTANDARDS standards.texi doc strip-trailing-space $GNUSTANDARDS make-stds.texi doc diff --git a/config/srclistvars.sh b/config/srclistvars.sh index ce31637592..72cf05189f 100755 --- a/config/srclistvars.sh +++ b/config/srclistvars.sh @@ -27,6 +27,7 @@ esac # Default to sibling (of parent) directories. : ${AUTOCONF=../autoconf} : ${AUTOMAKE=../automake} +: ${GMP=../gmp} : ${GNUCONFIG=../config} : ${GNULIBSRC=../gnulib} : ${GNUORG=../gnuorg} |