summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2018-09-18 01:17:52 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2018-09-18 01:17:52 +0000
commitc02d6ca2940fb7ad6111ac6a0610faa862c56d1f (patch)
tree32ae9ce013576fc28f93a4cde56e67a13dc6b681 /configure.ac
parent932de17261a6f3326b7778d16a1d0dff7c33d741 (diff)
downloadmpfr-c02d6ca2940fb7ad6111ac6a0610faa862c56d1f.tar.gz
[configure.ac] Avoid a configure failure with automatic dependency
tracking when --with-mini-gmp is not used (bug in Automake?). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13217 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 8c6c2b4a9..fe5990c0b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -645,6 +645,15 @@ dnl
if test -z "$mini_gmp_path" ; then
+dnl Avoid a configure failure with automatic dependency tracking due to
+dnl libminigmp_la_SOURCES = $(mini_gmp_path)/mini-gmp.h [...]
+dnl in src/Makefile.am; this failure comes from the fact that lines with
+dnl $(mini_gmp_path)/$(DEPDIR)/... are added to src/Makefile even though
+dnl the rules related to $(mini_gmp_path) are in an Automake conditional
+dnl that is false when $mini_gmp_path is an empty string. This is probably
+dnl a bug in Automake.
+mini_gmp_path=.
+
dnl Check minimal GMP version
dnl We only guarantee that with a *functional* and recent enough GMP version,
dnl MPFR will compile; we do not guarantee that GMP will compile.