]> 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:36:57 +0000 (07:36 +0000)
committerGary V. Vaughan <gary@gnu.org>
Thu, 29 Apr 1999 07:36:57 +0000 (07:36 +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 972b40c0287c20d3e0dd1e673772e4759250b35c..9b65dc8dfc760d8a674176370f92e7995624dadb 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..76a1d52f74c99cac498636fbf0575525b63ecf71 100644 (file)
@@ -116,12 +116,13 @@ 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
 ])