Description:
GNU Multiple Precision Arithmetic library, or its mini-gmp substitute

Files:
lib/mini-gmp-gnulib.c
lib/mini-gmp.c
lib/mini-gmp.h
m4/libgmp.m4

Depends-on:
havelib

configure.ac:
gl_LIBGMP
if test -n "$GMP_H"; then
  AC_LIBOBJ([mini-gmp-gnulib])
fi

Makefile.am:
BUILT_SOURCES += $(GMP_H)

# Build gmp.h as a wrapper for mini-gmp.h when using mini-gmp.
if GL_GENERATE_GMP_H
gmp.h: $(top_builddir)/config.status
	echo '#include "mini-gmp.h"' >$@-t
	mv $@-t $@
else
gmp.h: $(top_builddir)/config.status
	rm -f $@
endif
MOSTLYCLEANFILES += gmp.h gmp.h-t

Include:
<gmp.h>

Link:
$(LTLIBGMP) when linking with libtool, $(LIBGMP) otherwise

License:
LGPLv3+ or GPLv2+

Maintainer:
all
