Hello, * Jürgen Reuter wrote on Tue, Mar 01, 2011 at 12:24:39PM CET: > as discussed with Peter I send to you a diff (compared to the > 2.4 official version of libtool) to support the NAG Fortran compiler > on Darwin 64bit machines.
> --- libtool.m4 2010-10-01 20:57:54.000000000 +0200 > +++ ../../nag_trunk/m4/libtool.m4 2011-02-28 09:44:50.000000000 +0100 > @@ -1053,7 +1053,7 @@ > _LT_TAGVAR(link_all_deplibs, $1)=yes > _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined" > case $cc_basename in > - ifort*) _lt_dar_can_shared=yes ;; > + ifort*|nagfor*) _lt_dar_can_shared=yes ;; The issue is not new with your patch, but if we can distinguish compilers based on something like '$CC -V' output or similar, then these code bits can reliably keep working even with MPI (or other) wrappers to the compilers. We've moved this way for a couple of other compilers recently. Since this is typically a strict improvement, a patch to add support is fine even without it, but while you're testing anyway, you might be interested to fix it right away. Your choice. Thanks, Ralf