I'd like to beef up Automake support for Fortran a bit, and also get
subdir-objects working better.  I'm not completely done with it, but
it would be nice if Autoconf 2.60 were prepared to deal.

So I am proposing to install the following hopefully trivial changes
now.  It is a bit conservative in the sense that I think Automake won't
need to look for AC_FC_SRCEXT or AC_FC_FREEFORM, but I don't think it
matters if the preselection is too large by a bit.  (Right?)

OK?

Cheers,
Ralf

        * lib/autom4te.in (Automake-preselections): Add AM_PROG_CXX_C_O,
        AM_PROG_F77_C_O, AM_PROG_FC_C_O, AC_FC_SRCEXT, AC_FC_FREEFORM.

Index: lib/autom4te.in
===================================================================
RCS file: /cvsroot/autoconf/autoconf/lib/autom4te.in,v
retrieving revision 1.30
diff -u -r1.30 autom4te.in
--- lib/autom4te.in     5 Jun 2006 12:16:06 -0000       1.30
+++ lib/autom4te.in     12 Jun 2006 18:07:41 -0000
@@ -47,6 +47,8 @@
 args: --preselect AC_CONFIG_HEADERS
 args: --preselect AC_CONFIG_LIBOBJ_DIR
 args: --preselect AC_CONFIG_LINKS
+args: --preselect AC_FC_SRCEXT
+args: --preselect AC_FC_FREEFORM
 args: --preselect AC_INIT
 args: --preselect AC_LIBSOURCE
 args: --preselect AC_REQUIRE_AUX_FILE
@@ -59,6 +61,9 @@
 args: --preselect AM_INIT_AUTOMAKE
 args: --preselect AM_MAINTAINER_MODE
 args: --preselect AM_PROG_CC_C_O
+args: --preselect AM_PROG_CXX_C_O
+args: --preselect AM_PROG_F77_C_O
+args: --preselect AM_PROG_FC_C_O
 args: --preselect _AM_SUBST_NOTMAKE
 args: --preselect LT_SUPPORTED_TAG
 args: --preselect _LT_AC_TAGCONFIG


Reply via email to