[SCM] GNU Libtool branch, master, updated. v2.4.2.444-3-g95e1f34

2014-01-02 Thread Gary V. Vaughan
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project GNU Libtool.

The branch, master has been updated
   via  95e1f34f7b1238c2ad3db25c820ded22c93d049f (commit)
  from  581d90bacaec6c20d5a5f776bdcdd9512f724192 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit 95e1f34f7b1238c2ad3db25c820ded22c93d049f
Author: Gary V. Vaughan g...@gnu.org
Date:   Fri Jan 3 13:33:38 2014 +1300

libtoolize: use printf '%s\n' unconditionally.

It's been a year since the as_echo probes were removed in Autoconf,
so we can follow suit and remove our equivalent bs_echo probing
now.  Retain $ECHO in case users need to override default printf
calls in museum piece environments.
* gl/build-aux/funclib.sh (ECHO): Default to 'printf %s\n'.
(bs_echo): Remove.
Adjust all bs_echo callers to use $ECHO instead.
* bootstrap: Regenerate.
* NEWS: Update.

Signed-off-by: Gary V. Vaughan g...@gnu.org

---

Summary of changes:
 NEWS|9 
 bootstrap   |  101 +--
 build-aux/ltmain.in |2 +-
 gl/build-aux/bootstrap.in   |   12 +++---
 gl/build-aux/extract-trace  |   10 ++--
 gl/build-aux/funclib.sh |   65 +--
 gl/build-aux/options-parser |   14 +++---
 7 files changed, 70 insertions(+), 143 deletions(-)

diff --git a/NEWS b/NEWS
index ecb48b1..c8730c7 100644
--- a/NEWS
+++ b/NEWS
@@ -99,10 +99,19 @@ NEWS - list of user-visible changes between releases of GNU 
Libtool
 [m4_define([AC_CONFIG_MACRO_DIRS],
 m4_defn([AC_CONFIG_MACRO_DIR]))])
 
+  - Overhead of probing for a non-backslash crippled echo equivalent
+during initialization of every script has been removed in favor of
+trusting that printf %s\n works out of the box on all non-museum
+host architectures.  Manually setting ECHO appropriately in the
+build environment will be necessary on some ancient architectures.
+
 ** Changes in supported systems or compilers:
 
   - Support for bitrig (*-*-bitrig*).
 
+  - Solaris 7 and earlier requires ECHO=/usr/ucb/echo in the build
+environment, to build and use libtool.
+
 New in 2.4.2 2011-10-17: git version 2.4.1a, Libtool team:
 
 * New features:
diff --git a/bootstrap b/bootstrap
index 18323eb..3c30de8 100755
--- a/bootstrap
+++ b/bootstrap
@@ -163,47 +163,6 @@ func_path_progs ()
 }
 
 
-# There are still modern systems that have problems with 'echo' mis-
-# handling backslashes, among others, so make sure $bs_echo is set to a
-# command that correctly interprets backslashes.
-# (this code from Autoconf 2.68)
-
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-bs_echo='\\\'
-bs_echo=$bs_echo$bs_echo$bs_echo$bs_echo$bs_echo
-bs_echo=$bs_echo$bs_echo$bs_echo$bs_echo$bs_echo$bs_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z $BASH_VERSION$ZSH_VERSION \
- (test X`print -r -- $bs_echo` = X$bs_echo) 2/dev/null; then
-  bs_echo='print -r --'
-  bs_echo_n='print -rn --'
-elif (test X`printf %s $bs_echo` = X$bs_echo) 2/dev/null; then
-  bs_echo='printf %s\n'
-  bs_echo_n='printf %s'
-else
-  if test X`(/usr/ucb/echo -n -n $bs_echo) 2/dev/null` = X-n $bs_echo; 
then
-bs_echo_body='eval /usr/ucb/echo -n $1$nl'
-bs_echo_n='/usr/ucb/echo -n'
-  else
-bs_echo_body='eval expr X$1 : X\\(.*\\)'
-bs_echo_n_body='eval
-  arg=$1;
-  case $arg in #(
-  *$nl*)
-   expr X$arg : X\\(.*\\)$nl;
-   arg=`expr X$arg : .*$nl\\(.*\\)`;;
-  esac;
-  expr X$arg : X\\(.*\\) | tr -d $nl
-'
-export bs_echo_n_body
-bs_echo_n='sh -c $bs_echo_n_body bs_echo'
-  fi
-  export bs_echo_body
-  bs_echo='sh -c $bs_echo_body bs_echo'
-fi
-
-
 # We want to be able to use the functions in this file before configure
 # has figured out where the best binaries are kept, which means we have
 # to search for them ourselves - except when the results are already set
