diff --git a/ChangeLog b/ChangeLog index 30a9b3f7..01a854af 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2010-07-19 Ralf Wildenhues + 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 diff --git a/lib/autoconf/fortran.m4 b/lib/autoconf/fortran.m4 index 32be8a14..0a487ee9 100644 --- a/lib/autoconf/fortran.m4 +++ b/lib/autoconf/fortran.m4 @@ -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"