Ben Pfaff <[EMAIL PROTECTED]> writes:
> - -lang* | -lcrt[[01]].o | -lcrtbegin.o | -lc | -lgcc | -libmil | -LANG:=*)
> + -lang* | -lcrt[[012]].o | -lcrtbegin.o | -lc | -lgcc | -libmil | -LANG:=*)
Thanks. We're using the following more-general patch instead.
2004-02-09 Paul Eggert <[EMAIL PROTECTED]>
* lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
Darwin uses -lcrt2.o and there's little point to cataloging all
the system variants. Partial fix reported by Andreas Waechter in:
http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
for bug reported by Nelson H. F. Beebe in:
http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
--- fortran.m4 31 Oct 2003 08:44:47 -0000 1.181
+++ fortran.m4 9 Feb 2004 18:37:57 -0000 1.182
@@ -647,7 +647,7 @@ while test [EMAIL PROTECTED]:@] != 1; do
[_AC_LINKER_OPTION([$ac_arg], ac_cv_[]_AC_LANG_ABBREV[]_libs)])
;;
# Ignore these flags.
- -lang* | -lcrt[[01]].o | -lcrtbegin.o | -lc | -lgcc | -libmil | -LANG:=*)
+ -lang* | -lcrt*.o | -lc | -lgcc | -libmil | -LANG:=*)
;;
-lkernel32)
test x"$CYGWIN" != xyes &&
ac_cv_[]_AC_LANG_ABBREV[]_libs="$ac_cv_[]_AC_LANG_ABBREV[]_libs $ac_arg"
_______________________________________________
Autoconf mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/autoconf