code that makes these configure time checks on hosts that need the
tools *and* if the AC_LIBTOOL_WIN32_DLL macro is used.
+1999-04-29 Gary V. Vaughan <gary@oranda.demon.co.uk>
+
+ * libtool.m4 (cygwin*|mingw*, DLLTOOL, OBJDUMP, AS): Only expand the
+ code that makes these configure time checks on hosts that need the
+ tools *and* if the AC_LIBTOOL_WIN32_DLL macro is used.
+
1999-04-29 Alexandre Oliva <oliva@dcc.unicamp.br>
* ltmain.in (nlist, SYMFILE): Use outputname instead of output for
fi
;;
-*-*-cygwin*)
+ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
+[*-*-cygwin*|*-*-mingw*)
AC_CHECK_TOOL(DLLTOOL, dlltool, false)
AC_CHECK_TOOL(AS, as, false)
AC_CHECK_TOOL(OBJDUMP, objdump, false)
;;
esac
-])
+])])
# AC_LIBTOOL_DLOPEN - enable checks for dlopen support
AC_DEFUN(AC_LIBTOOL_DLOPEN, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])])