summaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2009-04-24 02:05:23 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:16:04 +0200
commitd6690cc7b396ea5e9e9b4f50749d89ad5860d84c (patch)
tree1a346db9e2f6ec82df3290204c76e777f0accaac /m4
parenta08f4deafe217d457e35c394545b1e1aa27c02ba (diff)
downloadexternal_gettext-d6690cc7b396ea5e9e9b4f50749d89ad5860d84c.zip
external_gettext-d6690cc7b396ea5e9e9b4f50749d89ad5860d84c.tar.gz
external_gettext-d6690cc7b396ea5e9e9b4f50749d89ad5860d84c.tar.bz2
Fix recognition of "nm" command.
Diffstat (limited to 'm4')
-rw-r--r--m4/libtool.m45
1 files changed, 4 insertions, 1 deletions
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index 11f9282..559f1d9 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -3176,7 +3176,10 @@ AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
lt_cv_path_NM="$NM"
else
lt_nm_to_check="${ac_tool_prefix}nm"
- if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
+ if test -n "$ac_tool_prefix" \
+ && { test "$build" = "$host" \
+ || { test "$build_os" = cygwin && test "$host_os" = mingw32; }; \
+ }; then
lt_nm_to_check="$lt_nm_to_check nm"
fi
for lt_tmp_nm in $lt_nm_to_check; do