From MAILER-DAEMON Wed Dec 03 14:00:40 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1XwFAF-00030V-Ea
	for mharc-libtool-commit@gnu.org; Wed, 03 Dec 2014 14:00:39 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:36188)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1XwFAB-0002xk-Ki
	for libtool-commit@gnu.org; Wed, 03 Dec 2014 14:00:38 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1XwFA8-0005Pp-PC
	for libtool-commit@gnu.org; Wed, 03 Dec 2014 14:00:35 -0500
Received: from vcs.savannah.gnu.org ([140.186.70.72]:36022)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1XwFA8-0005Pi-M1
	for libtool-commit@gnu.org; Wed, 03 Dec 2014 14:00:32 -0500
Received: from gary by vcs.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1XwFA8-0004ER-0N
	for libtool-commit@gnu.org; Wed, 03 Dec 2014 19:00:32 +0000
Date: Wed, 03 Dec 2014 19:00:32 +0000
Message-Id: <E1XwFA8-0004ER-0N@vcs.savannah.gnu.org>
From: "Gary V. Vaughan" <gary@gnu.org>
To: libtool-commit@gnu.org
Subject: [SCM] GNU Libtool branch, master, updated. v2.4.4-3-gef519e9
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 6cc831405a3b290735739fbe27807414f37ac4bb
X-Git-Newrev: ef519e9eccb47d53857876c1486270b1a6dd89c2
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 140.186.70.72
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Dec 2014 19:00:38 -0000

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  ef519e9eccb47d53857876c1486270b1a6dd89c2 (commit)
       via  f31984b92ad1b31d7e4c964a0949a916371b0a60 (commit)
      from  6cc831405a3b290735739fbe27807414f37ac4bb (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 ef519e9eccb47d53857876c1486270b1a6dd89c2
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Wed Dec 3 18:53:08 2014 +0000

    bootstrap: sync with upstream for runtime M4 checking functions.
    
    * gl/build-aux/extract-trace: Sync with upstream for runtime M4
    checking functions.
    * bootstrap: Regenerate.
    * NEWS: Update.
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>

commit f31984b92ad1b31d7e4c964a0949a916371b0a60
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Wed Dec 3 18:33:57 2014 +0000

    configury: bail out early if GNU M4 is not on the path.
    
    Now that libtoolize requires an installed GNU M4 to parse
    configure.ac and aclocal.m4 sources for libltdl macros, let the
    user know at configure time when it is missing.
    * m4/m4.m4: New file for rejecting non-GNU and buggy GNU versions
    of M4. Copied from GNU Autoconf m4.m4.
    * Makefile.am (lt_aclocal_m4_deps): Add m4/m4.m4.
    * configure.ac (AC_PROG_GNU_M4): Call it.
    * NEWS: Update.
    Reported by Michael Felt
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>

-----------------------------------------------------------------------

Summary of changes:
 Makefile.am                |    1 +
 NEWS                       |   10 +++
 bootstrap                  |  135 +++++++++++++++++++++++++++++++-------------
 configure.ac               |    7 ++
 gl/build-aux/extract-trace |  135 +++++++++++++++++++++++++++++++-------------
 m4/m4.m4                   |   82 ++++++++++++++++++++++++++
 6 files changed, 292 insertions(+), 78 deletions(-)
 create mode 100644 m4/m4.m4

diff --git a/Makefile.am b/Makefile.am
index 60a067e..1fb5e5d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -356,6 +356,7 @@ lt_aclocal_m4_deps = \
 	$(srcdir)/$(macro_dir)/ltdl.m4 \
 	$(srcdir)/$(macro_dir)/ltoptions.m4 \
 	$(srcdir)/$(macro_dir)/ltsugar.m4 \
+	$(srcdir)/$(macro_dir)/m4.m4 \
 	$(srcdir)/$(ltdl_dir)/configure.ac
 
 lt_configure_deps = $(lt_aclocal_m4) $(lt_aclocal_m4_deps)
diff --git a/NEWS b/NEWS
index 1112312..280ab4c 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,16 @@ NEWS - list of user-visible changes between releases of GNU Libtool
 
 * Noteworthy changes in release ?.? (????-??-??) [?]
 
+** New features:
+
+  - Libtoolize searches for the best available M4 on the user PATH at
+    runtime, rather than settling for the first one found.
+
+** Bug fixes:
+
+  - Bail out at configure time if the installed M4 is not sufficient
+    for the purposes of libtoolize.
+
 
 * Noteworthy changes in release 2.4.4 (2014-11-29) [stable]
 
diff --git a/bootstrap b/bootstrap
index 45d41ec..a6ffd54 100755
--- a/bootstrap
+++ b/bootstrap
@@ -2155,7 +2155,7 @@ test -z "$progpath" && . `echo "$0" |${SED-sed} 's|[^/]*$||'`/funclib.sh
 test extract-trace = "$progname" && . `echo "$0" |${SED-sed} 's|[^/]*$||'`/options-parser
 
 # Set a version string.
-scriptversion=2014-01-04.01; # UTC
+scriptversion=2014-12-03.16; # UTC
 
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -2224,6 +2224,68 @@ func_autoconf_configure ()
 }
 
 
+# func_tool_version_output CMD [FATAL-ERROR-MSG]
+# ----------------------------------------------
+# Attempt to run 'CMD --version', discarding errors.  The output can be
+# ignored by redirecting stdout, and this function used simply to test
+# whether the command exists and exits normally when passed a
+# '--version' argument.
+# When FATAL-ERROR-MSG is given, then this function will display the
+# message and exit if running 'CMD --version' returns a non-zero exit
+# status.
+func_tool_version_output ()
+{
+    $debug_cmd
+
+    _G_cmd=$1
+    _G_fatal_error_msg=$2
+
+    # Some tools, like 'git2cl' produce thousands of lines of output
+    # unless stdin is /dev/null - in that case we want to return
+    # successfully without saving all of that output.  Other tools,
+    # such as 'help2man' exit with a non-zero status when stdin comes
+    # from /dev/null, so we re-execute without /dev/null if that
+    # happens.  This means that occasionally, the output from both calls
+    # ends up in the result, but the alternative would be to discard the
+    # output from one call, and hope the other produces something useful.
+    { $_G_cmd --version </dev/null || $_G_cmd --version; } 2>/dev/null
+    _G_status=$?
+
+    test 0 -ne "$_G_status" && test -n "$_G_fatal_error_msg" \
+        && func_fatal_error "$_G_fatal_error_msg"
+
+    (exit $_G_status)
+}
+
+
+# func_tool_version_number CMD [FATAL-ERROR-MSG]
+# ----------------------------------------------
+# Pass arguments to func_tool_version_output, but set
+# $func_tool_version_number_result to the last dot delimited digit string
+# on the first line of output.
+func_tool_version_number ()
+{
+    $debug_cmd
+
+    _G_verout=`func_tool_version_output "$@" |sed 1q`
+    _G_status=$?
+
+    # A version number starts with a digit following a space on the first
+    # line of output from `--version`.
+    if test -n "$_G_verout"; then
+      _G_vernum=`expr "$_G_verout" : '.* \([0-9][^ ]*\)'`
+    fi
+
+    if test -n "$_G_vernum"; then
+      printf '%s\n' "$_G_vernum"
+    else
+      printf '%s\n' "$_G_verout"
+    fi
+
+    (exit $_G_status)
+}
+
+
 # func_find_tool ENVVAR NAMES...
 # ------------------------------
 # Search for a required program.  Use the value of ENVVAR, if set,
@@ -2241,16 +2303,44 @@ func_find_tool ()
     if test -n "$_G_find_tool_res"; then
       _G_find_tool_error_prefix="\$$find_tool_envvar: "
     else
+      _G_find_tool_res=
+      _G_bestver=
       for _G_prog
       do
-        if func_tool_version_output $_G_prog >/dev/null; then
-          _G_find_tool_res=$_G_prog
-          break
-        fi
+        _G_find_tool_save_IFS=$IFS
+	IFS=:
+	for _G_dir in $PATH; do
+	  IFS=$_G_find_tool_save_IFS
+	  _G_progpath=$_G_dir/$_G_prog
+          test -r $_G_progpath && {
+            _G_curver=`func_tool_version_number $_G_progpath`
+	    case $_G_bestver,$_G_curver in
+	    ,)
+	      # first non--version responsive prog sticks!
+              test -n "$_G_progpath" || _G_find_tool_res=$_G_progpath
+              ;;
+            ,*)
+	      # first --version responsive prog beats non--version responsive!
+	      _G_find_tool_res=$_G_progpath
+	      _G_bestver=$_G_curver
+	      ;;
+	    *,*)
+	      # another --version responsive prog must be newer to beat previous one!
+	      test "x$_G_curver" = "x$_G_bestver" \
+		|| func_lt_ver "$_G_curver" "$_G_bestver" \
+		|| {
+		     _G_find_tool_res=$_G_progpath
+		     _G_bestver=$_G_curver
+	           }
+	      ;;
+	    esac
+          }
+	done
+	IFS=$_G_find_tool_save_IFS
       done
     fi
     if test -n "$_G_find_tool_res"; then
-      func_tool_version_output >/dev/null $_G_find_tool_res "\
+      func_tool_version_number >/dev/null $_G_find_tool_res "\
 ${_G_find_tool_error_prefix}Cannot run '$_G_find_tool_res --version'"
 
       # Make sure the result is exported to the environment for children
@@ -2265,39 +2355,6 @@ One of these is required:
 }
 
 
-# func_tool_version_output CMD [FATAL-ERROR-MSG]
-# ----------------------------------------------
-# Attempt to run 'CMD --version', discarding errors.  The output can be
-# ignored by redirecting stdout, and this function used simply to test
-# whether the command exists and exits normally when passed a
-# '--version' argument.
-# When FATAL-ERROR-MSG is given, then this function will display the
-# message and exit if running 'CMD --version' returns a non-zero exit
-# status.
-func_tool_version_output ()
-{
-    $debug_cmd
-
-    _G_cmd=$1
-    _G_fatal_error_msg=$2
-
-    # Some tools, like 'git2cl' produce thousands of lines of output
-    # unless stdin is /dev/null - in that case we want to return
-    # successfully without saving all of that output.  Other tools,
-    # such as 'help2man' exit with a non-zero status when stdin comes
-    # from /dev/null, so we re-execute without /dev/null if that
-    # happens.  This means that occasionally, the output from both calls
-    # ends up in the result, but the alternative would be to discard the
-    # output from one call, and hope the other produces something useful.
-    { $_G_cmd --version </dev/null || $_G_cmd --version; } 2>/dev/null
-    _G_status=$?
-
-    test 0 -ne "$_G_status" && test -n "$_G_fatal_error_msg" \
-        && func_fatal_error "$_G_fatal_error_msg"
-
-    (exit $_G_status)
-}
-
 
 ## -------------------- ##
 ## Resource management. ##
diff --git a/configure.ac b/configure.ac
index 77a0f66..630185a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -81,6 +81,13 @@ AS_BOX([Configuring AC_PACKAGE_TARNAME AC_PACKAGE_VERSION])
 echo
 
 
+## ------------ ##
+## Shell tools. ##
+## ------------ ##
+
+AC_PROG_GNU_M4
+
+
 ## ------------------------ ##
 ## Automake Initialisation. ##
 ## ------------------------ ##
diff --git a/gl/build-aux/extract-trace b/gl/build-aux/extract-trace
index 41a7b8b..14b0f0a 100755
--- a/gl/build-aux/extract-trace
+++ b/gl/build-aux/extract-trace
@@ -12,7 +12,7 @@ test -z "$progpath" && . `echo "$0" |${SED-sed} 's|[^/]*$||'`/funclib.sh
 test extract-trace = "$progname" && . `echo "$0" |${SED-sed} 's|[^/]*$||'`/options-parser
 
 # Set a version string.
-scriptversion=2014-01-04.01; # UTC
+scriptversion=2014-12-03.16; # UTC
 
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -81,6 +81,68 @@ func_autoconf_configure ()
 }
 
 
