From: Paul Eggert Date: Thu, 24 Aug 2006 16:46:20 +0000 (+0000) Subject: * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Also ignore X-Git-Tag: AUTOCONF-2.60a~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7efbd43320a2b96a57d48f419e4087b668993b6;p=thirdparty%2Fautoconf.git * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Also ignore -lgcc?* and -lSystem, for Darwin/MacOS X. --- diff --git a/ChangeLog b/ChangeLog index d46893862..2ce09fed8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2006-08-24 Paul Eggert + + * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Also ignore + -lgcc?* and -lSystem, for Darwin/MacOS X. Problem reported by + Bill Northcott in + . + 2006-08-22 Paul Eggert * lib/autoconf/c.m4 (AC_C_CONST): Don't used shadowed vars, to diff --git a/lib/autoconf/fortran.m4 b/lib/autoconf/fortran.m4 index c4bdc4c46..45ce9ab37 100644 --- a/lib/autoconf/fortran.m4 +++ b/lib/autoconf/fortran.m4 @@ -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"