[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FFLAGS & FCFLAGS
From: |
Alfred G. de Wijn |
Subject: |
FFLAGS & FCFLAGS |
Date: |
Sat, 15 Nov 2008 11:15:50 -0700 |
Hi!
While generalizing some code from FFTW to check for compiler flags
from C to Fortran, I ran into an issue with autoconf. It seems that
ac_test_FCFLAGS and ac_save_FCFLAGS are never set because in
fortran.m4 it is hardcoded as:
ac_test_FFLAGS=${[]_AC_LANG_PREFIX[]FLAGS+set}
and
ac_save_FFLAGS=$[]_AC_LANG_PREFIX[]FLAGS
Changing these to
ac_test_[]_AC_LANG_PREFIX[]FLAGS=${[]_AC_LANG_PREFIX[]FLAGS+set}
and
ac_save_[]_AC_LANG_PREFIX[]FLAGS=$[]_AC_LANG_PREFIX[]FLAGS
fixes this behavior. There are 2 of the former, 4 of the latter. A
patch is attached, as is testsuite.log. With a bit more time, I can
probably provide a test as suggested in README-hacking, too.
Cheers,
Alfred
--
Alfred G. de Wijn (address@hidden)
web: http://www.iluvatar.eu.org/~dwijn
fortran.diff
Description: Binary data
testsuite.log
Description: Binary data
PGP.sig
Description: This is a digitally signed message part
- FFLAGS & FCFLAGS,
Alfred G. de Wijn <=
- Re: FFLAGS & FCFLAGS, Eric Blake, 2008/11/17
- Message not available
- Re: FFLAGS & FCFLAGS, Eric Blake, 2008/11/17
- Re: FFLAGS & FCFLAGS, Ralf Wildenhues, 2008/11/18
- Message not available
- Re: FFLAGS & FCFLAGS, Ralf Wildenhues, 2008/11/18
- Re: FFLAGS & FCFLAGS, Eric Blake, 2008/11/18
- Re: FFLAGS & FCFLAGS, Ralf Wildenhues, 2008/11/20
- Re: FFLAGS & FCFLAGS, Eric Blake, 2008/11/20