From: Gary V. Vaughan Date: Thu, 29 Apr 1999 07:36:57 +0000 (+0000) Subject: * libtool.m4 (cygwin*|mingw*, DLLTOOL, OBJDUMP, AS): Only expand the X-Git-Tag: release-1-3b~91 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3698de8afdf469eeeff3b6811f37becc70cc3caa;p=thirdparty%2Flibtool.git * 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. --- diff --git a/ChangeLog b/ChangeLog index 972b40c02..9b65dc8df 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +1999-04-29 Gary V. Vaughan + + * 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 * ltmain.in (nlist, SYMFILE): Use outputname instead of output for diff --git a/libtool.m4 b/libtool.m4 index 3dce62f6f..76a1d52f7 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -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 ])