mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-08 17:22:05 +03:00
* MODULES.html.sh: Mention libgmp-mpz and libgmp-mpq. * config/srclist.txt: Mention mini-mpq.c and mini-mpq.h. * lib/mini-mpq-gnulib.c: New file. * lib/mini-mpq.c: New upstream source file from https://gmplib.org/repo/gmp/raw-file/tip/mini-gmp/mini-mpq.c. * lib/mini-mpq.h: New upstream source file from https://gmplib.org/repo/gmp/raw-file/tip/mini-gmp/mini-mpq.h. * modules/libgmp-mpq: New module. * modules/libgmp-mpz: Conditionally include mini-mpq.h in gmp.h. * modules/libgmp: Add libgmp-mpq dependency.
34 lines
526 B
Plaintext
34 lines
526 B
Plaintext
Description:
|
|
GNU Multiple Precision Arithmetic library (mpq_* part),
|
|
or its mini-mpq substitute
|
|
|
|
Files:
|
|
lib/mini-mpq-gnulib.c
|
|
lib/mini-mpq.c
|
|
lib/mini-mpq.h
|
|
|
|
Depends-on:
|
|
libgmp-mpz
|
|
|
|
configure.ac:
|
|
gl_LIBGMP
|
|
gl_CONDITIONAL([GL_COND_OBJ_MINI_MPQ_GNULIB], [test $HAVE_LIBGMP != yes])
|
|
gl_MODULE_INDICATOR([libgmp-mpq])
|
|
|
|
Makefile.am:
|
|
if GL_COND_OBJ_MINI_MPQ_GNULIB
|
|
lib_SOURCES += mini-mpq-gnulib.c
|
|
endif
|
|
|
|
Include:
|
|
<gmp.h>
|
|
|
|
Link:
|
|
$(LTLIBGMP) when linking with libtool, $(LIBGMP) otherwise
|
|
|
|
License:
|
|
LGPLv3+ or GPLv2+
|
|
|
|
Maintainer:
|
|
all
|