Hello everyone, I would like to see improved Fortran support in Autotools, and for eventual dependency tracking in Automake (and other purposes) we need to know the name of module files and how to modify the include path.
Now, the AX_F90_MODULE_EXTENSION and AX_F90_MODULE_FLAG macros from the Autoconf Macro Archive provide nice initial macros for this purpose. I'd like to integrate them in Autoconf proper, and to that end I've done some rewriting of them, changed semantics a bit, added a couple more flags I know of, and some documentation. My first question would be how to properly credit the original authors of these macros. Luc, Julian, Alexander, I'd be glad to list y'all as authors and add you to the Autoconf THANKS file if you don't mind. For git purposes, I'm not sure whether to list one of you as primary author and if yes who. Then, I've resorted to some hacking in order to preserve trailing whitespace in the FC_MODINC value in a Makefile, and also retain its usefulness in the configure script. Could also do without a helper var, as in something like case $FC_MODINC in *\ ) FC_MODINC=$FC_MODINC\'\' ;; esac if that is preferable. The testsuite addition in the second patch is probably too strict, but I'd prefer to hear about compilers that don't provide any flag. Last, but not least, patch feedback would be great, of course! Thanks, Ralf
