+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.
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