[PATCH] Require GMP 4.2 and MPFR 2.2
Brooks Moses
bmoses@stanford.edu
Sun Apr 16 04:48:00 GMT 2006
Steve Kargl wrote:
> The attached patch raises the bar on the versions of gmp and
> mpfr that are needed for building gfortran. This is my first
> attempt at editing the toplevel configure.in, so I would
> appreciate the scrutiny of someone who actually understand
> autoconf. In fact, someone else will need to commit this patch
> or an improved version because I believe my write access is
> limited to gfortran changes.
[...]
> +#if __GNU_MP_VERSION < 4 || __GNU_MP_VERSION_MINOR < 2
> choke me
> #endif
[...]
> +#include <mpfr.h>],[
> +#if MPFR_VERSION_MAJOR < 2 || MPFR_VERSION_MINOR < 2
> + choke me
> +#endif
The above will fail for versions 5.0 and 3.0, respectively. I presume
that's not actually the desired behavior?
- Brooks
More information about the Fortran
mailing list