+# func_tool_version_output CMD [FATAL-ERROR-MSG]
+# ----------------------------------------------
+# Attempt to run 'CMD --version', discarding errors.  The output can be
+# ignored by redirecting stdout, and this function used simply to test
+# whether the command exists and exits normally when passed a
+# '--version' argument.
+# When FATAL-ERROR-MSG is given, then this function will display the
+# message and exit if running 'CMD --version' returns a non-zero exit
+# status.
+func_tool_version_output ()
+{
+    $debug_cmd
+
+    _G_cmd=$1
+    _G_fatal_error_msg=$2
+
+    # Some tools, like 'git2cl' produce thousands of lines of output
+    # unless stdin is /dev/null - in that case we want to return
+    # successfully without saving all of that output.  Other tools,
+    # such as 'help2man' exit with a non-zero status when stdin comes
+    # from /dev/null, so we re-execute without /dev/null if that
+    # happens.  This means that occasionally, the output from both calls
+    # ends up in the result, but the alternative would be to discard the
+    # output from one call, and hope the other produces something useful.
+    { $_G_cmd --version </dev/null || $_G_cmd --version; } 2>/dev/null
+    _G_status=$?
+
+    test 0 -ne "$_G_status" && test -n "$_G_fatal_error_msg" \
+        && func_fatal_error "$_G_fatal_error_msg"
+
+    (exit $_G_status)
+}
+
+
+# func_tool_version_number CMD [FATAL-ERROR-MSG]
+# ----------------------------------------------
+# Pass arguments to func_tool_version_output, but set
+# $func_tool_version_number_result to the last dot delimited digit string
+# on the first line of output.
+func_tool_version_number ()
+{
+    $debug_cmd
+
+    _G_verout=`func_tool_version_output "$@" |sed 1q`
+    _G_status=$?
+
+    # A version number starts with a digit following a space on the first
+    # line of output from `--version`.
+    if test -n "$_G_verout"; then
+      _G_vernum=`expr "$_G_verout" : '.* \([0-9][^ ]*\)'`
+    fi
+
+    if test -n "$_G_vernum"; then
+      printf '%s\n' "$_G_vernum"
+    else
+      printf '%s\n' "$_G_verout"
+    fi
+
+    (exit $_G_status)
+}
+
+
 # func_find_tool ENVVAR NAMES...
 # ------------------------------
 # Search for a required program.  Use the value of ENVVAR, if set,
@@ -98,16 +160,44 @@ func_find_tool ()
     if test -n "$_G_find_tool_res"; then
       _G_find_tool_error_prefix="\$$find_tool_envvar: "
     else
+      _G_find_tool_res=
+      _G_bestver=
       for _G_prog
       do
-        if func_tool_version_output $_G_prog >/dev/null; then
-          _G_find_tool_res=$_G_prog
-          break
-        fi
+        _G_find_tool_save_IFS=$IFS
+	IFS=:
+	for _G_dir in $PATH; do
+	  IFS=$_G_find_tool_save_IFS
+	  _G_progpath=$_G_dir/$_G_prog
+          test -r $_G_progpath && {
+            _G_curver=`func_tool_version_number $_G_progpath`
+	    case $_G_bestver,$_G_curver in
+	    ,)
+	      # first non--version responsive prog sticks!
+              test -n "$_G_progpath" || _G_find_tool_res=$_G_progpath
+              ;;
+            ,*)
+	      # first --version responsive prog beats non--version responsive!
+	      _G_find_tool_res=$_G_progpath
+	      _G_bestver=$_G_curver
+	      ;;
+	    *,*)
+	      # another --version responsive prog must be newer to beat previous one!
+	      test "x$_G_curver" = "x$_G_bestver" \
+		|| func_lt_ver "$_G_curver" "$_G_bestver" \
+		|| {
+		     _G_find_tool_res=$_G_progpath
+		     _G_bestver=$_G_curver
+	           }
+	      ;;
+	    esac
+          }
+	done
+	IFS=$_G_find_tool_save_IFS
       done
     fi
     if test -n "$_G_find_tool_res"; then
-      func_tool_version_output >/dev/null $_G_find_tool_res "\
+      func_tool_version_number >/dev/null $_G_find_tool_res "\
 ${_G_find_tool_error_prefix}Cannot run '$_G_find_tool_res --version'"
 
       # Make sure the result is exported to the environment for children
@@ -122,39 +212,6 @@ One of these is required:
 }
 
 
-# func_tool_version_output CMD [FATAL-ERROR-MSG]
-# ----------------------------------------------
-# Attempt to run 'CMD --version', discarding errors.  The output can be
-# ignored by redirecting stdout, and this function used simply to test
-# whether the command exists and exits normally when passed a
-# '--version' argument.
-# When FATAL-ERROR-MSG is given, then this function will display the
-# message and exit if running 'CMD --version' returns a non-zero exit
-# status.
-func_tool_version_output ()
-{
-    $debug_cmd
-
-    _G_cmd=$1
-    _G_fatal_error_msg=$2
-
-    # Some tools, like 'git2cl' produce thousands of lines of output
-    # unless stdin is /dev/null - in that case we want to return
-    # successfully without saving all of that output.  Other tools,
-    # such as 'help2man' exit with a non-zero status when stdin comes
-    # from /dev/null, so we re-execute without /dev/null if that
-    # happens.  This means that occasionally, the output from both calls
-    # ends up in the result, but the alternative would be to discard the
-    # output from one call, and hope the other produces something useful.
-    { $_G_cmd --version </dev/null || $_G_cmd --version; } 2>/dev/null
-    _G_status=$?
-
-    test 0 -ne "$_G_status" && test -n "$_G_fatal_error_msg" \
-        && func_fatal_error "$_G_fatal_error_msg"
-
-    (exit $_G_status)
-}
-
 
 ## -------------------- ##
 ## Resource management. ##
diff --git a/m4/m4.m4 b/m4/m4.m4
new file mode 100644
index 0000000..80bd42c
--- /dev/null
+++ b/m4/m4.m4
@@ -0,0 +1,82 @@
+# m4.m4 serial 12
+
+# Copyright (C) 2000, 2006-2014 Free Software Foundation, Inc.
+
+# Copying and distribution of this file, with or without modification,
+# are permitted in any medium without royalty provided the copyright
+# notice and this notice are preserved.  This file is offered as-is,
+# without warranty of any kind.
+
+# AC_PROG_GNU_M4
+# --------------
+# Check for GNU M4, at least 1.4.6 (all earlier versions had bugs in
+# trace support and regexp support):
+# http://lists.gnu.org/archive/html/bug-gnu-utils/2006-11/msg00096.html
+# http://lists.gnu.org/archive/html/bug-autoconf/2009-07/msg00023.html
+# Also, check whether --error-output (through 1.4.x) or --debugfile (2.0)
+# is supported, and AC_SUBST M4_DEBUGFILE accordingly.
+# Also avoid versions of m4 that trigger strstr bugs.
+AC_DEFUN([AC_PROG_GNU_M4],
+  [AC_ARG_VAR([M4], [Location of GNU M4 1.4.6 or later.  Defaults to the first
+    program of 'm4', 'gm4', or 'gnum4' on PATH that meets Autoconf needs.])
+  AC_CACHE_CHECK([for GNU M4 that supports accurate traces], [ac_cv_path_M4],
+    [rm -f conftest.m4f
+ac_had_posixly_correct=${POSIXLY_CORRECT:+yes}
+AS_UNSET([POSIXLY_CORRECT])
+AC_PATH_PROGS_FEATURE_CHECK([M4], [m4 gm4 gnum4],
+      [dnl Creative quoting here to avoid raw dnl and ifdef in configure.
+      # Root out GNU M4 1.4.5, as well as non-GNU m4 that ignore -t, -F.
+      # Root out GNU M4 1.4.15 with buggy false negative replacement strstr.
+      # Root out Glibc 2.9 - 2.12 and GNU M4 1.4.11 - 1.4.15 with buggy
+      # false positive strstr.
+      ac_snippet=change'quote(<,>)in''dir(<if''def>,mac,bug)'
+      ac_snippet=${ac_snippet}pat'subst(a,\(b\)\|\(a\),\1)d'nl
+      ac_snippet=${ac_snippet}${as_nl}if'else(in''dex(..wi.d.,.d.),-1,bug)'
+      ac_snippet=${ac_snippet}${as_nl}if'else(in''dex(dnl
+;:11-:12-:12-:12-:12-:12-:12-:12-:12.:12.:12.:12.:12.:12.:12.:12.:12-,dnl
+:12-:12-:12-:12-:12-:12-:12-:12-),-1,,strstr-bug2)'
+      test -z "`$ac_path_M4 -F conftest.m4f </dev/null 2>&1`" \
+      && test -z "`AS_ECHO([$ac_snippet]) | $ac_path_M4 --trace=mac 2>&1`" \
+      && test -f conftest.m4f \
+      && ac_cv_path_M4=$ac_path_M4 ac_path_M4_found=:
+      rm -f conftest.m4f],
+      [AC_MSG_ERROR([no acceptable m4 could be found in \$PATH.
+GNU M4 1.4.6 or later is required; 1.4.16 or newer is recommended.
+GNU M4 1.4.15 uses a buggy replacement strstr on some systems.
+Glibc 2.9 - 2.12 and GNU M4 1.4.11 - 1.4.15 have another strstr bug.])])])
+  M4=$ac_cv_path_M4
+  AC_CACHE_CHECK([whether $ac_cv_path_M4 accepts --gnu],
+    [ac_cv_prog_gnu_m4_gnu],
+    [case `$M4 --help < /dev/null 2>&1` in
+      *--gnu*) ac_cv_prog_gnu_m4_gnu=yes ;;
+      *) ac_cv_prog_gnu_m4_gnu=no ;;
+    esac])
+  if test "$ac_cv_prog_gnu_m4_gnu" = yes; then
+    M4_GNU=--gnu
+  else
+    M4_GNU=
+  fi
+  AC_SUBST([M4_GNU])
+  if test x$ac_had_posixly_correct = xyes; then
+    POSIXLY_CORRECT=:
+    if test $ac_cv_prog_gnu_m4_gnu = no; then
+      AC_MSG_WARN([the version of M4 that was found does not support -g])
+      AC_MSG_WARN([using it with POSIXLY_CORRECT set may cause problems])
+    fi
+  fi
+  AC_CACHE_CHECK([how m4 supports trace files], [ac_cv_prog_gnu_m4_debugfile],
+    [case `$M4 --help < /dev/null 2>&1` in
+      *debugfile*) ac_cv_prog_gnu_m4_debugfile=--debugfile ;;
+      *) ac_cv_prog_gnu_m4_debugfile=--error-output ;;
+    esac])
+  AC_SUBST([M4_DEBUGFILE], [$ac_cv_prog_gnu_m4_debugfile])
+])
+
+# Compatibility for bootstrapping with Autoconf 2.61.
+dnl FIXME - replace this with AC_PREREQ([2.62]) after the release.
+# AC_PATH_PROGS_FEATURE_CHECK was added the same time the slightly broken,
+# undocumented _AC_PATH_PROG_FEATURE_CHECK was deleted.
+m4_ifndef([AC_PATH_PROGS_FEATURE_CHECK],
+  [m4_define([AC_PATH_PROGS_FEATURE_CHECK],
+    [_AC_PATH_PROG_FEATURE_CHECK([$1], [$2], [$3], [$5])
+])])


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Thu Dec 04 08:52:17 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1XwWpN-0008CH-II
	for mharc-libtool-commit@gnu.org; Thu, 04 Dec 2014 08:52:17 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:52673)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1XwWpL-0008Bj-6B
	for libtool-commit@gnu.org; Thu, 04 Dec 2014 08:52:16 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1XwWpG-0006wb-65
	for libtool-commit@gnu.org; Thu, 04 Dec 2014 08:52:15 -0500
Received: from vcs.savannah.gnu.org ([140.186.70.72]:45474)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1XwWpG-0006wX-37
	for libtool-commit@gnu.org; Thu, 04 Dec 2014 08:52:10 -0500
Received: from gary by vcs.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1XwWpE-00085l-Uq
	for libtool-commit@gnu.org; Thu, 04 Dec 2014 13:52:09 +0000
Date: Thu, 04 Dec 2014 13:52:08 +0000
Message-Id: <E1XwWpE-00085l-Uq@vcs.savannah.gnu.org>
From: "Gary V. Vaughan" <gary@gnu.org>
To: libtool-commit@gnu.org
Subject: [SCM] GNU Libtool branch, master, updated. v2.4.4-4-g218bf6f
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: ef519e9eccb47d53857876c1486270b1a6dd89c2
X-Git-Newrev: 218bf6f4c2ed02ee13293b2100238008ef225405
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 140.186.70.72
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Dec 2014 13:52:16 -0000

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  218bf6f4c2ed02ee13293b2100238008ef225405 (commit)
      from  ef519e9eccb47d53857876c1486270b1a6dd89c2 (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 218bf6f4c2ed02ee13293b2100238008ef225405
Author: Tijl Coosemans <tijl@FreeBSD.org>
Date:   Thu Dec 4 13:47:06 2014 +0000

    libtool: commit forgotten soname_spec for freebsd-elf in bb7cef9.
    
    * m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) <freebsd-elf>: Set
    soname_spec correctly, per original patch.
    * NEWS: Update.
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>

