From: Gary V. Vaughan Date: Thu, 29 Apr 1999 07:38:58 +0000 (+0000) Subject: * libtool.m4 (cygwin*|mingw*, DLLTOOL, OBJDUMP, AS): Only expand the X-Git-Tag: release-1-3~16 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c129c8ecf586bbf2ce6a703139a958fbce387b9f;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 3acb29ce1..72e0df814 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..c37b141bf 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -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])])