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[]FLAGSfixes 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 ([EMAIL PROTECTED]) 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