automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DLLTOOL without LIBTOOL


From: NightStrike
Subject: Re: DLLTOOL without LIBTOOL
Date: Fri, 2 Nov 2007 12:43:05 -0400

On 11/2/07, Ralf Wildenhues <address@hidden> wrote:
> Hello NightStrike, whoever you are,

Hi :)

> * NightStrike wrote on Fri, Nov 02, 2007 at 05:29:01PM CET:
> > Currently, the macro AC_PROG_LIBTOOL will search for dlltool and
> > define $(DLLTOOL) appropriately.  If I only want dlltool itself and
> > not the rest of the libtool package, is there some sort of
> > AC_PROG_DLLTOOL macro available?
>
> FWIW, all AC_PROG_LIBTOOL does with DLLTOOL is
>     AC_CHECK_TOOL(DLLTOOL, dlltool, false)
>
> so you can just do that yourself.

How does that handle cross configurations?  For instance, if the tool
is x86_64-pc-mingw32-dlltool?

> > The issue is that I need ranlib, and
> > using both AC_PROG_RANLIB And AC_PROG_LIBTOOL drops a warning.
>
> AC_PROG_LIBTOOL checks for ranlib and sets RANLIB as well.
> That's why you get the warning.

Er... oh.  So I removed AC_PROG_RANLIB, and proved that you are indeed
correct.  That pretty much takes care of everything :)

Thanks!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]