-----------------------------------------------------------------------

Summary of changes:
 NEWS          |    3 +++
 m4/libtool.m4 |    1 +
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/NEWS b/NEWS
index 280ab4c..5eab046 100644
--- a/NEWS
+++ b/NEWS
@@ -12,6 +12,9 @@ NEWS - list of user-visible changes between releases of GNU Libtool
   - Bail out at configure time if the installed M4 is not sufficient
     for the purposes of libtoolize.
 
+  - freebsd-elf library versioning was upgraded incorrectly in 2.4.4,
+    but now works properly again.
+
 
 * Noteworthy changes in release 2.4.4 (2014-11-29) [stable]
 
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index 9c089e0..f584ca4 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -2594,6 +2594,7 @@ freebsd* | dragonfly*)
   case $version_type in
     freebsd-elf*)
       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+      soname_spec='$libname$release$shared_ext$major'
       need_version=no
       need_lib_prefix=no
       ;;


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Thu Dec 04 10:27:29 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1XwYJV-0007XY-Cy
	for mharc-libtool-commit@gnu.org; Thu, 04 Dec 2014 10:27:29 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:48610)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1XwYJS-0007WS-8b
	for libtool-commit@gnu.org; Thu, 04 Dec 2014 10:27:27 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1XwYJR-0005nB-3X
	for libtool-commit@gnu.org; Thu, 04 Dec 2014 10:27:26 -0500
Received: from vcs.savannah.gnu.org ([140.186.70.72]:46406)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1XwYJQ-0005n2-Sn
	for libtool-commit@gnu.org; Thu, 04 Dec 2014 10:27:25 -0500
Received: from gary by vcs.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1XwYJQ-0007UW-17
	for libtool-commit@gnu.org; Thu, 04 Dec 2014 15:27:24 +0000
Date: Thu, 04 Dec 2014 15:27:24 +0000
Message-Id: <E1XwYJQ-0007UW-17@vcs.savannah.gnu.org>
From: "Gary V. Vaughan" <gary@gnu.org>
To: libtool-commit@gnu.org
Subject: [SCM] GNU Libtool branch, master, updated. v2.4.4-5-g57a78dd
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 218bf6f4c2ed02ee13293b2100238008ef225405
X-Git-Newrev: 57a78dd5310fda320c51657f09e13a985961ef85
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 140.186.70.72
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Dec 2014 15:27:27 -0000

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  57a78dd5310fda320c51657f09e13a985961ef85 (commit)
      from  218bf6f4c2ed02ee13293b2100238008ef225405 (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 57a78dd5310fda320c51657f09e13a985961ef85
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Thu Dec 4 14:38:01 2014 +0000

    libltdl: edit AM_CPPFLAGS correctly for libltdl/Makefile.am.
    
    * libltdl/ltdl.mk (AM_CPPFLAGS): Make sure the sed expression to
    remove the first libltdl/ on each line is not confused by misuse
    of linebreaks.
    * Makefile.am (lt_Makefile_am): Also edit out the duplicated
    include paths after libltdl/ elimination.
    * NEWS: Update.
    Reported by Michael Wobst
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>

-----------------------------------------------------------------------

Summary of changes:
 Makefile.am     |    1 +
 NEWS            |    3 +++
 libltdl/ltdl.mk |    6 +++---
 3 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 1fb5e5d..f1b7ead 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -191,6 +191,7 @@ $(lt_Makefile_am): $(ltdl_mk)
 	  '$(SED)' -n '/^.. DO NOT REMOVE THIS LINE -- /,$$p' \
 	      '$(ltdl_mk)' \
 	    |'$(SED)' -e 's|libltdl_||; s|libltdl/||; s|: libltdl/|: |' \
+	      -e '/^[	 ]*-I\$$(srcdir)\/libltdl -Ilibltdl \\/d' \
 	      -e 's|\$$(libltdl_|$$(|' \
 	) |'$(SED)' -e '/^.. DO NOT REMOVE THIS LINE -- /d' \
 	      -e '1s,^\(.. Makefile.\)inc.*,\1am -- Process this file with automake to produce Makefile.in,' > '$@'
diff --git a/NEWS b/NEWS
index 5eab046..4f5c3f3 100644
--- a/NEWS
+++ b/NEWS
@@ -15,6 +15,9 @@ NEWS - list of user-visible changes between releases of GNU Libtool
   - freebsd-elf library versioning was upgraded incorrectly in 2.4.4,
     but now works properly again.
 
+  - Fix a 2.4.4 regression so that libltdl subprojects do not warn
+    about missing libltdl/libltdl directory as in prior releases.
+
 
 * Noteworthy changes in release 2.4.4 (2014-11-29) [stable]
 
diff --git a/libltdl/ltdl.mk b/libltdl/ltdl.mk
index 4d32de9..6ce3c40 100644
--- a/libltdl/ltdl.mk
+++ b/libltdl/ltdl.mk
@@ -34,9 +34,9 @@
 # -I$(srcdir) is needed for user that built libltdl with a sub-Automake
 # (not as a sub-package!) using 'nostdinc':
 AM_CPPFLAGS	       += -DLT_CONFIG_H='<$(LT_CONFIG_H)>' \
-			  -DLTDL -I. -I$(srcdir) \
-			  -Ilibltdl  -I$(srcdir)/libltdl \
-			  -Ilibltdl/libltdl -I$(srcdir)/libltdl/libltdl
+			  -DLTDL -I. -I$(srcdir) -Ilibltdl \
+			  -I$(srcdir)/libltdl -Ilibltdl/libltdl \
+			  -I$(srcdir)/libltdl/libltdl
 AM_LDFLAGS	       += -no-undefined
 LTDL_VERSION_INFO	= -version-info 10:1:3
 


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Thu Dec 04 11:26:23 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1XwZEV-0007IX-SQ
	for mharc-libtool-commit@gnu.org; Thu, 04 Dec 2014 11:26:23 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:33577)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1XwZES-0007FO-NH
	for libtool-commit@gnu.org; Thu, 04 Dec 2014 11:26:21 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1XwZEN-0001Mv-Fa
	for libtool-commit@gnu.org; Thu, 04 Dec 2014 11:26:20 -0500
Received: from vcs.savannah.gnu.org ([140.186.70.72]:47016)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1XwZEN-0001Mq-B1
	for libtool-commit@gnu.org; Thu, 04 Dec 2014 11:26:15 -0500
Received: from gary by vcs.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1XwZEM-00007C-Fp
	for libtool-commit@gnu.org; Thu, 04 Dec 2014 16:26:14 +0000
Date: Thu, 04 Dec 2014 16:26:14 +0000
Message-Id: <E1XwZEM-00007C-Fp@vcs.savannah.gnu.org>
From: "Gary V. Vaughan" <gary@gnu.org>
To: libtool-commit@gnu.org
Subject: [SCM] GNU Libtool branch, master, updated. v2.4.4-6-gfacce81
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 57a78dd5310fda320c51657f09e13a985961ef85
X-Git-Newrev: facce819e1d637bafe24301c1404f09c7e17fe63
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 140.186.70.72
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Dec 2014 16:26:21 -0000

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  facce819e1d637bafe24301c1404f09c7e17fe63 (commit)
      from  57a78dd5310fda320c51657f09e13a985961ef85 (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 facce819e1d637bafe24301c1404f09c7e17fe63
Author: Norihiro Tanaka <noritnk@kcn.ne.jp>
Date:   Thu Dec 4 15:39:14 2014 +0000

    libtool: fix sys_lib_dlsearch_path_spec for ia64 HP-UX.
    
    The run-time loader does not search /usr/local or subdirectories
    by default on ia64 HP-UX.
    * m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER): Fix
    sys_lib_dlsearch_path_spec for ia64 HP-UX.
    * NEWS: Update.
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>

-----------------------------------------------------------------------

Summary of changes:
 NEWS          |    6 ++++++
 m4/libtool.m4 |    3 ++-
 2 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/NEWS b/NEWS
index 4f5c3f3..be3c7f4 100644
--- a/NEWS
+++ b/NEWS
@@ -18,6 +18,12 @@ NEWS - list of user-visible changes between releases of GNU Libtool
   - Fix a 2.4.4 regression so that libltdl subprojects do not warn
     about missing libltdl/libltdl directory as in prior releases.
 
+** Changes in supported systems or compilers:
+
+  - /usr/local prefixed rpaths are now added to the link-line on
+    ia64-hp-hpux*, because the default system runtime loader path does
+    not contain them.
+
 
 * Noteworthy changes in release 2.4.4 (2014-11-29) [stable]
 
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index f584ca4..2bbf01b 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -2654,10 +2654,11 @@ hpux9* | hpux10* | hpux11*)
     soname_spec='$libname$release$shared_ext$major'
     if test 32 = "$HPUX_IA64_MODE"; then
       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
+      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
     else
       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
+      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
     fi
-    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
     ;;
   hppa*64*)
     shrext_cmds='.sl'


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Thu Dec 04 12:09:29 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1XwZuD-00056l-3z
	for mharc-libtool-commit@gnu.org; Thu, 04 Dec 2014 12:09:29 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:44121)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1XwZuB-00055K-0a
	for libtool-commit@gnu.org; Thu, 04 Dec 2014 12:09:27 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1XwZu9-0007Lt-Qu
	for libtool-commit@gnu.org; Thu, 04 Dec 2014 12:09:26 -0500
Received: from vcs.savannah.gnu.org ([140.186.70.72]:47474)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1XwZu9-0007Lp-NX
	for libtool-commit@gnu.org; Thu, 04 Dec 2014 12:09:25 -0500
Received: from gary by vcs.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1XwZu8-0006Qw-Or
	for libtool-commit@gnu.org; Thu, 04 Dec 2014 17:09:25 +0000
Date: Thu, 04 Dec 2014 17:09:24 +0000
Message-Id: <E1XwZu8-0006Qw-Or@vcs.savannah.gnu.org>
From: "Gary V. Vaughan" <gary@gnu.org>
To: libtool-commit@gnu.org
Subject: [SCM] GNU Libtool branch, master, updated. v2.4.4-7-g89049b7
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: facce819e1d637bafe24301c1404f09c7e17fe63
X-Git-Newrev: 89049b76cfcfc048dccfdab1ec8a0e233d97e8ce
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 140.186.70.72
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Dec 2014 17:09:28 -0000

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  89049b76cfcfc048dccfdab1ec8a0e233d97e8ce (commit)
      from  facce819e1d637bafe24301c1404f09c7e17fe63 (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 89049b76cfcfc048dccfdab1ec8a0e233d97e8ce
Author: Eric Bavier <bavier@cray.com>
Date:   Thu Dec 4 16:34:17 2014 +0000

    tests: do not assume compiler prefers shared libraries.
    
    Testing whether -static-libtool-libs causes a non-libtool library to be
    linked dynamically is effectively a test of the compiler's preference in
    this case.  The Cray compiler prefers static libraries if not told
    otherwise.
    * tests/static.at [static linking flags for programs]: Do not expect
     -static-libtool-libs to fail.
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>

-----------------------------------------------------------------------

Summary of changes:
 tests/static.at |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/tests/static.at b/tests/static.at
index 19125de..240a218 100644
--- a/tests/static.at
+++ b/tests/static.at
@@ -344,7 +344,10 @@ for withdep in no yes; do
   echo "### test whether non-libtool library liba3 was linked statically"
   func_move_libs a3 $prefix3 $prefix1 $prefix2
   func_test_exec $all_static `$per_deplib && echo 3 13 23 31 123 123a`
-  func_test_exec_fail -static -static-libtool-libs `$per_deplib && echo 1 2 12`
+  # no '-static-libtool-libs' flag below, because some hosts such as
+  # Cray prefer static libs by default.
+  # and doesn't exercise anything not already tested above:
+  func_test_exec_fail -static `$per_deplib && echo 1 2 12`
   func_restore_libs a3 $prefix3
 
   cd ..


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Thu Dec 04 12:24:48 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Xwa92-00086Y-AN
	for mharc-libtool-commit@gnu.org; Thu, 04 Dec 2014 12:24:48 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:48273)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Xwa8u-00085W-Po
	for libtool-commit@gnu.org; Thu, 04 Dec 2014 12:24:46 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Xwa8o-00040P-IV
	for libtool-commit@gnu.org; Thu, 04 Dec 2014 12:24:40 -0500
