]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
(AC_F77_LIBRARY_LDFLAGS): Also ignore -lcrt1.o, for OS X.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 25 Jul 2003 21:23:10 +0000 (21:23 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 25 Jul 2003 21:23:10 +0000 (21:23 +0000)
lib/autoconf/fortran.m4

index 5f3c1f8e0bf5c406cde67c1ce8c0360cb59d2cbe..44201a7784150684aa7fe0ec2096e1aa4a29da70 100644 (file)
@@ -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"