* libltdl/m4/libtool.m4 (LT_PATH_NM): Fix autodetection of

dumpbin and also check for "link -dump -symbols" as a synonym
for "dumpbin -symbols".
This commit is contained in:
Peter Ekberg 2005-09-21 16:50:18 +00:00 committed by Peter Rosin
parent 9eb92b0d31
commit f8af770f96
2 changed files with 6 additions and 2 deletions

View File

@ -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

View 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"