Received: from vcs.savannah.gnu.org ([140.186.70.72]:47571)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Xwa8o-00040L-E6
	for libtool-commit@gnu.org; Thu, 04 Dec 2014 12:24:34 -0500
Received: from gary by vcs.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Xwa8n-0008WH-5M
	for libtool-commit@gnu.org; Thu, 04 Dec 2014 17:24:33 +0000
Date: Thu, 04 Dec 2014 17:24:33 +0000
Message-Id: <E1Xwa8n-0008WH-5M@vcs.savannah.gnu.org>
From: "Gary V. Vaughan" <gary@gnu.org>
To: libtool-commit@gnu.org
Subject: [SCM] GNU Libtool branch, master, updated. v2.4.4-8-g9f52eb3
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 89049b76cfcfc048dccfdab1ec8a0e233d97e8ce
X-Git-Newrev: 9f52eb3d6c69d1cecf8f938ba0be3e7171404261
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 140.186.70.72
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Dec 2014 17:24:46 -0000

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  9f52eb3d6c69d1cecf8f938ba0be3e7171404261 (commit)
      from  89049b76cfcfc048dccfdab1ec8a0e233d97e8ce (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 9f52eb3d6c69d1cecf8f938ba0be3e7171404261
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Thu Dec 4 17:17:11 2014 +0000

    libltdl: fix gcc compiler warning for unused attributes.
    
    * libltdl/ltdl.c, libltdl/loaders/dld_link.c,
    libltdl/loaders/dlopen.c, libltdl/loaders/dyld.c,
    libltdl/loaders/load_add_on.c, libltdl/loaders/loadlibrary.c,
    libltdl/loaders/preopen.c, libltdl/loaders/shl_load.c: For at
    least gcc 4.8.3 and 4.9.1, __attribute__((__unused)) should
    follow the unused parameter declaration.
    * NO-THANKS: Add Дилян Палаузов.
    Reported by Дилян Палаузов
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>

-----------------------------------------------------------------------

Summary of changes:
 NO-THANKS                     |    1 +
 libltdl/loaders/dld_link.c    |   10 +++++-----
 libltdl/loaders/dlopen.c      |    8 ++++----
 libltdl/loaders/dyld.c        |    4 ++--
 libltdl/loaders/load_add_on.c |   10 +++++-----
 libltdl/loaders/loadlibrary.c |   10 +++++-----
 libltdl/loaders/preopen.c     |   12 ++++++------
 libltdl/loaders/shl_load.c    |   10 +++++-----
 libltdl/ltdl.c                |    2 +-
 9 files changed, 34 insertions(+), 33 deletions(-)

diff --git a/NO-THANKS b/NO-THANKS
index b67d291..dc33834 100644
--- a/NO-THANKS
+++ b/NO-THANKS
@@ -138,3 +138,4 @@ Václav Zeman			vhaisman@gmail.com
 Warren Dodge			warren.l.dodge@Tektronix.com
 Xavier Pianet			xavier@xingo.com
 Юрий Андреевич Пухальский	pooh@cryptopro.ru
+Дилян Палаузов			dilyan.palauzov@aegee.org
diff --git a/libltdl/loaders/dld_link.c b/libltdl/loaders/dld_link.c
index c5fe3ff..e0692c4 100644
--- a/libltdl/loaders/dld_link.c
+++ b/libltdl/loaders/dld_link.c
@@ -97,7 +97,7 @@ get_vtable (lt_user_data loader_data)
 /* A function called through the vtable when this loader is no
    longer needed by the application.  */
 static int
-vl_exit (lt_user_data LT__UNUSED loader_data)
+vl_exit (lt_user_data loader_data LT__UNUSED)
 {
   vtable = NULL;
   return 0;
@@ -107,8 +107,8 @@ vl_exit (lt_user_data LT__UNUSED loader_data)
    loader.  Returns an opaque representation of the newly opened
    module for processing with this loader's other vtable functions.  */
 static lt_module
-vm_open (lt_user_data LT__UNUSED loader_data, const char *filename,
-         lt_dladvise LT__UNUSED advise)
+vm_open (lt_user_data loader_data LT__UNUSED, const char *filename,
+         lt_dladvise advise LT__UNUSED)
 {
   lt_module module = lt__strdup (filename);
 
@@ -124,7 +124,7 @@ vm_open (lt_user_data LT__UNUSED loader_data, const char *filename,
 /* A function called through the vtable when a particular module
    should be unloaded.  */
 static int
-vm_close (lt_user_data LT__UNUSED loader_data, lt_module module)
+vm_close (lt_user_data loader_data LT__UNUSED, lt_module module)
 {
   int errors = 0;
 
@@ -144,7 +144,7 @@ vm_close (lt_user_data LT__UNUSED loader_data, lt_module module)
 /* A function called through the vtable to get the address of
    a symbol loaded from a particular module.  */
 static void *
-vm_sym (lt_user_data LT__UNUSED loader_data, lt_module LT__UNUSED module,
+vm_sym (lt_user_data loader_data LT__UNUSED, lt_module module LT__UNUSED,
 	const char *name)
 {
   void *address = dld_get_func (name);
diff --git a/libltdl/loaders/dlopen.c b/libltdl/loaders/dlopen.c
index b79df3e..eb4391d 100644
--- a/libltdl/loaders/dlopen.c
+++ b/libltdl/loaders/dlopen.c
@@ -152,7 +152,7 @@ get_vtable (lt_user_data loader_data)
 /* A function called through the vtable when this loader is no
    longer needed by the application.  */
 static int
-vl_exit (lt_user_data LT__UNUSED loader_data)
+vl_exit (lt_user_data loader_data LT__UNUSED)
 {
   vtable = NULL;
   return 0;
@@ -163,7 +163,7 @@ vl_exit (lt_user_data LT__UNUSED loader_data)
    loader.  Returns an opaque representation of the newly opened
    module for processing with this loader's other vtable functions.  */
 static lt_module
-vm_open (lt_user_data LT__UNUSED loader_data, const char *filename,
+vm_open (lt_user_data loader_data LT__UNUSED, const char *filename,
          lt_dladvise advise)
 {
   int		module_flags = LT_LAZY_OR_NOW;
@@ -245,7 +245,7 @@ vm_open (lt_user_data LT__UNUSED loader_data, const char *filename,
 /* A function called through the vtable when a particular module
    should be unloaded.  */
 static int
-vm_close (lt_user_data LT__UNUSED loader_data, lt_module module)
+vm_close (lt_user_data loader_data LT__UNUSED, lt_module module)
 {
   int errors = 0;
 
@@ -262,7 +262,7 @@ vm_close (lt_user_data LT__UNUSED loader_data, lt_module module)
 /* A function called through the vtable to get the address of
    a symbol loaded from a particular module.  */
 static void *
-vm_sym (lt_user_data LT__UNUSED loader_data, lt_module module, const char *name)
+vm_sym (lt_user_data loader_data LT__UNUSED, lt_module module, const char *name)
 {
   void *address = dlsym (module, name);
 
diff --git a/libltdl/loaders/dyld.c b/libltdl/loaders/dyld.c
index 3ee7354..49cfa57 100644
--- a/libltdl/loaders/dyld.c
+++ b/libltdl/loaders/dyld.c
@@ -185,7 +185,7 @@ static int dyld_cannot_close				  = 0;
 /* A function called through the vtable when this loader is no
    longer needed by the application.  */
 static int
-vl_exit (lt_user_data LT__UNUSED loader_data)
+vl_exit (lt_user_data loader_data LT__UNUSED)
 {
   vtable = NULL;
   return 0;
@@ -226,7 +226,7 @@ vl_init (lt_user_data loader_data)
    module for processing with this loader's other vtable functions.  */
 static lt_module
 vm_open (lt_user_data loader_data, const char *filename,
-         lt_dladvise LT__UNUSED advise)
+         lt_dladvise advise LT__UNUSED)
 {
   lt_module module = 0;
   NSObjectFileImage ofi = 0;
diff --git a/libltdl/loaders/load_add_on.c b/libltdl/loaders/load_add_on.c
index 013411f..863eca7 100644
--- a/libltdl/loaders/load_add_on.c
+++ b/libltdl/loaders/load_add_on.c
@@ -95,7 +95,7 @@ get_vtable (lt_user_data loader_data)
 /* A function called through the vtable when this loader is no
    longer needed by the application.  */
 static int
-vl_exit (lt_user_data LT__UNUSED loader_data)
+vl_exit (lt_user_data loader_data LT__UNUSED)
 {
   vtable = NULL;
   return 0;
@@ -105,8 +105,8 @@ vl_exit (lt_user_data LT__UNUSED loader_data)
    loader.  Returns an opaque representation of the newly opened
    module for processing with this loader's other vtable functions.  */
 static lt_module
-vm_open (lt_user_data LT__UNUSED loader_data, const char *filename,
-         lt_dladvise LT__UNUSED advise)
+vm_open (lt_user_data loader_data LT__UNUSED, const char *filename,
+         lt_dladvise advise LT__UNUSED)
 {
   image_id image = 0;
 
@@ -135,7 +135,7 @@ vm_open (lt_user_data LT__UNUSED loader_data, const char *filename,
 /* A function called through the vtable when a particular module
    should be unloaded.  */
 static int
-vm_close (lt_user_data LT__UNUSED loader_data, lt_module module)
+vm_close (lt_user_data loader_data LT__UNUSED, lt_module module)
 {
   int errors = 0;
 
@@ -152,7 +152,7 @@ vm_close (lt_user_data LT__UNUSED loader_data, lt_module module)
 /* A function called through the vtable to get the address of
    a symbol loaded from a particular module.  */
 static void *
-vm_sym (lt_user_data LT__UNUSED loader_data, lt_module module, const char *name)
+vm_sym (lt_user_data loader_data LT__UNUSED, lt_module module, const char *name)
 {
   void *address = 0;
   image_id image = (image_id) module;
diff --git a/libltdl/loaders/loadlibrary.c b/libltdl/loaders/loadlibrary.c
index 0991100..053175c 100644
--- a/libltdl/loaders/loadlibrary.c
+++ b/libltdl/loaders/loadlibrary.c
@@ -120,7 +120,7 @@ static char *error_message = 0;
 /* A function called through the vtable when this loader is no
    longer needed by the application.  */
 static int
-vl_exit (lt_user_data LT__UNUSED loader_data)
+vl_exit (lt_user_data loader_data LT__UNUSED)
 {
   vtable = NULL;
   LOCALFREE (error_message);
@@ -131,8 +131,8 @@ vl_exit (lt_user_data LT__UNUSED loader_data)
    loader.  Returns an opaque representation of the newly opened
    module for processing with this loader's other vtable functions.  */
 static lt_module
-vm_open (lt_user_data LT__UNUSED loader_data, const char *filename,
-         lt_dladvise LT__UNUSED advise)
+vm_open (lt_user_data loader_data LT__UNUSED, const char *filename,
+         lt_dladvise advise LT__UNUSED)
 {
   lt_module	module	   = 0;
   char		*ext;
@@ -245,7 +245,7 @@ vm_open (lt_user_data LT__UNUSED loader_data, const char *filename,
 /* A function called through the vtable when a particular module
    should be unloaded.  */
 static int
-vm_close (lt_user_data LT__UNUSED loader_data, lt_module module)
+vm_close (lt_user_data loader_data LT__UNUSED, lt_module module)
 {
   int errors = 0;
 
@@ -262,7 +262,7 @@ vm_close (lt_user_data LT__UNUSED loader_data, lt_module module)
 /* A function called through the vtable to get the address of
    a symbol loaded from a particular module.  */
 static void *
-vm_sym (lt_user_data LT__UNUSED loader_data, lt_module module, const char *name)
+vm_sym (lt_user_data loader_data LT__UNUSED, lt_module module, const char *name)
 {
   void *address = (void *) GetProcAddress ((HMODULE) module, name);
 
diff --git a/libltdl/loaders/preopen.c b/libltdl/loaders/preopen.c
index 330a04c..2b7162c 100644
--- a/libltdl/loaders/preopen.c
+++ b/libltdl/loaders/preopen.c
@@ -113,7 +113,7 @@ static const	lt_dlsymlist   *default_preloaded_symbols	= 0;
 
 /* A function called through the vtable to initialise this loader.  */
 static int
-vl_init (lt_user_data LT__UNUSED loader_data)
+vl_init (lt_user_data loader_data LT__UNUSED)
 {
   int errors = 0;
 
@@ -130,7 +130,7 @@ vl_init (lt_user_data LT__UNUSED loader_data)
 /* A function called through the vtable when this loader is no
    longer needed by the application.  */
 static int
-vl_exit (lt_user_data LT__UNUSED loader_data)
+vl_exit (lt_user_data loader_data LT__UNUSED)
 {
   vtable = NULL;
   free_symlists ();
@@ -142,8 +142,8 @@ vl_exit (lt_user_data LT__UNUSED loader_data)
    loader.  Returns an opaque representation of the newly opened
    module for processing with this loader's other vtable functions.  */
 static lt_module
-vm_open (lt_user_data LT__UNUSED loader_data, const char *filename,
-         lt_dladvise LT__UNUSED advise)
+vm_open (lt_user_data loader_data LT__UNUSED, const char *filename,
+         lt_dladvise advise LT__UNUSED)
 {
   symlist_chain *lists;
   lt_module	 module = 0;
@@ -195,7 +195,7 @@ vm_open (lt_user_data LT__UNUSED loader_data, const char *filename,
 /* A function called through the vtable when a particular module
    should be unloaded.  */
 static int
-vm_close (lt_user_data LT__UNUSED loader_data, lt_module LT__UNUSED module)
+vm_close (lt_user_data loader_data LT__UNUSED, lt_module module LT__UNUSED)
 {
   /* Just to silence gcc -Wall */
   module = 0;
@@ -206,7 +206,7 @@ vm_close (lt_user_data LT__UNUSED loader_data, lt_module LT__UNUSED module)
 /* A function called through the vtable to get the address of
    a symbol loaded from a particular module.  */
 static void *
-vm_sym (lt_user_data LT__UNUSED loader_data, lt_module module, const char *name)
+vm_sym (lt_user_data loader_data LT__UNUSED, lt_module module, const char *name)
 {
   lt_dlsymlist	       *symbol = (lt_dlsymlist*) module;
 
diff --git a/libltdl/loaders/shl_load.c b/libltdl/loaders/shl_load.c
index 3b12df3..4775521 100644
--- a/libltdl/loaders/shl_load.c
+++ b/libltdl/loaders/shl_load.c
@@ -138,7 +138,7 @@ get_vtable (lt_user_data loader_data)
 /* A function called through the vtable when this loader is no
    longer needed by the application.  */
 static int
-vl_exit (lt_user_data LT__UNUSED loader_data)
+vl_exit (lt_user_data loader_data LT__UNUSED)
 {
   vtable = NULL;
   return 0;
@@ -148,8 +148,8 @@ vl_exit (lt_user_data LT__UNUSED loader_data)
    loader.  Returns an opaque representation of the newly opened
    module for processing with this loader's other vtable functions.  */
 static lt_module
-vm_open (lt_user_data LT__UNUSED loader_data, const char *filename,
-         lt_dladvise LT__UNUSED advise)
+vm_open (lt_user_data loader_data LT__UNUSED, const char *filename,
+         lt_dladvise advise LT__UNUSED)
 {
   static shl_t self = (shl_t) 0;
   lt_module module = shl_load (filename, LT_BIND_FLAGS, 0L);
@@ -184,7 +184,7 @@ vm_open (lt_user_data LT__UNUSED loader_data, const char *filename,
 /* A function called through the vtable when a particular module
    should be unloaded.  */
 static int
-vm_close (lt_user_data LT__UNUSED loader_data, lt_module module)
+vm_close (lt_user_data loader_data LT__UNUSED, lt_module module)
 {
   int errors = 0;
 
@@ -201,7 +201,7 @@ vm_close (lt_user_data LT__UNUSED loader_data, lt_module module)
 /* A function called through the vtable to get the address of
    a symbol loaded from a particular module.  */
 static void *
-vm_sym (lt_user_data LT__UNUSED loader_data, lt_module module, const char *name)
+vm_sym (lt_user_data loader_data LT__UNUSED, lt_module module, const char *name)
 {
   void *address = 0;
 
diff --git a/libltdl/ltdl.c b/libltdl/ltdl.c
index 9c02afc..0bb923a 100644
--- a/libltdl/ltdl.c
+++ b/libltdl/ltdl.c
@@ -815,7 +815,7 @@ find_handle (const char *search_path, const char *base_name,
 
 #if !defined LTDL_DLOPEN_DEPLIBS
 static int
-load_deplibs (lt_dlhandle handle, char * LT__UNUSED deplibs)
+load_deplibs (lt_dlhandle handle, char * deplibs LT__UNUSED)
 {
   handle->depcount = 0;
   return 0;


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Thu Dec 04 16:05:29 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Xwdaa-00077F-Vx
	for mharc-libtool-commit@gnu.org; Thu, 04 Dec 2014 16:05:29 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:59921)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1XwdaW-00072k-V0
	for libtool-commit@gnu.org; Thu, 04 Dec 2014 16:05:26 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1XwdaV-0002iz-FV
	for libtool-commit@gnu.org; Thu, 04 Dec 2014 16:05:24 -0500
Received: from vcs.savannah.gnu.org ([140.186.70.72]:49533)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1XwdaV-0002io-Bw
	for libtool-commit@gnu.org; Thu, 04 Dec 2014 16:05:23 -0500
Received: from gary by vcs.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1XwdaU-000070-Gv
	for libtool-commit@gnu.org; Thu, 04 Dec 2014 21:05:22 +0000
Date: Thu, 04 Dec 2014 21:05:22 +0000
Message-Id: <E1XwdaU-000070-Gv@vcs.savannah.gnu.org>
From: "Gary V. Vaughan" <gary@gnu.org>
To: libtool-commit@gnu.org
Subject: [SCM] GNU Libtool branch, master, updated. v2.4.4-9-g8727e07
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 9f52eb3d6c69d1cecf8f938ba0be3e7171404261
X-Git-Newrev: 8727e07a166f6822751a4d719fff9a1094ce1619
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 140.186.70.72
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Dec 2014 21:05:27 -0000

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  8727e07a166f6822751a4d719fff9a1094ce1619 (commit)
      from  9f52eb3d6c69d1cecf8f938ba0be3e7171404261 (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 8727e07a166f6822751a4d719fff9a1094ce1619
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Thu Dec 4 17:44:41 2014 +0000

    libtool: for 64bit GNU arches, add /lib64 and /usr/lib64 to sys_lib_dlsearch_path.
    
    * m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) <linux*, k*bsd*-gnu>
    <kopensolaris*-gnu, gnu*>: If $host_cpu contains "64", add /lib64
    and /usr/lib64 to sys_lib_dlsearch_path_spec.
    Reported by Orion Poplawski, Christian Rössel, Olly Betts et. al.
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>

-----------------------------------------------------------------------

Summary of changes:
 NEWS          |    3 +++
 m4/libtool.m4 |    8 ++++++++
 2 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/NEWS b/NEWS
index be3c7f4..6d48d28 100644
--- a/NEWS
+++ b/NEWS
@@ -24,6 +24,9 @@ NEWS - list of user-visible changes between releases of GNU Libtool
     ia64-hp-hpux*, because the default system runtime loader path does
     not contain them.
 
+  - For various GNU/Linux (and other GNU OSes) on 64bit glibc/ELF hosts,
+    explicit /lib64 and /usr/lib64 rpaths are no longer necessary.
+
 
 * Noteworthy changes in release 2.4.4 (2014-11-29) [stable]
 
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index 2bbf01b..fd4dfb4 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -2796,6 +2796,14 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   fi
+  # Ideally we could use /sbin/ldconfig to report what directories are
+  # searched, but (aside from not being certain /sbin/ldconfig is
+  # available) Fedora on 64bit does not report /usr/lib64, even though
+  # it is searched at run-time.
+  case $host_cpu in
+    # match at least x86_64, ia64, powerpc64*
+    *64*) sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 $sys_lib_dlsearch_path_spec" ;;
+  esac
 
   # We used to test for /lib/ld.so.1 and disable shared libraries on
   # powerpc, because MkLinux only supported shared libraries with the


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Fri Dec 05 08:33:49 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Xwt13-0005iO-JY
	for mharc-libtool-commit@gnu.org; Fri, 05 Dec 2014 08:33:49 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:36134)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Xwt0x-0005i0-9r
	for libtool-commit@gnu.org; Fri, 05 Dec 2014 08:33:47 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Xwt0w-0000UV-7K
	for libtool-commit@gnu.org; Fri, 05 Dec 2014 08:33:43 -0500
Received: from vcs.savannah.gnu.org ([140.186.70.72]:58065)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Xwt0w-0000UP-3N
	for libtool-commit@gnu.org; Fri, 05 Dec 2014 08:33:42 -0500
Received: from gary by vcs.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Xwt0v-0007xT-4k
	for libtool-commit@gnu.org; Fri, 05 Dec 2014 13:33:41 +0000
Date: Fri, 05 Dec 2014 13:33:41 +0000
Message-Id: <E1Xwt0v-0007xT-4k@vcs.savannah.gnu.org>
From: "Gary V. Vaughan" <gary@gnu.org>
To: libtool-commit@gnu.org
Subject: [SCM] GNU Libtool branch, master, updated. v2.4.4-10-g440fee6
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 8727e07a166f6822751a4d719fff9a1094ce1619
X-Git-Newrev: 440fee60c991e19e0ce66f98c5ad06d5607c766f
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 140.186.70.72
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 05 Dec 2014 13:33:47 -0000

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  440fee60c991e19e0ce66f98c5ad06d5607c766f (commit)
      from  8727e07a166f6822751a4d719fff9a1094ce1619 (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 440fee60c991e19e0ce66f98c5ad06d5607c766f
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Fri Dec 5 13:29:13 2014 +0000

    libtool: s390x is also a 64bit glibc/ELF platform.
    
    * m4/libtool.m4 (_LT_SYS_DYNAMIC_LIB): Add s390x to glibc/ELF
    compatible CPUs that have /lib64 and /usr/lib64 in
    sys_lib_dlsearch_path_spec.
    Reported by Pavel Raiskup
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>

-----------------------------------------------------------------------

Summary of changes:
 m4/libtool.m4 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/m4/libtool.m4 b/m4/libtool.m4
index fd4dfb4..2f52305 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -2801,8 +2801,8 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   # available) Fedora on 64bit does not report /usr/lib64, even though
   # it is searched at run-time.
   case $host_cpu in
-    # match at least x86_64, ia64, powerpc64*
-    *64*) sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 $sys_lib_dlsearch_path_spec" ;;
+    # match at least x86_64, ia64, powerpc64*, s390x (add other glibc/ELF 64bit cpus here):
+    *64*|s390x) sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 $sys_lib_dlsearch_path_spec" ;;
   esac
 
   # We used to test for /lib/ld.so.1 and disable shared libraries on


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Thu Dec 11 18:06:39 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1XzCoh-0001Zl-Jk
	for mharc-libtool-commit@gnu.org; Thu, 11 Dec 2014 18:06:39 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:48337)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1XzCoe-0001Yz-D0
	for libtool-commit@gnu.org; Thu, 11 Dec 2014 18:06:37 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1XzCod-0006By-0p
	for libtool-commit@gnu.org; Thu, 11 Dec 2014 18:06:36 -0500
Received: from vcs.savannah.gnu.org ([140.186.70.72]:46313)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1XzCoc-0006Bi-Td
	for libtool-commit@gnu.org; Thu, 11 Dec 2014 18:06:34 -0500
Received: from gary by vcs.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1XzCoc-0005SL-7l
	for libtool-commit@gnu.org; Thu, 11 Dec 2014 23:06:34 +0000
Date: Thu, 11 Dec 2014 23:06:34 +0000
Message-Id: <E1XzCoc-0005SL-7l@vcs.savannah.gnu.org>
From: "Gary V. Vaughan" <gary@gnu.org>
To: libtool-commit@gnu.org
Subject: [SCM] GNU Libtool branch, master, updated. v2.4.4-12-g663f919
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 440fee60c991e19e0ce66f98c5ad06d5607c766f
X-Git-Newrev: 663f9192417ce9defbdf5aa0c9f3b2dc08c9256d
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 140.186.70.72
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 11 Dec 2014 23:06:37 -0000

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  663f9192417ce9defbdf5aa0c9f3b2dc08c9256d (commit)
       via  72293c99520a7dd77d08241ae697409d052e38b4 (commit)
      from  440fee60c991e19e0ce66f98c5ad06d5607c766f (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 663f9192417ce9defbdf5aa0c9f3b2dc08c9256d
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Thu Dec 11 22:53:34 2014 +0000

    maint: fix syntax-check failures.
    
    * m4/m4.m4 (AC_PROG_GNU_M4): Reverse some test arguments for
    sc_prohibit_test_const_follows_var.
    Remove some spurious braces for
    sc_useless_braces_in_variable_drefs.
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>

commit 72293c99520a7dd77d08241ae697409d052e38b4
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Thu Dec 11 22:58:08 2014 +0000

    bootstrap: sync with upstream.
    
    * gl/build-aux/extract-trace (func_find_tool): Quote a bare
    variable expansion in a test argument.
    * bootstrap: Regenerate.
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>

-----------------------------------------------------------------------

Summary of changes:
 bootstrap                  |    2 +-
 gl/build-aux/extract-trace |    2 +-
 m4/m4.m4                   |   10 +++++-----
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/bootstrap b/bootstrap
index a6ffd54..94e3385 100755
--- a/bootstrap
+++ b/bootstrap
@@ -2312,7 +2312,7 @@ func_find_tool ()
 	for _G_dir in $PATH; do
 	  IFS=$_G_find_tool_save_IFS
 	  _G_progpath=$_G_dir/$_G_prog
-          test -r $_G_progpath && {
+          test -r "$_G_progpath" && {
             _G_curver=`func_tool_version_number $_G_progpath`
 	    case $_G_bestver,$_G_curver in
 	    ,)
diff --git a/gl/build-aux/extract-trace b/gl/build-aux/extract-trace
index 14b0f0a..a3d0bc4 100755
--- a/gl/build-aux/extract-trace
+++ b/gl/build-aux/extract-trace
@@ -169,7 +169,7 @@ func_find_tool ()
 	for _G_dir in $PATH; do
 	  IFS=$_G_find_tool_save_IFS
 	  _G_progpath=$_G_dir/$_G_prog
-          test -r $_G_progpath && {
+          test -r "$_G_progpath" && {
             _G_curver=`func_tool_version_number $_G_progpath`
 	    case $_G_bestver,$_G_curver in
 	    ,)
diff --git a/m4/m4.m4 b/m4/m4.m4
index 80bd42c..ba9b4df 100644
--- a/m4/m4.m4
+++ b/m4/m4.m4
@@ -31,8 +31,8 @@ AC_PATH_PROGS_FEATURE_CHECK([M4], [m4 gm4 gnum4],
       # false positive strstr.
       ac_snippet=change'quote(<,>)in''dir(<if''def>,mac,bug)'
       ac_snippet=${ac_snippet}pat'subst(a,\(b\)\|\(a\),\1)d'nl
-      ac_snippet=${ac_snippet}${as_nl}if'else(in''dex(..wi.d.,.d.),-1,bug)'
-      ac_snippet=${ac_snippet}${as_nl}if'else(in''dex(dnl
+      ac_snippet=$ac_snippet${as_nl}if'else(in''dex(..wi.d.,.d.),-1,bug)'
+      ac_snippet=$ac_snippet${as_nl}if'else(in''dex(dnl
 ;:11-:12-:12-:12-:12-:12-:12-:12-:12.:12.:12.:12.:12.:12.:12.:12.:12-,dnl
 :12-:12-:12-:12-:12-:12-:12-:12-),-1,,strstr-bug2)'
       test -z "`$ac_path_M4 -F conftest.m4f </dev/null 2>&1`" \
@@ -51,15 +51,15 @@ Glibc 2.9 - 2.12 and GNU M4 1.4.11 - 1.4.15 have another strstr bug.])])])
       *--gnu*) ac_cv_prog_gnu_m4_gnu=yes ;;
       *) ac_cv_prog_gnu_m4_gnu=no ;;
     esac])
-  if test "$ac_cv_prog_gnu_m4_gnu" = yes; then
+  if test yes = "$ac_cv_prog_gnu_m4_gnu"; then
     M4_GNU=--gnu
   else
     M4_GNU=
   fi
   AC_SUBST([M4_GNU])
-  if test x$ac_had_posixly_correct = xyes; then
+  if test yes = "$ac_had_posixly_correct"; then
     POSIXLY_CORRECT=:
-    if test $ac_cv_prog_gnu_m4_gnu = no; then
+    if test no = $ac_cv_prog_gnu_m4_gnu; then
       AC_MSG_WARN([the version of M4 that was found does not support -g])
       AC_MSG_WARN([using it with POSIXLY_CORRECT set may cause problems])
     fi


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Thu Dec 11 18:07:40 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1XzCpg-0001cV-RU
	for mharc-libtool-commit@gnu.org; Thu, 11 Dec 2014 18:07:40 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:48599)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1XzCpe-0001cL-0w
	for libtool-commit@gnu.org; Thu, 11 Dec 2014 18:07:40 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1XzCpb-0006UW-Tr
	for libtool-commit@gnu.org; Thu, 11 Dec 2014 18:07:37 -0500
Received: from vcs.savannah.gnu.org ([140.186.70.72]:46324)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1XzCpb-0006UQ-Qc
	for libtool-commit@gnu.org; Thu, 11 Dec 2014 18:07:35 -0500
Received: from gary by vcs.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1XzCpb-0005VG-CZ
	for libtool-commit@gnu.org; Thu, 11 Dec 2014 23:07:35 +0000
Date: Thu, 11 Dec 2014 23:07:35 +0000
Message-Id: <E1XzCpb-0005VG-CZ@vcs.savannah.gnu.org>
From: "Gary V. Vaughan" <gary@gnu.org>
To: libtool-commit@gnu.org
Subject: [SCM] GNU Libtool branch, master, updated. v2.4.4-13-g0827956
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 663f9192417ce9defbdf5aa0c9f3b2dc08c9256d
X-Git-Newrev: 08279564ff4143059f3f728f9401b5d541f0bd1e
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 140.186.70.72
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 11 Dec 2014 23:07:40 -0000

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  08279564ff4143059f3f728f9401b5d541f0bd1e (commit)
      from  663f9192417ce9defbdf5aa0c9f3b2dc08c9256d (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 08279564ff4143059f3f728f9401b5d541f0bd1e
Author: Pavel Raiskup <praiskup@redhat.com>
Date:   Thu Dec 11 21:49:19 2014 +0000

    libtool: support LT_SYS_LIBRARY_PATH for adjusting bad guesses.
    
    Revert 8728e07 and 440fee6.
    Some GNU/Linux distributions install libraries into /lib64 (or
    /usr/lib64) on 64-bit machines, while /lib (/usr/lib
    respectively) stays for multilib variant.  Other distributions
    keep /usr/lib for 64-bit variant and reserve other directory for
    multilib. Detection of what approach a given system uses is
    difficult, however, especially because Glibc's ldconfig does not
    report the full and correct list of search paths. Allow the user
    to adjust Libtools heuristically determined search paths with
    the new LT_SYS_LIBRARY_PATH environment variable at both
    compile-time, when libtool is called, and at configure time.
    * m4/libtool.m4 (_LT_PREPARE_MUNGE_PATH_LIST): Define a new
    function to munge a libtool path list according to a user
    supplied colon-delimited path.
    (_LT_SYS_DYNAMIC_LINKER): Require _LT_PREPARE_MUNGE_PATH_LIST.
    Mark LT_SYS_LIBRARY_PATH as precious to autoconf (to survive
    automatic "autoreconf").
    Call the new func_munge_path_list function on
    sys_lib_dlsearch_path_spec - this propagates results to
    generated libtool script.
    (_LT_CONFIG): Expand _LT_PREPARE_MUNGE_PATH_LIST into generated
    libtool script.
    * build-aux/ltmain.in (func_mode_link): Call it to adjust
    sys_lib_dlsearch_path according to LT_SYS_LIBRARY_PATH.
    * doc/libtool.texi: Document new LT_SYS_LIBRARY_PATH.
    * doc/notes.texi: Likewise.
    * NEWS: Update.
    
    References: http://thread.gmane.org/gmane.comp.gnu.libtool.general/8339/focus=8345
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>

-----------------------------------------------------------------------

Summary of changes:
 NEWS                |    6 ++--
 build-aux/ltmain.in |    3 ++
 doc/libtool.texi    |   21 +++++++++++++++
 doc/notes.texi      |   15 +++++-----
 m4/libtool.m4       |   72 ++++++++++++++++++++++++++++++++++++++++++++------
 5 files changed, 97 insertions(+), 20 deletions(-)

diff --git a/NEWS b/NEWS
index 6d48d28..87926bd 100644
--- a/NEWS
+++ b/NEWS
@@ -7,6 +7,9 @@ NEWS - list of user-visible changes between releases of GNU Libtool
   - Libtoolize searches for the best available M4 on the user PATH at
     runtime, rather than settling for the first one found.
 
+  - Support munging sys_lib_dlsearch_path_spec with LT_SYS_LIBRARY_PATH
+    environment variable.
+
 ** Bug fixes:
 
   - Bail out at configure time if the installed M4 is not sufficient
@@ -24,9 +27,6 @@ NEWS - list of user-visible changes between releases of GNU Libtool
     ia64-hp-hpux*, because the default system runtime loader path does
     not contain them.
 
-  - For various GNU/Linux (and other GNU OSes) on 64bit glibc/ELF hosts,
-    explicit /lib64 and /usr/lib64 rpaths are no longer necessary.
-
 
 * Noteworthy changes in release 2.4.4 (2014-11-29) [stable]
 
diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index a72c007..42048df 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -5525,6 +5525,9 @@ func_mode_link ()
     eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
     eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
 
+    # Definition is injected by LT_CONFIG during libtool generation.
+    func_munge_path_list sys_lib_dlsearch_path "$LT_SYS_LIBRARY_PATH"
+
     func_dirname "$output" "/" ""
     output_objdir=$func_dirname_result$objdir
     func_to_tool_file "$output_objdir/"
diff --git a/doc/libtool.texi b/doc/libtool.texi
index 90aeb8f..0632225 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -2419,6 +2419,27 @@ Program to use rather than checking for @command{mt}, the Manifest Tool.
 Only used on Cygwin/MS-Windows at the moment.
 @end defvar
 
+@defvar LT_SYS_LIBRARY_PATH
+Libtool has heuristics for the system search path for runtime-loaded
+libraries.  If the guessed default does not match the setup of the host
+system, this variable can be used to modify that path list, as follows
+(@code{LT_SYS_LIBRARY_PATH} is a colon-delimited list like @code{PATH}):
+@itemize @bullet
+@item @code{path:}
+The heuristically determined paths will be appened after the trailing
+colon;
+@item @code{:path}
+The heuristically determined paths will be prepended before the leading
+colon;
+@item @code{path::path}
+The heuristically determined paths will be inserted between the double
+colons;
+@item @code{path}
+With no dangling colons, the heuristically determined paths will be
+ignored entirely.
+@end itemize
+@end defvar
+
 With 1.3 era libtool, if you wanted to know any details of what
 libtool had discovered about your architecture and environment, you
 had to run the script with @option{--config} and grep through the
diff --git a/doc/notes.texi b/doc/notes.texi
index a99bbbd..1fa8a0b 100644
--- a/doc/notes.texi
+++ b/doc/notes.texi
@@ -68,13 +68,12 @@ to use autoconf-mode, which is distributed with GNU Emacs 21, Autoconf itself,
 and all recent releases of XEmacs.
 
 @item
-When building on some GNU/Linux systems for multilib targets
-@command{libtool} sometimes guesses the wrong paths that the linker
-and dynamic linker search by default. If this occurs, you may override
-libtool's guesses at @command{configure} time by setting the
-@command{autoconf} cache variables
-@code{lt_cv_sys_lib_search_path_spec} and
-@code{lt_cv_sys_lib_dlsearch_path_spec} respectively to the correct search
-paths.
+When building on some GNU/Linux systems for multilib targets @command{libtool}
+sometimes guesses the wrong paths that the linker and dynamic linker search by
+default. If this occurs for the dynamic library path, you may use the
+@code{LT_SYS_LIBRARY_PATH} environment variable to adjust. Otherwise, at
+@command{configure} time you may override libtool's guesses by setting the
+@command{autoconf} cache variables @code{lt_cv_sys_lib_search_path_spec} and
+@code{lt_cv_sys_lib_dlsearch_path_spec} respectively.
 
 @end itemize
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index 2f52305..fd7108e 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -727,6 +727,15 @@ _LT_LIBTOOL_TAG_VARS
 
 _LT_EOF
 
+    cat <<'_LT_EOF' >> "$cfgfile"
+## -------------------------------------- ##
+## Shell functions shared with configure. ##
+## -------------------------------------- ##
+
+_LT_PREPARE_MUNGE_PATH_LIST
+
+_LT_EOF
+
   case $host_os in
   aix3*)
     cat <<\_LT_EOF >> "$cfgfile"
@@ -2202,6 +2211,47 @@ _LT_DECL([], [striplib], [1])
 ])# _LT_CMD_STRIPLIB
 
 
+# _LT_PREPARE_MUNGE_PATH_LIST
+# ---------------------------
+# Make sure func_munge_path_list() is defined correctly.
+m4_defun([_LT_PREPARE_MUNGE_PATH_LIST],
+[[# func_munge_path_list VARIABLE PATH
+# -----------------------------------
+# VARIABLE is name of variable containing _space_ separated list of
+# directories to be munged by the contents of PATH, which is string
+# having a format:
+# "DIR[:DIR]:"
+#       string "DIR[ DIR]" will be prepended to VARIABLE
+# ":DIR[:DIR]"
+#       string "DIR[ DIR]" will be appended to VARIABLE
+# "DIRP[:DIRP]::[DIRA:]DIRA"
+#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
+#       "DIRA[ DIRA]" will be appended to VARIABLE
+# "DIR[:DIR]"
+#       VARIABLE will be replaced by "DIR[ DIR]"
+func_munge_path_list ()
+{
+    case x@S|@2 in
+    x)
+        ;;
+    *:)
+        eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \$@S|@1\"
+        ;;
+    x:*)
+        eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\"
+        ;;
+    *::*)
+        eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
+        eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
+        ;;
+    *)
+        eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\"
+        ;;
+    esac
+}
+]])# _LT_PREPARE_PATH_LIST
+
+
 # _LT_SYS_DYNAMIC_LINKER([TAG])
 # -----------------------------
 # PORTME Fill in your ld.so characteristics
@@ -2212,6 +2262,7 @@ m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 m4_require([_LT_DECL_OBJDUMP])dnl
 m4_require([_LT_DECL_SED])dnl
 m4_require([_LT_CHECK_SHELL_FEATURES])dnl
+m4_require([_LT_PREPARE_MUNGE_PATH_LIST])dnl
 AC_MSG_CHECKING([dynamic linker characteristics])
 m4_if([$1],
 	[], [
@@ -2306,6 +2357,9 @@ hardcode_into_libs=no
 # flags to be left without arguments
 need_version=unknown
 
+AC_ARG_VAR([LT_SYS_LIBRARY_PATH],
+[User-defined run-time library search path.])
+
 case $host_os in
 aix3*)
   version_type=linux # correct to gnu/linux during the next big refactor
@@ -2791,19 +2845,16 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   # before this can be enabled.
   hardcode_into_libs=yes
 
-  # Append ld.so.conf contents to the search path
+  # Ideally, we could use ldconfig to report *all* directores which are
+  # searched for libraries, however this is still not possible.  Aside from not
+  # being certain /sbin/ldconfig is available, command
+  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
+  # even though it is searched at run-time.  Try to do the best guess by
+  # appending ld.so.conf contents (and includes) to the search path.
   if test -f /etc/ld.so.conf; then
     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   fi
-  # Ideally we could use /sbin/ldconfig to report what directories are
-  # searched, but (aside from not being certain /sbin/ldconfig is
-  # available) Fedora on 64bit does not report /usr/lib64, even though
-  # it is searched at run-time.
-  case $host_cpu in
-    # match at least x86_64, ia64, powerpc64*, s390x (add other glibc/ELF 64bit cpus here):
-    *64*|s390x) sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 $sys_lib_dlsearch_path_spec" ;;
-  esac
 
   # We used to test for /lib/ld.so.1 and disable shared libraries on
   # powerpc, because MkLinux only supported shared libraries with the
@@ -3023,6 +3074,9 @@ fi
 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
 fi
+
+func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
+
 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
 fi


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Fri Dec 12 06:45:44 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1XzOfI-0005Oq-80
	for mharc-libtool-commit@gnu.org; Fri, 12 Dec 2014 06:45:44 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:58222)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1XzOfG-0005Oj-2H
	for libtool-commit@gnu.org; Fri, 12 Dec 2014 06:45:43 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1XzOfE-0008RM-PS
	for libtool-commit@gnu.org; Fri, 12 Dec 2014 06:45:41 -0500
Received: from vcs.savannah.gnu.org ([140.186.70.72]:54859)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1XzOfE-0008RI-L4
	for libtool-commit@gnu.org; Fri, 12 Dec 2014 06:45:40 -0500
Received: from gary by vcs.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1XzOfE-0004K7-1p
	for libtool-commit@gnu.org; Fri, 12 Dec 2014 11:45:40 +0000
Date: Fri, 12 Dec 2014 11:45:40 +0000
Message-Id: <E1XzOfE-0004K7-1p@vcs.savannah.gnu.org>
From: "Gary V. Vaughan" <gary@gnu.org>
To: libtool-commit@gnu.org
Subject: [SCM] GNU Libtool branch, master, updated. v2.4.4-14-g4fede0b
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 08279564ff4143059f3f728f9401b5d541f0bd1e
X-Git-Newrev: 4fede0bc497021e28fde0635c1fa0da010cc2733
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 140.186.70.72
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Dec 2014 11:45:43 -0000

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  4fede0bc497021e28fde0635c1fa0da010cc2733 (commit)
      from  08279564ff4143059f3f728f9401b5d541f0bd1e (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 4fede0bc497021e28fde0635c1fa0da010cc2733
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Fri Dec 12 11:35:28 2014 +0000

    libtool: take care not to double-apply LT_SYS_LIBRARY_PATH.
    
    * m4/libtool.m4 (_LT_CONFIG_SAVE_COMMANDS): Copy configure-time
    LT_SYS_LIBRARY_PATH settings as default, but allow run-time
    override.
    (_LT_SYS_DYNAMIC_LINKER): Save the unmunged
    sys_lib_dlsearch_path_spec value, and use it for _LT_DECL,
    but then munge it with LT_SYS_LIBRARY_PATH for use in ltdl.m4
    macros, such as LT_SYS_DLSEARCH_PATH.
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>

-----------------------------------------------------------------------

Summary of changes:
 m4/libtool.m4 |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/m4/libtool.m4 b/m4/libtool.m4
index fd7108e..0c120ff 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -720,6 +720,9 @@ _LT_CONFIG_SAVE_COMMANDS([
 _LT_COPYING
 _LT_LIBTOOL_TAGS
 
+# Configured defaults for sys_lib_dlsearch_path munging.
+: \${LT_SYS_LIBRARY_PATH="$LT_SYS_LIBRARY_PATH"}
+
 # ### BEGIN LIBTOOL CONFIG
 _LT_LIBTOOL_CONFIG_VARS
 _LT_LIBTOOL_TAG_VARS
@@ -3075,12 +3078,17 @@ if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
 fi
 
-func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
-
 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
 fi
 
+# lt_cv_sys_lib... is unaugmented for libtool script decls...
+lt_cv_sys_lib_dlsearch_path_spec=$sys_lib_dlsearch_path_spec
+
+# ..but sys_lib_... needs LT_SYS_LIBRARY_PATH munging for
+# LT_SYS_DLSEARCH_PATH macro in ltdl.m4 to work with the correct paths:
+func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
+
 _LT_DECL([], [variables_saved_for_relink], [1],
     [Variables whose values should be saved in libtool wrapper scripts and
     restored at link time])
@@ -3113,7 +3121,7 @@ _LT_DECL([], [hardcode_into_libs], [0],
     [Whether we should hardcode library paths into libraries])
 _LT_DECL([], [sys_lib_search_path_spec], [2],
     [Compile-time system search path for libraries])
-_LT_DECL([], [sys_lib_dlsearch_path_spec], [2],
+_LT_DECL([sys_lib_dlsearch_path_spec], [lt_cv_sys_lib_dlsearch_path_spec], [2],
     [Run-time system search path for libraries])
 ])# _LT_SYS_DYNAMIC_LINKER
 


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Fri Dec 12 10:01:25 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1XzRif-00027C-8d
	for mharc-libtool-commit@gnu.org; Fri, 12 Dec 2014 10:01:25 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:43554)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1XzRiY-0001y8-DT
	for libtool-commit@gnu.org; Fri, 12 Dec 2014 10:01:22 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1XzRiW-0001Jy-JO
	for libtool-commit@gnu.org; Fri, 12 Dec 2014 10:01:18 -0500
Received: from vcs.savannah.gnu.org ([140.186.70.72]:56846)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1XzRiW-0001Jm-Ep
	for libtool-commit@gnu.org; Fri, 12 Dec 2014 10:01:16 -0500
Received: from gary by vcs.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1XzRiV-0003EW-3j
	for libtool-commit@gnu.org; Fri, 12 Dec 2014 15:01:15 +0000
Date: Fri, 12 Dec 2014 15:01:15 +0000
Message-Id: <E1XzRiV-0003EW-3j@vcs.savannah.gnu.org>
From: "Gary V. Vaughan" <gary@gnu.org>
To: libtool-commit@gnu.org
Subject: [SCM] GNU Libtool branch, master, updated. v2.4.4-15-gb49ab52
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 4fede0bc497021e28fde0635c1fa0da010cc2733
X-Git-Newrev: b49ab52cb34a80aacf88698870649c7761e17c65
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 140.186.70.72
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Dec 2014 15:01:23 -0000

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  b49ab52cb34a80aacf88698870649c7761e17c65 (commit)
      from  4fede0bc497021e28fde0635c1fa0da010cc2733 (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 b49ab52cb34a80aacf88698870649c7761e17c65
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Fri Dec 12 13:33:40 2014 +0000

    libtool: more carefully avoid automatic -Cstd -Crun on Sun Pro CXX.
    
    * m4/libtool.m4 (_LT_FUNC_SUNCC_CSTD_ABI): New function factored out
    of repeated code.  Take note of other known -Cstd incompatible
    compiler flags.
    (_LT_SYS_HIDDEN_LIBDEPS): Use it to determine whether -Cstd -Crun
    can be safely added to postdeps with Sun Pro CXX.
    * NEWS: Update.
    * NO-THANKS: Add Marc Glisse.
    Reported by Marc Glisse
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>

-----------------------------------------------------------------------

Summary of changes:
 NEWS          |    8 ++++++++
 NO-THANKS     |    1 +
 m4/libtool.m4 |   54 ++++++++++++++++++++++++++++--------------------------
 3 files changed, 37 insertions(+), 26 deletions(-)

diff --git a/NEWS b/NEWS
index 87926bd..c2f667b 100644
--- a/NEWS
+++ b/NEWS
@@ -27,6 +27,14 @@ NEWS - list of user-visible changes between releases of GNU Libtool
     ia64-hp-hpux*, because the default system runtime loader path does
     not contain them.
 
+  - Previously, when using Sun C++ on Solaris or Linux, `-Cstd -Crun`
+    flags were added to $postdeps unless CXX or CXXFLAGS contained
+    `-library=stlport4`.  Newer releases have added other compiler flags
+    that are also incompatible with `-Cstd -Crun`, so now we don't add
+    them if any of `-std=c++[0-9][0-9]`, `-library=stdcxx4` or
+    `-compat=g` were found in CXX or CXXFLAGS when the Sun C++ compiler
+    is detected.
+
 
 * Noteworthy changes in release 2.4.4 (2014-11-29) [stable]
 
diff --git a/NO-THANKS b/NO-THANKS
index dc33834..7f59276 100644
--- a/NO-THANKS
+++ b/NO-THANKS
@@ -100,6 +100,7 @@ Lawrence Velázquez		larryv@macports.org
 Lionel Landwerlin		llandwerlin@gmail.com
 Maciej Helminiak		dion2@wp.pl
 Mahesh Narayanamurthi		mahesh.mach@gmail.com
+Marc Glisse			marc.glisse@inria.fr
 Marcel Loose			loose@astron.nl
 Markus Duft			markus.duft@salomon.at
 Martin Doucha			doucha@integri.cz
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index 0c120ff..22a7284 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -7422,6 +7422,28 @@ func_stripname_cnf ()
 } # func_stripname_cnf
 ])# _LT_FUNC_STRIPNAME_CNF
 
+
+# _LT_FUNC_SUNCC_CSTD_ABI
+# -----------------------
+# func_suncc_cstd_abi
+# Several compiler flags select an ABI that is
+# incompatible with the Cstd library. Avoid specifying
+# it if any are in CXXFLAGS.
+m4_defun([_LT_FUNC_SUNCC_CSTD_ABI], [[
+func_suncc_cstd_abi ()
+{
+    case " $CXX $CXXFLAGS " in
+    *" -compat=g "*|*\ -std=c++[0-9][0-9]\ *|*" -library=stdcxx4 "*|*" -library=stlport4 "*)
+      suncc_use_cstd_abi=no
+      ;;
+    *)
+      suncc_use_cstd_abi=yes
+      ;;
+    esac
+} # func_suncc_cstd_abi
+]])# _LT_FUNC_SUNCC_CSTD_ABI
+
+
 # _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
 # ---------------------------------
 # Figure out "hidden" library dependencies from verbose
@@ -7430,6 +7452,7 @@ func_stripname_cnf ()
 # objects, libraries and library flags.
 m4_defun([_LT_SYS_HIDDEN_LIBDEPS],
 [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+m4_require([_LT_FUNC_SUNCC_CSTD_ABI])dnl
 AC_REQUIRE([_LT_FUNC_STRIPNAME_CNF])dnl
 # Dependencies to place before and after the object being linked:
 _LT_TAGVAR(predep_objects, $1)=
@@ -7603,20 +7626,10 @@ interix[[3-9]]*)
 
 linux*)
   case `$CC -V 2>&1 | sed 5q` in
-  *Sun\ C*)
-    # Sun C++ 5.9
-
-    # The more standards-conforming stlport4 library is
-    # incompatible with the Cstd library. Avoid specifying
-    # it if it's in CXXFLAGS. Ignore libCrun as
-    # -library=stlport4 depends on it.
-    case " $CXX $CXXFLAGS " in
-    *" -library=stlport4 "*)
-      solaris_use_stlport4=yes
-      ;;
-    esac
+  *Sun\ C*) # Sun C++ 5.9
+    func_suncc_cstd_abi
 
-    if test yes != "$solaris_use_stlport4"; then
+    if test no != "$suncc_use_cstd_abi"; then
       _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
     fi
     ;;
@@ -7626,20 +7639,9 @@ linux*)
 solaris*)
   case $cc_basename in
   CC* | sunCC*)
-    # The more standards-conforming stlport4 library is
-    # incompatible with the Cstd library. Avoid specifying
-    # it if it's in CXXFLAGS. Ignore libCrun as
-    # -library=stlport4 depends on it.
-    case " $CXX $CXXFLAGS " in
-    *" -library=stlport4 "*)
-      solaris_use_stlport4=yes
-      ;;
-    esac
+    func_suncc_cstd_abi
 
-    # Adding this requires a known-good setup of shared libraries for
-    # Sun compiler versions before 5.6, else PIC objects from an old
-    # archive will be linked into the output, leading to subtle bugs.
-    if test yes != "$solaris_use_stlport4"; then
+    if test no != "$suncc_use_cstd_abi"; then
       _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
     fi
     ;;


hooks/post-receive
-- 
GNU Libtool


From MAILER-DAEMON Fri Dec 12 13:48:58 2014
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1XzVGs-0007rt-0m
	for mharc-libtool-commit@gnu.org; Fri, 12 Dec 2014 13:48:58 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:50182)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1XzVGo-0007rV-Ll
	for libtool-commit@gnu.org; Fri, 12 Dec 2014 13:48:56 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1XzVGn-00038f-3Y
	for libtool-commit@gnu.org; Fri, 12 Dec 2014 13:48:54 -0500
Received: from vcs.savannah.gnu.org ([140.186.70.72]:58878)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1XzVGm-00038b-Vm
	for libtool-commit@gnu.org; Fri, 12 Dec 2014 13:48:53 -0500
Received: from gary by vcs.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1XzVGl-0002nm-SX
	for libtool-commit@gnu.org; Fri, 12 Dec 2014 18:48:52 +0000
Date: Fri, 12 Dec 2014 18:48:51 +0000
Message-Id: <E1XzVGl-0002nm-SX@vcs.savannah.gnu.org>
From: "Gary V. Vaughan" <gary@gnu.org>
To: libtool-commit@gnu.org
Subject: [SCM] GNU Libtool branch, master, updated. v2.4.4-16-g97f03a4
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: b49ab52cb34a80aacf88698870649c7761e17c65
X-Git-Newrev: 97f03a437983f106e41de45a0d1baf5a3ec5f04d
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 140.186.70.72
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Dec 2014 18:48:56 -0000

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  97f03a437983f106e41de45a0d1baf5a3ec5f04d (commit)
      from  b49ab52cb34a80aacf88698870649c7761e17c65 (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 97f03a437983f106e41de45a0d1baf5a3ec5f04d
Author: Gary V. Vaughan <gary@gnu.org>
Date:   Fri Dec 12 18:35:45 2014 +0000

    libtool: check Sun Pro CXX ABI postdeps at libtool time.
    
    * m4/libtool.m4 (_LT_PREPARE_CC_BASENAME): Factor cc_basename
    calculation into a shell function...
    (_LT_CONFIG_SAVE_COMMAND): ...and expand it into generated
    libtool script.
    (_LT_CC_BASENAME): Adjust accordingly.
    (_LT_FUNC_SUNCC_CSTD_ABI): Remove from here...
    * build-aux/ltmain.in (func_suncc_cstd_abi): ...and reimplement
    here.
    * m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS): Remove postdeps
    augmentation from here...
    * build-aux/ltmain.in (func_mode_link): ...and reimplement here
    just before postdeps are added.
    * NEWS: Update.
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>

-----------------------------------------------------------------------

Summary of changes:
 NEWS                |    9 +++++-
 build-aux/ltmain.in |   49 +++++++++++++++++++++++++++++
 m4/libtool.m4       |   84 +++++++++++++++++----------------------------------
 3 files changed, 85 insertions(+), 57 deletions(-)

diff --git a/NEWS b/NEWS
index c2f667b..7b242eb 100644
--- a/NEWS
+++ b/NEWS
@@ -21,13 +21,20 @@ NEWS - list of user-visible changes between releases of GNU Libtool
   - Fix a 2.4.4 regression so that libltdl subprojects do not warn
     about missing libltdl/libltdl directory as in prior releases.
 
+  - When using Sun C++ on Solaris or GNU/Linux we used to set libtool's
+    postdeps permanently, based on the contents of $CXX and $CXXFLAGS at
+    configure time, which was brittle and error-prone.  Now, we no
+    longer check for a SunCC ABI at configure time, but augment the
+    postdeps at libtool time based on the current invocation flags on
+    each call.
+
 ** Changes in supported systems or compilers:
 
   - /usr/local prefixed rpaths are now added to the link-line on
     ia64-hp-hpux*, because the default system runtime loader path does
     not contain them.
 
-  - Previously, when using Sun C++ on Solaris or Linux, `-Cstd -Crun`
+  - Previously, when using Sun C++ on Solaris or GNU/Linux, `-Cstd -Crun`
     flags were added to $postdeps unless CXX or CXXFLAGS contained
     `-library=stlport4`.  Newer releases have added other compiler flags
     that are also incompatible with `-Cstd -Crun`, so now we don't add
diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index 42048df..b901c1b 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -4549,6 +4549,24 @@ func_win32_import_lib_p ()
     esac
 }
 
+# func_suncc_cstd_abi
+# !!ONLY CALL THIS FOR SUN CC AFTER $compile_command IS FULLY EXPANDED!!
+# Several compiler flags select an ABI that is incompatible with the
+# Cstd library. Avoid specifying it if any are in CXXFLAGS.
+func_suncc_cstd_abi ()
+{
+    $debug_cmd
+
+    case " $compile_command " in
+    *" -compat=g "*|*\ -std=c++[0-9][0-9]\ *|*" -library=stdcxx4 "*|*" -library=stlport4 "*)
+      suncc_use_cstd_abi=no
+      ;;
+    *)
+      suncc_use_cstd_abi=yes
+      ;;
+    esac
+}
+
 # func_mode_link arg...
 func_mode_link ()
 {
@@ -6690,6 +6708,37 @@ func_mode_link ()
 	  eval $var=\"$tmp_libs\"
 	done # for var
       fi
+
+      # Add Sun CC postdeps if required:
+      test CXX = "$tagname" && {
+        case $host_os in
+        linux*)
+          case `$CC -V 2>&1 | sed 5q` in
+          *Sun\ C*) # Sun C++ 5.9
+            func_suncc_cstd_abi
+
+            if test no != "$suncc_use_cstd_abi"; then
+              func_append postdeps ' -library=Cstd -library=Crun'
+            fi
+            ;;
+          esac
+          ;;
+
+        solaris*)
+          func_cc_basename "$CC"
+          case $func_cc_basename_result in
+          CC* | sunCC*)
+            func_suncc_cstd_abi
+
+            if test no != "$suncc_use_cstd_abi"; then
+              func_append postdeps ' -library=Cstd -library=Crun'
+            fi
+            ;;
+          esac
+          ;;
+        esac
+      }
+
       # Last step: remove runtime libs from dependency_libs
       # (they stay in deplibs)
       tmp_libs=
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index 22a7284..f879988 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -103,19 +103,36 @@ dnl AC_DEFUN([AC_PROG_LIBTOOL], [])
 dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
 
 
