This is the mail archive of the gcc@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: [semi-related patch] Re: issues with configuring the trunk to build Fortran


On Thu, Aug 26, 2004 at 01:31:45PM -0400, Phil Edwards wrote:
> On Thu, Aug 26, 2004 at 01:10:27PM -0400, Diego Novillo wrote:
> > On Thu, 2004-08-26 at 13:05, Phil Edwards wrote:
> > 
> > >     checking for correct version of gmp.h... no
> > >     configure: error: The GMP library is required for f95 but was not found.
> > > 
> > > Comments?  All okay (with changelog, of course)?
> > > 
> > Will this emit an appropriate message when it finds GMP but with no MPFR
> > support?
> 
> The test for MPFR sets have_gmp to false when it fails, presumably so
> that all later code only needs to check the GMP-related variable, which
> is probably a good thing.
> 
> The error message can be tweaked ("GMP/MPFR not found, go read the install
> docs"), or we can check separate variables.

One message suffices:

configure: error: GMP with MPFR support is required to build f95

That's an appropriate message if the user specifically requested f95.  But
what if he/she didn't?  In that case, it seems that the handling should be
like that for Ada if no Ada compiler is found.


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