]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Fix recognition of "nm" command.
authorBruno Haible <bruno@clisp.org>
Fri, 24 Apr 2009 02:05:23 +0000 (02:05 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:16:04 +0000 (12:16 +0200)
ChangeLog
m4/libtool.m4

index 7fef78d67d7a3d2e5e70d7446d39be68d46858dd..2afae4551d12137543c8a14c13ab8e8483c67f6a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-04-23  Bruno Haible  <bruno@clisp.org>
+
+       Fix recognition of "nm" command.
+       * m4/libtool.m4 (LT_PATH_NM): Try "nm" program also when compiling for
+       mingw in a cygwin environment.
+
 2009-04-23  Bruno Haible  <bruno@clisp.org>
 
        * m4/libtool.m4: Fix recognition of 'link' command.
index 11f928298058ed98ff57f60861c6b3d1057b083c..559f1d9da3a165eec761a61cab33c627d9121411 100644 (file)
@@ -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