]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4 (cygwin*|mingw*, DLLTOOL, OBJDUMP, AS): Only expand the
authorGary V. Vaughan <gary@gnu.org>
Thu, 29 Apr 1999 07:38:58 +0000 (07:38 +0000)
committerGary V. Vaughan <gary@gnu.org>
Thu, 29 Apr 1999 07:38:58 +0000 (07:38 +0000)
code that makes these configure time checks on hosts that need the
tools *and* if the AC_LIBTOOL_WIN32_DLL macro is used.

ChangeLog
libtool.m4

index 3acb29ce1dcacef0acb168b664efc9c837516b08..72e0df81417c0afb21a1f48c95c8ab4a3dd144b7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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
index 3dce62f6fb6f0f024b3ca67dbfe9435d850b0e63..c37b141bf54b42f9f9941afa07fb4589674d3e15 100644 (file)
@@ -116,14 +116,15 @@ case "$host" in
   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])])