]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libltdl/m4/libtool.m4 (LT_PATH_NM): Fix autodetection of
authorPeter Ekberg <peda@lysator.liu.se>
Wed, 21 Sep 2005 16:50:18 +0000 (16:50 +0000)
committerPeter Rosin <peda@lysator.liu.se>
Wed, 21 Sep 2005 16:50:18 +0000 (16:50 +0000)
dumpbin and also check for "link -dump -symbols" as a synonym
for "dumpbin -symbols".

ChangeLog
libltdl/m4/libtool.m4

index 027c28c8aed07238ed915c854ebee76a86aa50b0..9b83565cdf210954010ab56c44f8ab5dd37c0547 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2005-09-21  Peter Ekberg  <peda@lysator.liu.se>,
 
+       * libltdl/m4/libtool.m4 (LT_PATH_NM): Fix autodetection of
+       dumpbin and also check for "link -dump -symbols" as a synonym
+       for "dumpbin -symbols".
+
        * libltdl/config/ltmain.m4sh (func_mode_uninstall): Clean
        up $dlname as well when cleaning a uninstalled libtool
        library. Fixes -mode=clean on Cygwin and MinGW to actually
index 984d53272b58ad2980ca454ed5e9f7701011c951..ceed3b0c2c404addc4e2f810cf6d6122bd327b76 100644 (file)
@@ -2906,13 +2906,13 @@ else
     fi
   done
   IFS="$lt_save_ifs"
-  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
+  : ${lt_cv_path_NM=no}
 fi])
 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_TOOL(DUMPBIN, [dumpbin -symbols], :)
+  AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
   AC_SUBST([DUMPBIN])
   if test "$DUMPBIN" != ":"; then
     NM="$DUMPBIN"