+# _LT_PREPARE_CC_BASENAME
+# -----------------------
+m4_defun([_LT_PREPARE_CC_BASENAME], [
+# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
+func_cc_basename ()
+{
+    for cc_temp in @S|@*""; do
+      case $cc_temp in
+        compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
+        distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
+        \-*) ;;
+        *) break;;
+      esac
+    done
+    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
+}
+])# _LT_PREPARE_CC_BASENAME
+
+
 # _LT_CC_BASENAME(CC)
 # -------------------
-# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
+# It would be clearer to call AC_REQUIREs from _LT_PREPARE_CC_BASENAME,
+# but that macro is also expanded into generated libtool script, which
+# arranges for $SED and $ECHO to be set by different means.
 m4_defun([_LT_CC_BASENAME],
-[for cc_temp in $1""; do
-  case $cc_temp in
-    compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
-    distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
-    \-*) ;;
-    *) break;;
-  esac
-done
-cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
+[m4_require([_LT_PREPARE_CC_BASENAME])dnl
+AC_REQUIRE([_LT_DECL_SED])dnl
+AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
+func_cc_basename $1
+cc_basename=$func_cc_basename_result
 ])
 
 
@@ -736,6 +753,7 @@ _LT_EOF
 ## -------------------------------------- ##
 
 _LT_PREPARE_MUNGE_PATH_LIST
