posix_spawn_file_actions_* tests: Fix module dependencies.
[gnulib.git] / modules / libgmp
blobbfc62f8d8623e9709c6209758f3f4ee6d740b58a
1 Description:
2 GNU Multiple Precision Arithmetic library, or its mini-gmp substitute
4 Files:
5 lib/mini-gmp-gnulib.c
6 lib/mini-gmp.c
7 lib/mini-gmp.h
8 m4/libgmp.m4
10 Depends-on:
12 configure.ac:
13 gl_LIBGMP
14 if test $HAVE_LIBGMP != yes; then
15   AC_LIBOBJ([mini-gmp-gnulib])
18 Makefile.am:
19 BUILT_SOURCES += $(GMP_H)
21 if GL_GENERATE_MINI_GMP_H
22 # Build gmp.h as a wrapper for mini-gmp.h when using mini-gmp.
23 gmp.h: $(top_builddir)/config.status
24         echo '#include "mini-gmp.h"' >$@-t
25         mv $@-t $@
26 else
27 if GL_GENERATE_GMP_GMP_H
28 # Build gmp.h as a wrapper for gmp/gmp.h.
29 gmp.h: $(top_builddir)/config.status
30         echo '#include <gmp/gmp.h>' >$@-t
31         mv $@-t $@
32 else
33 gmp.h: $(top_builddir)/config.status
34         rm -f $@
35 endif
36 endif
37 MOSTLYCLEANFILES += gmp.h gmp.h-t
39 Include:
40 <gmp.h>
42 Link:
43 $(LTLIBGMP) when linking with libtool, $(LIBGMP) otherwise
45 License:
46 LGPLv3+ or GPLv2+
48 Maintainer:
49 all