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 032d3cc9c17b51649153f51c50d1586774799cbd (commit)
from c1cd198697def508fc64ffe16516cd76f8d2eb5b (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 032d3cc9c17b51649153f51c50d1586774799cbd
Author: Peter Rosin <[email protected]>
Date: Wed Mar 18 19:52:27 2009 +0100
Don't settle for any dumpbin/link program as name lister.
* libltdl/m4/libtool.m4 (LT_PATH_NM): When locating dumpbin or
link -dump, check if they appear to really be capable of name
listing, in order to eliminate e.g. link from coreutils. This
makes the name lister decision fall back on nm as the default if
no acceptable candidate is found, which mainly happens on
(arguably broken) cross compiles.
* NEWS: Update
* THANKS: Update
Reports by Rudolf Leitgeb and Peter Kjellerstedt.
Signed-off-by: Peter Rosin <[email protected]>
Signed-off-by: Ralf Wildenhues <[email protected]>
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 13 +++++++++++++
NEWS | 2 ++
THANKS | 2 ++
libltdl/m4/libtool.m4 | 14 +++++++++++++-
4 files changed, 30 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index ea0b35e..2699a09 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2009-01-26 Peter Rosin <[email protected]>
+
+ Don't settle for any dumpbin/link program as name lister.
+ * libltdl/m4/libtool.m4 (LT_PATH_NM): When locating dumpbin or
+ link -dump, check if they appear to really be capable of name
+ listing, in order to eliminate e.g. link from coreutils. This
+ makes the name lister decision fall back on nm as the default if
+ no acceptable candidate is found, which mainly happens on
+ (arguably broken) cross compiles.
+ * NEWS: Update
+ * THANKS: Update
+ Reports by Rudolf Leitgeb and Peter Kjellerstedt.
+
2009-03-03 Ralf Wildenhues <[email protected]>
Document INNER_TESTSUITEFLAGS, drop leading space.
diff --git a/NEWS b/NEWS
index 8c3fa33..ec9c835 100644
--- a/NEWS
+++ b/NEWS
@@ -31,6 +31,8 @@ New in 2.2.8 2009-??-??: git version 2.2.7a, Libtool team:
- Link tests are guarded by cache variables so they can be avoided for
bootstrapping purposes (e.g., when link tests are not possible).
- Argument mangling of execute mode has been improved (i.e., lessened).
+ - Fix 2.1b regression that caused nm to not be the default name lister.
+ The regression affected mainly (arguably broken) cross compiles.
* Miscellaneous changes:
diff --git a/THANKS b/THANKS
index 0f72886..1094bec 100644
--- a/THANKS
+++ b/THANKS
@@ -127,6 +127,7 @@
Paul Eggert [email protected]
Peter Eisentraut [email protected]
Peter Jeremy [email protected]
+ Peter Kjellerstedt [email protected]
Rainer Orth [email protected]
Rainer Tammer [email protected]
Ralf Menzel [email protected]
@@ -136,6 +137,7 @@
Roberto Bagnara [email protected]
Roland Mainz [email protected]
Roumen Petrov [email protected]
+ Rudolf Leitgeb [email protected]
Sam Thursfield [email protected]
Sebastian Wilhelmi [email protected]
Simon Josefsson [email protected]
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index b6f9f06..8fca513 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -3156,7 +3156,19 @@ if test "$lt_cv_path_NM" != "no"; then
NM="$lt_cv_path_NM"
else
# Didn't find any BSD compatible name lister, look for dumpbin.
- AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
+ if test -n "$DUMPBIN"; then :
+ # Let the user override the test.
+ else
+ AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
+ case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
+ *COFF*)
+ DUMPBIN="$DUMPBIN -symbols"
+ ;;
+ *)
+ DUMPBIN=:
+ ;;
+ esac
+ fi
AC_SUBST([DUMPBIN])
if test "$DUMPBIN" != ":"; then
NM="$DUMPBIN"
hooks/post-receive
--
GNU Libtool