aclocal.m4: allow override of dllwrap and windres when cross-compiling
authorSergei Trofimovich <slyfox@gentoo.org>
Tue, 23 May 2017 08:13:43 +0000 (09:13 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Tue, 23 May 2017 08:13:43 +0000 (09:13 +0100)
commit1fd06de4e98d1b659500ecd66d88d6d80fcc60d3
tree3e391a11438685a0262a29c5936c1c8819380ffc
parent033f897a8ad34d62aff585d9df16c640bb55f21c
aclocal.m4: allow override of dllwrap and windres when cross-compiling

Commit 66108864540601837ad77847f4062a670362361f reverted ability
to override 'dllwrap' and 'windres' paths when cross-compiling.

After this change (and a few libraries/Win32 patches) I was able
to build cross-compiler to windows:

    $ ./configure --target=i686-w64-mingw32 \
        DllWrap=i686-w64-mingw32-dllwrap \
        Windres=i686-w64-mingw32-windres

Later both 'dllwrap' and 'windres' should be derived from --target=
as we do now for 'CC', 'AR', 'NM' and others.

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
aclocal.m4