[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fix for detecting fortran libraries on Darwin
From: |
Paul Eggert |
Subject: |
Re: fix for detecting fortran libraries on Darwin |
Date: |
09 Feb 2004 10:39:26 -0800 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
Thanks for the bug report and patch. I installed this more-generous
fix instead:
2004-02-09 Paul Eggert <address@hidden>
* 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.~1.181.~ Fri Oct 31 00:44:47 2003
+++ fortran.m4 Mon Feb 9 10:28:40 2004
@@ -647,7 +647,7 @@ while test address@hidden:@] != 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"