* lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Also ignore

-lgcc?* and -lSystem, for Darwin/MacOS X.
This commit is contained in:
Paul Eggert 2006-08-24 16:46:20 +00:00
parent 6e0e4d438b
commit b7efbd4332
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2006-08-24 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Also ignore
-lgcc?* and -lSystem, for Darwin/MacOS X. Problem reported by
Bill Northcott in
<http://lists.gnu.org/archive/html/autoconf/2006-08/msg00083.html>.
2006-08-22 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/c.m4 (AC_C_CONST): Don't used shadowed vars, to

View File

@ -662,7 +662,7 @@ while test $[@%:@] != 1; do
[_AC_LINKER_OPTION([$ac_arg], ac_cv_[]_AC_LANG_ABBREV[]_libs)])
;;
# Ignore these flags.
-lang* | -lcrt*.o | -lc | -lgcc | -libmil | -LANG:=* | -LIST:* | -LNO:*)
-lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -LANG:=* | -LIST:* | -LNO:*)
;;
-lkernel32)
test x"$CYGWIN" != xyes && ac_cv_[]_AC_LANG_ABBREV[]_libs="$ac_cv_[]_AC_LANG_ABBREV[]_libs $ac_arg"