2004-09-30 Gary V. Vaughan <gary@gnu.org>
+ * m4/libtool.m4 (hardcode_shlibpath_var) [darwin7]: My Panther
+ workstation doesn't hardcode the shared library path, although it
+ used to, so this is more likely a function of the binutils and/or
+ gcc I am using at the moment. The hardcode value setting code for
+ the configure script sucks at the moment though...
+ * (TODO): ...and needs to do a test compile instead of a table
+ lookup before 2.0 final.
+
* m4/libtool.m4 (echo): Use ECHO throughout for consistency with
config/ltmain.in.
Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1.1. libtool
------------
-* Factor common shell preamble and function definitions into a separate
- file and substitute the contents into all of our shell scripts at
- bootstrap, to avoid any synchronisation issues.
+* Rather than looking up the linker's hardcode characteristics in a
+ table of shell code, use objdump or equivalent to probe a test program
+ at configure time.
* Eliminate the warnings from autoconf -Wobsolete.
;;
darwin* | rhapsody*)
- case "$host_os" in
+ case $host_os in
rhapsody* | darwin1.[[012]])
- _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
- ;;
- *) # Darwin 1.3 on
- case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
- 10.[[012]])
- _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
- ;;
+ _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
+ ;;
+ *) # Darwin 1.3 on
+ case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
+ 10.[[012]])
+ _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
+ ;;
10.*)
- _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
- ;;
- esac
- ;;
+ _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
+ ;;
+ esac
+ ;;
esac
_LT_TAGVAR(archive_cmds_need_lc, $1)=no
_LT_TAGVAR(hardcode_direct, $1)=no
_LT_TAGVAR(hardcode_automatic, $1)=yes
- _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
+ case $host_os in
+ darwin7.*) _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;;
+ *) _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported ;;
+ esac
_LT_TAGVAR(whole_archive_flag_spec, $1)=''
_LT_TAGVAR(link_all_deplibs, $1)=yes
if test "$GCC" = yes ; then