[SCM] GNU Autoconf source repository branch, master, updated. v2.68-36-gcc2118d

"Ralf Wildenhues" <[email protected]> Sat, 12 Feb 2011 10:31:10 +0000
Newsgroups gmane.comp.sysutils.autoconf.cvs
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Autoconf source repository".

http://git.sv.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=cc2118d83698708c7c0334ad72f2cd03c4f81f0b

The branch, master has been updated
       via  cc2118d83698708c7c0334ad72f2cd03c4f81f0b (commit)
      from  9e71645ffc703f8e3a5e201d7d1b02e390cc1661 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit cc2118d83698708c7c0334ad72f2cd03c4f81f0b
Author: Giulio Paci <[email protected]>
Date:   Sat Feb 12 11:30:32 2011 +0100

    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.
    
    Signed-off-by: Ralf Wildenhues <[email protected]>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog               |    9 +++++++++
 THANKS                  |    1 +
 lib/autoconf/fortran.m4 |   10 ++++++++++
 3 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 1ef7b16..6f0b93d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2011-02-12  Giulio Paci  <[email protected]>  (tiny change)
+	    Ralf Wildenhues  <[email protected]>
+
+	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  <[email protected]>
 
 	* doc/autoconf.texi: Rebuild menus using emacs ^C ^U ^A.
diff --git a/THANKS b/THANKS
index f0638bd..079be66 100644
--- a/THANKS
+++ b/THANKS
@@ -151,6 +151,7 @@ Greg A. Woods               [email protected]
 Greg Schafer                [email protected]
 Gregorio Guidi              ?
 Gregory Giannoni            [email protected]
+Giulio Paci                 [email protected]
 Guido Draheim               [email protected]
 Guido Flohr                 [email protected]
 Guido van Rossum            ?
diff --git a/lib/autoconf/fortran.m4 b/lib/autoconf/fortran.m4
index bed9c96..d5afbb9 100644
--- a/lib/autoconf/fortran.m4
+++ b/lib/autoconf/fortran.m4
@@ -540,6 +540,16 @@ case $ac_[]_AC_LANG_ABBREV[]_v_output in
 	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'` ;;


hooks/post-receive
-- 
GNU Autoconf source repository