libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: libtool--devo--1.0--patch-214


From: Gary V. Vaughan
Subject: FYI: libtool--devo--1.0--patch-214
Date: Thu, 30 Sep 2004 22:00:05 +0100 (BST)
User-agent: mailnotify/0.3

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Applied to HEAD.

This is just a bit of a hack really, but I want to make sure that
I get to release an alpha this weekend, even if I don't have time
to rewrite the hardcode tests in libtool.m4 by then.

If someone feels inclined to take the code out of demo-hardcode.test,
and implement the same checks in _LT_LINKER_SHLIBS instead of the
nested case statements that guess the values based on $host_os, I'd
be delighted! :-)

Cheers,
        Gary.
- -- 
Gary V. Vaughan      ())_.  address@hidden,gnu.org}
Research Scientist   ( '/   http://tkd.kicks-ass.net
GNU Hacker           / )=   http://www.gnu.org/software/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook
_________________________________________________________
This patch notification generated by tlaapply version 0.5
http://tkd.kicks-ass.net/arch/address@hidden/cvs-utils--tla--1.0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFBXHPVFRMICSmD1gYRAoPCAJ4kaHiIIAESHlVe6/pqAX9yRfKlvwCgsSL1
FwnK4uG+D7HOlxTgRxzejUc=
=OGJT
-----END PGP SIGNATURE-----
* looking for address@hidden/libtool--devo--1.0--patch-213 to compare with
* comparing to address@hidden/libtool--devo--1.0--patch-213
M  ChangeLog
M  TODO
M  m4/libtool.m4

* modified files

Index: Changelog
from  Gary V. Vaughan  <address@hidden>
        * 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.

--- orig/TODO
+++ mod/TODO
@@ -7,9 +7,9 @@
 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.
 


--- orig/m4/libtool.m4
+++ mod/m4/libtool.m4
@@ -3803,25 +3803,28 @@
       ;;
 
     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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]