]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Fix AC_FC_LIBRARY_LDFLAGS detection for BlueGene xlf -qipa.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 19 Jul 2010 17:52:44 +0000 (19:52 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 19 Jul 2010 17:52:44 +0000 (19:52 +0200)
* lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
'-link', added spuriously when -qipa is used with the XL
Fortran compilers on BlueGene.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
lib/autoconf/fortran.m4

index 30a9b3f7247fc9d5a911d21a52d0558dfbd1b1e5..01a854af7df086e60604f8b77cbb736d6dfc6e30 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2010-07-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+       Fix AC_FC_LIBRARY_LDFLAGS detection for BlueGene xlf -qipa.
+       * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
+       '-link', added spuriously when -qipa is used with the XL
+       Fortran compilers on BlueGene.
+
        manual: compiler flags -D and -L should not be followed by space
        * doc/autoconf.texi (Preset Output Variables): Remove space
        between -D and -L flags and their arguments, traditional cpp
index 32be8a14b2e6a6959a089c25f8dbab7cf168cfb2..0a487ee9da44c1e932471b80f1527f109947f039 100644 (file)
@@ -638,7 +638,7 @@ while test $[@%:@] != 1; do
          ;;
          # Ignore these flags.
        -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -little \
-         |-LANG:=* | -LIST:* | -LNO:*)
+         |-LANG:=* | -LIST:* | -LNO:* | -link)
          ;;
        -lkernel32)
          test x"$CYGWIN" != xyes && ac_cv_[]_AC_LANG_ABBREV[]_libs="$ac_cv_[]_AC_LANG_ABBREV[]_libs $ac_arg"