[SCM] GNU Libtool branch, master, updated. v2.4.2-336-gcdd7f33

2012-10-25 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  cdd7f33f06e5864fdf0d13731398f5021e285647 (commit)
   via  7bbf8236dd9ba78c6237b6b1989744060f52fe51 (commit)
   via  90152bb184f1ff60ebb510189371a1a06f1c2b4f (commit)
  from  b7679c7c564582cfb8bf8a88436d1cd58d6c384b (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 cdd7f33f06e5864fdf0d13731398f5021e285647
Author: Gary V. Vaughan g...@gnu.org
Date:   Thu Oct 25 14:00:09 2012 +

bootstrap: be sure to register gnulib submodule.

* gl/build-aux/bootstrap.in (require_gnulib_submodule): Register
the gnulib submodule before updating it, even with a shallow
clone of gnulib.
* bootstrap: Regenerate.
Reported by Robert Boehne.

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

commit 7bbf8236dd9ba78c6237b6b1989744060f52fe51
Author: Gary V. Vaughan g...@gnu.org
Date:   Thu Oct 25 13:40:57 2012 +

bootstrap: fix a typo in a find invocation.

* gl/build-aux/bootstrap.in (require_buildreq_patch): Fix a typo.
* bootstrap: Regenerate.

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

commit 90152bb184f1ff60ebb510189371a1a06f1c2b4f
Author: Gary V. Vaughan g...@gnu.org
Date:   Thu Oct 25 12:31:20 2012 +

bootstrap: bash versions 3.00.x do not have += functionality.

* gl/build-aux/funclib.sh: Fix a typo in fork minimisation for
bash versions 3.00.x.
* bootstrap: Regenerate.

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

---

Summary of changes:
 bootstrap |   17 -
 gl/build-aux/bootstrap.in |   15 +++
 gl/build-aux/funclib.sh   |2 +-
 3 files changed, 16 insertions(+), 18 deletions(-)

diff --git a/bootstrap b/bootstrap
index f6dd4e5..d9fc979 100755
--- a/bootstrap
+++ b/bootstrap
@@ -374,7 +374,7 @@ func_require_term_colors ()
 : ${_G_HAVE_XSI_OPS=yes}
 # The += operator was introduced in bash 3.1
 case $BASH_VERSION in
-  [12].* | 3.0 | 3.0.*) ;;
+  [12].* | 3.0 | 3.0*) ;;
   *)
 : ${_G_HAVE_PLUSEQ_OP=yes}
 ;;
@@ -3340,7 +3340,7 @@ func_require_buildreq_patch ()
   # The ugly find invocation is necessary to exit with non-zero
   # status for old find binaries that don't support -exec fully.
   if test ! -d $local_gl_dir \
-  || find $local_gl_dir -name *.diff -exec false {} +; then :
+  || find $local_gl_dir -name *.diff -exec false {} \; ; then :
   else
   func_append buildreq 'patch - http://www.gnu.org/s/patch
 '
@@ -3621,16 +3621,13 @@ func_require_gnulib_submodule ()
   $require_gnulib_url
 
   if test -f .gitmodules  test -f $gnulib_path/gnulib-tool; then
-func_show_eval $GIT submodule update \
-'func_fatal_error Unable to update gnulib submodule.'
+: All present and correct.
 
   elif test -n $opt_gnulib_srcdir; then
 # Older git can't clone into an empty directory.
 rmdir $gnulib_path 2/dev/null
 func_show_eval $GIT clone --reference '$opt_gnulib_srcdir' \
 '$gnulib_url' '$gnulib_path' \
- func_show_eval $GIT submodule init \
- func_show_eval $GIT submodule update \
 || func_fatal_error Unable to fetch gnulib submodule.
 
   # Without --gnulib-srcdir, and no existing checked out submodule, we
@@ -3645,13 +3642,15 @@ func_require_gnulib_submodule ()
 func_show_eval $GIT clone $shallow '$gnulib_url' '$gnulib_path' \
   func_cleanup_gnulib
 
