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.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
This commit is contained in:
Ralf Wildenhues 2010-07-19 19:52:44 +02:00
parent d847c5d01b
commit bccd0d35fb
2 changed files with 6 additions and 1 deletions

View File

@ -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

View 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"