automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Fix code for requiring gfortran and g77 in tests.


From: Ralf Wildenhues
Subject: Re: [PATCH] Fix code for requiring gfortran and g77 in tests.
Date: Sun, 20 Jun 2010 20:10:32 +0200
User-agent: Mutt/1.5.20 (2010-04-22)

Hi Stefano,

* Stefano Lattarini wrote on Sun, Jun 13, 2010 at 10:03:33PM CEST:
> Another improvements to 'tests/defs', factored out from my on-going 
> refactoring of test scripts setup.  This time it is (should be) a real 
> improvement, not just a cosmetic one.

I see your point, but do you have a system or an environment where it
makes a difference, and for which Automake tests?  AC_PROG_{F77,FC}
should be trying g77/gfortran first, and if you have $F77 or $FC set, I
assume they point to decent compilers.

More generally, we really actually would like to be able to run the
tests with various different compilers.  The 'gcc' requirement is fairly
strong and limiting; in many cases, we might be able to get by with
having any working C compiler.  OTOH, we don't really want to have to
expose us to bugs/limitations in Autoconf's macros too much that happen
to not support some compiler well yet.

That said, I have a patch for the Autoconf testsuite to get some more
exposure for the Fortran macros, which I guess I should post there for
discussion.

Cheers,
Ralf

> Fix code for requiring gfortran and g77 in tests.
> 
> * tests/defs.in: Correctly set and export F77 and/or FC when g77
> and/or gfortran are in $required, even when they both required.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]