From: Paul Eggert Date: Fri, 25 Jul 2003 21:23:10 +0000 (+0000) Subject: (AC_F77_LIBRARY_LDFLAGS): Also ignore -lcrt1.o, for OS X. X-Git-Tag: AUTOCONF-2.57b~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbb2facb8b7714a14cc2166ad5073226c9030152;p=thirdparty%2Fautoconf.git (AC_F77_LIBRARY_LDFLAGS): Also ignore -lcrt1.o, for OS X. --- diff --git a/lib/autoconf/fortran.m4 b/lib/autoconf/fortran.m4 index 5f3c1f8e..44201a77 100644 --- a/lib/autoconf/fortran.m4 +++ b/lib/autoconf/fortran.m4 @@ -487,7 +487,7 @@ while test $[@%:@] != 1; do [_AC_LINKER_OPTION([$ac_arg], ac_cv_flibs)]) ;; # Ignore these flags. - -lang* | -lcrt0.o | -lc | -lgcc | -libmil | -LANG:=*) + -lang* | -lcrt[01].o | -lc | -lgcc | -libmil | -LANG:=*) ;; -lkernel32) test x"$CYGWIN" != xyes && ac_cv_flibs="$ac_cv_flibs $ac_arg"