autoconf-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Paul Eggert
Subject: [SCM] GNU Autoconf source repository branch, master, updated. v2.68-108-gafd2a0d
Date: Mon, 02 Jan 2012 19:22:53 +0000

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=afd2a0d7f3b88bfb058cd1c389f978acea182744

The branch, master has been updated
       via  afd2a0d7f3b88bfb058cd1c389f978acea182744 (commit)
      from  9663eea509264324e52b5c976d1315ac3347fe70 (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 afd2a0d7f3b88bfb058cd1c389f978acea182744
Author: Paul Eggert <address@hidden>
Date:   Mon Jan 2 11:22:25 2012 -0800

    autoconf: remove " -link" and ")" from xlf output
    
    * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT):
    Also remove " -link" and trailing ")" from xlf output.
    Problem and fix reported by Thomas Jahns in
    <http://lists.gnu.org/archive/html/bug-autoconf/2012-01/msg00000.html>.

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

Summary of changes:
 ChangeLog               |    8 ++++++++
 lib/autoconf/fortran.m4 |   11 +++++++++--
 2 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 0826f00..9ab8068 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2012-01-02  Paul Eggert  <address@hidden>
+
+       autoconf: remove " -link" and ")" from xlf output
+       * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT):
+       Also remove " -link" and trailing ")" from xlf output.
+       Problem and fix reported by Thomas Jahns in
+       <http://lists.gnu.org/archive/html/bug-autoconf/2012-01/msg00000.html>.
+
 2011-12-26  Stefano Lattarini  <address@hidden>
 
        configure: will re-execute with $CONFIG_SHELL, if it's set
diff --git a/lib/autoconf/fortran.m4 b/lib/autoconf/fortran.m4
index e630f27..94eeef6 100644
--- a/lib/autoconf/fortran.m4
+++ b/lib/autoconf/fortran.m4
@@ -528,9 +528,16 @@ ac_[]_AC_LANG_ABBREV[]_v_output="`echo 
$ac_[]_AC_LANG_ABBREV[]_v_output |
 #        that detects unbalanced quotes in FLIBS should be implemented
 #        and (ugh) tested at some point.
 case $ac_[]_AC_LANG_ABBREV[]_v_output in
-  # If we are using xlf then replace all the commas with spaces.
+  # With xlf replace commas with spaces,
+  # and remove "-link" and closing parenthesis.
   *xlfentry*)
-    ac_[]_AC_LANG_ABBREV[]_v_output=`echo $ac_[]_AC_LANG_ABBREV[]_v_output | 
sed 's/,/ /g'` ;;
+    ac_[]_AC_LANG_ABBREV[]_v_output=`echo $ac_[]_AC_LANG_ABBREV[]_v_output |
+      sed '
+        s/,/ /g
+        s/ -link / /g
+        s/) *$//
+      '
+    ` ;;
 
   # With Intel ifc, ignore the quoted -mGLOB_options_string stuff (quoted
   # $LIBS confuse us, and the libraries appear later in the output anyway).


hooks/post-receive
-- 
GNU Autoconf source repository



reply via email to

[Prev in Thread] Current Thread [Next in Thread]