-func_show_eval $GIT submodule update \
-'func_fatal_error Unable to update gnulib submodule.'
-
# FIXME: Solaris /bin/sh will try to execute '-' if any of
#these signals are caught after this.
 trap - 1 2 13 15
   fi
+
+  # Make sure we've checked out the correct revision of gnulib.
+  func_show_eval $GIT submodule init \
+   func_show_eval $GIT submodule update \
+  ||  func_fatal_error Unable to update gnulib submodule.
 fi
 
 require_gnulib_submodule=:
diff --git a/gl/build-aux/bootstrap.in b/gl/build-aux/bootstrap.in
index a0cb11f..7df66b1 100755
--- a/gl/build-aux/bootstrap.in
+++ b/gl/build-aux/bootstrap.in
@@ -1150,7 +1150,7 @@ func_require_buildreq_patch ()
   # The ugly find invocation is necessary to exit with non-zero
   # status for old find binaries that don't support -exec fully.
   if test ! -d $local_gl_dir \
-  || find $local_gl_dir -name *.diff -exec false {} +; then :
+  || find $local_gl_dir -name *.diff -exec 

[SCM] GNU Libtool branch, master, updated. v2.4.2-337-g9f2b41f

2012-10-25 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  9f2b41f6d9a74e9d4e3a3d959da0e81a3f5d7a23 (commit)
  from  cdd7f33f06e5864fdf0d13731398f5021e285647 (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 9f2b41f6d9a74e9d4e3a3d959da0e81a3f5d7a23
Author: Gary V. Vaughan g...@gnu.org
Date:   Thu Oct 25 10:03:05 2012 -0500

bootstrap: use a decent awk if /bin/awk is hopeless.

Bootstrap used to fail without an explicit AWK environment
setting on machines with both nawk and awk, but where awk is a
museum piece.
* gl/build-aux/inline-source (AWK): Remove initial setting.
(require_awk): Search PATH for a gawk, mawk or nawk before
settling on awk, just like configure does.
(func_include): Use it.

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

---

Summary of changes:
 gl/build-aux/inline-source |   45 +--
 1 files changed, 42 insertions(+), 3 deletions(-)

diff --git a/gl/build-aux/inline-source b/gl/build-aux/inline-source
index 058354e..a2241f6 100755
--- a/gl/build-aux/inline-source
+++ b/gl/build-aux/inline-source
@@ -31,9 +31,6 @@ scriptversion=2012-10-11.10; # UTC
 # Please report bugs or propose patches to bug-libt...@gnu.org.
 
 
-: ${AWK=awk}
-
-
 ## -- ##
 ## Usage. ##
 ## -- ##
@@ -69,6 +66,46 @@ func_options ${1+$@}
 eval set dummy $func_options_result; shift
 
 
+##  ##
+## Resource management. ##
+##  ##
+
+# require_AWK
+# ---
+# Search for a not hopeless awk.
+require_AWK=func_require_AWK
+func_require_AWK ()
+{
+$debug_cmd
+
+test -n $AWK || {
+  # Find the first executable in the list.
+  for _G_prog in gawk mawk nawk awk
+  do
+require_AWK_IFS=$IFS
+   IFS=${PATH_SEPARATOR-:}
+   for _G_dir in $PATH
+do
+ IFS=$require_AWK_IFS
+  if test -f $_G_dir/$_G_prog  test -x $_G_dir/$_G_prog
+ then
+   AWK=$_G_dir/$_G_prog
+break 2
+  fi
+done
+   IFS=$require_AWK_IFS
+  done
+}
+
+test -n $AWK || func_fatal_error \
+Please install GNU Awk, or 'export AWK=/path/to/gnu/awk'.
+
+func_verbose found '$AWK'.
+
+require_AWK=:
+}
+
+
 ## --- ##
 ## Core functions. ##
 ## --- ##
@@ -78,6 +115,8 @@ eval set dummy $func_options_result; shift
 # Output the contents of file included by LINE.
 func_include ()
 {
+$require_AWK
+
 test -f $1 \
 || func_fatal_error file '$1' not found
 


hooks/post-receive
-- 
GNU Libtool