libtool-patches
[Top][All Lists]
Advanced

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

FYI: libtool--devo--1.0--patch-152


From: Gary V. Vaughan
Subject: FYI: libtool--devo--1.0--patch-152
Date: Wed, 1 Sep 2004 10:49:28 +0100 (BST)
User-agent: mailnotify/0.3

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

Applied to HEAD.
- -- 
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.2 (Darwin)

iD8DBQFBNZsoFRMICSmD1gYRAo5EAKDQjNWrDY3tI1vVyoS3MkMamrbOAgCgnMYq
P2fi8VXA5dbAbABqEfbGFfE=
=2uwJ
-----END PGP SIGNATURE-----
* looking for address@hidden/libtool--devo--1.0--patch-151 to compare with
* comparing to address@hidden/libtool--devo--1.0--patch-151
M  ChangeLog
M  TODO
M  libtoolize.in
M  config/ltmain.in
M  tests/defs
M  HACKING

* modified files

Index: Changelog
from  Gary V. Vaughan  <address@hidden>
        * libtoolize.in, config/ltmain.in: Add CDPATH protection to
        preamble.
        * tests/defs: Put a full m4sh.m4 style 'Be Bourne compatible'
        preamble in here too.
        * HACKING: Note that tests/defs needs synching with m4sh.m4 too.
        * TODO: Add new item.

--- orig/HACKING
+++ mod/HACKING
@@ -131,9 +131,9 @@
 * Update NEWS, ChangeLog.
 
 * Make sure the 'Be Bourne compatible' shell snippet near the top of
-  ./libtoolize.in, ./ltmain.in matches the latest autoconf wisdom by
-  updating to match CVS autoconf AS_SHELL_SANITIZE in autoconf's
-  lib/m4sugar/m4sh.m4.
+  ./libtoolize.in, config/ltmain.in and tests/defs matches the latest
+  autoconf wisdom by updating to match CVS autoconf AS_SHELL_SANITIZE in
+  autoconf's lib/m4sugar/m4sh.m4.
 
 * Run ./bootstrap.
 


--- orig/TODO
+++ mod/TODO
@@ -7,6 +7,10 @@
 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.
+
 * We could have an option to hardcode paths into libraries, as well as
   binaries: `... -Wl,-soname -Wl,/tmp/libtest.so.0 ...'.  This is not
   possible on all platforms, and is in part obviated by the ability of


--- orig/config/ltmain.in
+++ mod/config/ltmain.in
@@ -80,6 +80,10 @@
 fi
 DUALCASE=1; export DUALCASE # for MKS sh
 
+# The HP-UX ksh and POSIX shell print the target directory to stdout
+# if CDPATH is set.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
 dirname="s,/[^/]*$,,"
 basename="s,^.*/,,g"
 


--- orig/libtoolize.in
+++ mod/libtoolize.in
@@ -70,6 +70,10 @@
 fi
 DUALCASE=1; export DUALCASE # for MKS sh
 
+# The HP-UX ksh and POSIX shell print the target directory to stdout
+# if CDPATH is set.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
 : ${CP="cp -f"}
 : ${LN_S="@LN_S@"}
 : ${MKDIR="mkdir"}


--- orig/tests/defs
+++ mod/tests/defs
@@ -3,11 +3,22 @@
 # Gord Matzigkeit <address@hidden>, 1996
 # Gary V. Vaughan <address@hidden>, 2003
 
-# See if we are running on zsh, and set the options which allow our
-# commands through without removal of \ escapes.
-if test -n "${ZSH_VERSION+set}" ; then
+# Be Bourne compatible
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
+  emulate sh
+  NULLCMD=:
+  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
+  # is contrary to our usage.  Disable this feature.
+  alias -g '${1+"$@"}'='"$@"'
   setopt NO_GLOB_SUBST
+elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) 
>/dev/null 2>&1; then
+  set -o posix
 fi
+DUALCASE=1; export DUALCASE # for MKS sh
+
+# The HP-UX ksh and POSIX shell print the target directory to stdout
+# if CDPATH is set.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
 # Check that srcdir is set to an absolute path.
 case "$srcdir" in




reply via email to

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