+_LT_PREPARE_CC_BASENAME
 
 _LT_EOF
 
@@ -7423,27 +7441,6 @@ func_stripname_cnf ()
 ])# _LT_FUNC_STRIPNAME_CNF
 
 
-# _LT_FUNC_SUNCC_CSTD_ABI
-# -----------------------
-# func_suncc_cstd_abi
-# Several compiler flags select an ABI that is
-# incompatible with the Cstd library. Avoid specifying
-# it if any are in CXXFLAGS.
-m4_defun([_LT_FUNC_SUNCC_CSTD_ABI], [[
-func_suncc_cstd_abi ()
-{
-    case " $CXX $CXXFLAGS " in
-    *" -compat=g "*|*\ -std=c++[0-9][0-9]\ *|*" -library=stdcxx4 "*|*" -library=stlport4 "*)
-      suncc_use_cstd_abi=no
-      ;;
-    *)
-      suncc_use_cstd_abi=yes
-      ;;
-    esac
-} # func_suncc_cstd_abi
-]])# _LT_FUNC_SUNCC_CSTD_ABI
-
-
 # _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
 # ---------------------------------
 # Figure out "hidden" library dependencies from verbose
@@ -7452,7 +7449,6 @@ func_suncc_cstd_abi ()
 # objects, libraries and library flags.
 m4_defun([_LT_SYS_HIDDEN_LIBDEPS],
 [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
-m4_require([_LT_FUNC_SUNCC_CSTD_ABI])dnl
 AC_REQUIRE([_LT_FUNC_STRIPNAME_CNF])dnl
 # Dependencies to place before and after the object being linked:
 _LT_TAGVAR(predep_objects, $1)=
@@ -7623,30 +7619,6 @@ interix[[3-9]]*)
   _LT_TAGVAR(postdep_objects,$1)=
   _LT_TAGVAR(postdeps,$1)=
   ;;
-
-linux*)
-  case `$CC -V 2>&1 | sed 5q` in
-  *Sun\ C*) # Sun C++ 5.9
-    func_suncc_cstd_abi
-
-    if test no != "$suncc_use_cstd_abi"; then
-      _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
-    fi
-    ;;
-  esac
-  ;;
-
-solaris*)
-  case $cc_basename in
-  CC* | sunCC*)
-    func_suncc_cstd_abi
-
-    if test no != "$suncc_use_cstd_abi"; then
-      _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
-    fi
-    ;;
-  esac
-  ;;
 esac
 ])
 


hooks/post-receive
-- 
GNU Libtool


