Libtool patches
- There is a new version of Libtool. However, it looks like we have to apply the patches we have for the new version too:
-
check what patches in contrib are needed and applicable to version 2.4.7
(and generate corresponding patch files if needed); -
update scripts/reconfigure to cover the case of "$libtoolversion"
in(2.4.7)
, which is what we have for MacPorts-providedlibtool
on MacOs; -
update the monkey-patching in m4/acx_use_libtool_configuration.m4 to cover the new version of Libtool.
-
- There are several things to fix if we ever decide to support NAG on MacOS:
- solve the BSD sed compatibility problem for contrib/06ltmain_nag_pthread-patch/ltmain_nag_pthread.patch (see #6 (closed));
- allow for the configure-time compiler recognition behind the MPI compiler wrappers on MacOS: the current solution covers
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*
but notdarwin* | rhapsody*
; - modify the value of
archive_cmds
in./libtools
:-archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring \$single_module" +archive_cmds="\$CC -Wl,-dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -Wl,-install_name,\`echo \$rpath/\$soname\` \$verstring \$single_module"
\`echo \$rpath/\$soname\`
is to drop the leading whitespace, there might be a better solution though.