* lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Properly detect
the fort77 (f2c wrapper) compiler verbose linking output flag.
Fixes also AC_F77_LIBRARY_LDFLAGS and AC_F77_DUMMY_MAIN.
* THANKS: Update.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+2011-02-12 Giulio Paci <giuliopaci@interfree.it> (tiny change)
+ Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ Fix detection of link flags for fort77 on GNU/Linux.
+ * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Properly detect
+ the fort77 (f2c wrapper) compiler verbose linking output flag.
+ Fixes also AC_F77_LIBRARY_LDFLAGS and AC_F77_DUMMY_MAIN.
+ * THANKS: Update.
+
2011-02-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/autoconf.texi: Rebuild menus using emacs ^C ^U ^A.
Greg Schafer gschafer@zip.com.au
Gregorio Guidi ?
Gregory Giannoni sand@narguile.org
+Giulio Paci giuliopaci@interfree.it
Guido Draheim Guido.Draheim@gmx.de
Guido Flohr gufl0000@stud.uni-sb.de
Guido van Rossum ?
s/-ignore *'[[^']]*'/ /g; s/-ignore *\"[[^\"]]*\"/ /g
s/-def *'[[^']]*'/ /g; s/-def *\"[[^\"]]*\"/ /g"` ;;
+ # If we are using fort77 (the f2c wrapper) then filter output and delete quotes.
+ *fort77*f2c*gcc*)
+ ac_[]_AC_LANG_ABBREV[]_v_output=`echo "$ac_[]_AC_LANG_ABBREV[]_v_output" | sed -n '
+ /:[[ ]]\+Running[[ ]]\{1,\}"gcc"/{
+ /"-c"/d
+ /[[.]]c"*/d
+ s/^.*"gcc"/"gcc"/
+ s/"//gp
+ }'` ;;
+
# If we are using Cray Fortran then delete quotes.
*cft90*)
ac_[]_AC_LANG_ABBREV[]_v_output=`echo $ac_[]_AC_LANG_ABBREV[]_v_output | sed 's/"//g'` ;;