This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Require GMP 4.2 and MPFR 2.2


On Sat, Apr 15, 2006 at 09:47:46PM -0700, Brooks Moses wrote:
> 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?
> 

No, that is not the desired behavior.  See the attached revised patch.

-- 
Steve

Attachment: configure.in.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]