@@ -224,13 +183,13 @@ test -z $SED  {
 _G_path_prog=$1
 
 _G_count=0
-$bs_echo_n 0123456789 conftest.in
+printf 0123456789 conftest.in
 while :
 do
   cat conftest.in conftest.in conftest.tmp
   mv conftest.tmp conftest.in
   cp conftest.in conftest.nl
-  $bs_echo ''  conftest.nl
+  echo ''  conftest.nl
   $_G_path_prog -f conftest.sed conftest.nl conftest.out 2/dev/null 
|| break
   diff conftest.out conftest.nl /dev/null 21 || break
   

[SCM] GNU Libtool branch, master, updated. v2.4.2.444-14-gda59d47

2014-01-02 Thread Gary V. Vaughan
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project GNU Libtool.

The branch, master has been updated
   via  da59d47a448f0a623c7f56632dbe8c3f864a450a (commit)
   via  9ef95183f0ae64d1cdbfeb68d3ad6ce37e6e9b97 (commit)
   via  5b1d8fd0a05f2aec7f67082c9343a9a592910a2c (commit)
  from  9f8717edbcb133d0aa3fa797e56de83432acd941 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit da59d47a448f0a623c7f56632dbe8c3f864a450a
Author: Gary V. Vaughan g...@gnu.org
Date:   Fri Jan 3 20:07:48 2014 +1300

inline-source: gawk doesn't have boolean constants.

I've been writing a lot of Lua lately, but still a silly mistake:(
* gl/build-aux/inline-source (func_include): Use `magic` variable
to count #! lines found, and only output the DO NOT EDIT warning
after the first one.

Signed-off-by: Gary V. Vaughan g...@gnu.org

commit 9ef95183f0ae64d1cdbfeb68d3ad6ce37e6e9b97
Author: Gary V. Vaughan g...@gnu.org
Date:   Fri Jan 3 18:21:40 2014 +1300

edit-readme-alpha: adjust for recent README edits.

* build-aux/edit-readme-alpha: Adjust regexps for recent README
improvements.
* README.md: Fix a SPACE-TAB sanity check failure.

Signed-off-by: Gary V. Vaughan g...@gnu.org

commit 5b1d8fd0a05f2aec7f67082c9343a9a592910a2c
Author: Gary V. Vaughan g...@gnu.org
Date:   Fri Jan 3 18:20:40 2014 +1300

bootstrap: fix test-dollar sanity check failure.

* gl/build-aux/bootstrap.in (func_ensure_README): quote argument.
* bootstrap: Regenerate.

Signed-off-by: Gary V. Vaughan g...@gnu.org

---

Summary of changes:
 README.md   |2 +-
 bootstrap   |6 +++---
 build-aux/edit-readme-alpha |   12 ++--
 gl/build-aux/bootstrap.in   |6 +++---
 gl/build-aux/inline-source  |6 +++---
 5 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/README.md b/README.md
index 96898b4..5e41f2e 100644
--- a/README.md
+++ b/README.md
@@ -120,7 +120,7 @@ that further limiting of the recursive set of tests is 
possible.  For
 example, to run only the template tests within the `max_cmd_len`, use:
 
 gmake check TESTSUITEFLAGS=-v -x -k max_cmd_len \
-   INNER_TESTSUITEFLAGS=',template -v -x'
+INNER_TESTSUITEFLAGS=',template -v -x'
 
 If you wish to report test failures to the libtool list, you need to
 send the file `tests/testsuite.log` to the [bug mailing list][].
diff --git a/bootstrap b/bootstrap
index 44cd0cd..e102622 100755
--- a/bootstrap
+++ b/bootstrap
@@ -3029,17 +3029,17 @@ EOT
 # Without AM_INIT_AUTOMAKE([foreign]), automake will not run to
 # completion with no README file, even though README.md or README.txt
 # is often preferable.
-func_ensure_changelog ()
+func_ensure_README ()
 {
 $debug_cmd
 
 test -f README || {
   _G_README=
   for _G_readme in README.txt README.md README.rst; do
-test -f $_G_readme  break
+test -f $_G_readme  break
   done
 
-  test -f $_G_readme  $LN_S $_G_readme README
+  test -f $_G_readme  $LN_S $_G_readme README
   func_verbose $LN_S $_G_readme README
 }
 
diff --git a/build-aux/edit-readme-alpha b/build-aux/edit-readme-alpha
index 390994a..166584c 100755
--- a/build-aux/edit-readme-alpha
+++ b/build-aux/edit-readme-alpha
@@ -64,12 +64,12 @@ for file in $@; do
 
   # Make sure the paragraph we are matching has not been edited since
   # this script was written.
-  matched=`sed -n -e '/^This is GNU Libtool,/,/^interface\.$/p' $file \
+  matched=`sed -n -e '/^\[GNU Libtool\]\[libtool\] is/,/^consistent, portable 
interface\.$/p' $file \
|wc -l |sed 's|^ *||'`
 
   # Unless, of course, it was edited by this script already.
   test 3 = $matched \
-  || matched=`sed -n -e '/^This is an alpha testing release/,/behind a 
consistent, portable interface\.$/p' $file \
+  || matched=`sed -n -e '/^This is an alpha testing release/,/a 
consistent, portable interface\.$/p' $file \
   |wc -l |sed 's|^ *||'`
 
   test 3 = $matched \
@@ -79,10 +79,10 @@ for file in $@; do
   trap 'x=$?; rm $file.T; exit $x' 1 2 13 15
 
   # Edit the first paragraph to be suitable for an alpha release.
-  sed -e '/^This is GNU Libtool,/,/^interface.$/c\
-This is an alpha testing release of GNU Libtool, a generic library\
-support script.  Libtool hides the complexity of using shared libraries\
-behind a consistent, portable interface.' $file  $file.T
+  sed -n '/^\[GNU Libtool\]\[libtool\] is/,/^consistent, portable 
interface\.$/c\
+This is an alpha testing release of [GNU Libtool][libtool], a generic\
+library support