2010-10-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+ Fix linking from only convenience archives with gfortran on Darwin.
+ * libltdl/m4/libtool.m4 (_LT_DARWIN_LINKER_FEATURES): Update
+ macro comment header.
+ [darwin, F77, FC] <compiler_needs_object>: Set to yes if
+ whole_archive_flag_spec is nonempty. Fixes convenience.at test
+ suite failures with gfortran 4.2 on Darwin.
+ * THANKS: Update.
+ Report by Paul Laight.
+
Fix bindir check logic, and relax non-bindir case for AIX.
* tests/bindir.at (bindir install tests): Rewrite checks for
place of the installed shared library in two separate tests,
Patrick Welche prlw1@newn.cam.ac.uk
Paul Biggar paul.biggar@gmail.com
Paul Eggert eggert@twinsun.com
+ Paul Laight plaight@quantxautomation.co.uk
Peter Eisentraut peter_e@gmx.net
Peter Fritzsche peter.fritzsche@gmx.de
Peter Jeremy peterjeremy@optushome.com.au
])
-# _LT_DARWIN_LINKER_FEATURES
-# --------------------------
+# _LT_DARWIN_LINKER_FEATURES([TAG])
+# ---------------------------------
# Checks for linker and compiler features on darwin
m4_defun([_LT_DARWIN_LINKER_FEATURES],
[
_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
if test "$lt_cv_ld_force_load" = "yes"; then
_LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
+ m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes],
+ [FC], [_LT_TAGVAR(compiler_needs_object, $1)=yes])
else
_LT_TAGVAR(whole_archive_flag_spec, $1)=''
fi