From: Wouter Wijngaards Date: Tue, 5 Jul 2016 07:17:39 +0000 (+0000) Subject: - Fix detect of mingw for MXE package build. X-Git-Tag: release-1.5.10~58 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a758f2370ae497012a3d77d485d71ad054a518d8;p=thirdparty%2Funbound.git - Fix detect of mingw for MXE package build. git-svn-id: file:///svn/unbound/trunk@3807 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/configure b/configure index bf997a51f..807e28c98 100755 --- a/configure +++ b/configure @@ -4055,7 +4055,7 @@ esac # are we on MinGW? if uname -s 2>&1 | grep MINGW32 >/dev/null; then on_mingw="yes" else - if echo $target | grep mingw32 >/dev/null; then on_mingw="yes" + if echo $host $target | grep mingw32 >/dev/null; then on_mingw="yes" else on_mingw="no"; fi fi diff --git a/configure.ac b/configure.ac index a007e8d34..b0ad763c9 100644 --- a/configure.ac +++ b/configure.ac @@ -108,7 +108,7 @@ esac # are we on MinGW? if uname -s 2>&1 | grep MINGW32 >/dev/null; then on_mingw="yes" else - if echo $target | grep mingw32 >/dev/null; then on_mingw="yes" + if echo $host $target | grep mingw32 >/dev/null; then on_mingw="yes" else on_mingw="no"; fi fi diff --git a/doc/Changelog b/doc/Changelog index d8b35e9cb..3edb17d1d 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,5 +1,6 @@ 5 July 2016: Wouter - Fix dynamic link of anchor-update.exe on windows. + - Fix detect of mingw for MXE package build. 4 July 2016: Wouter - For #787: prefer-ip6 option for unbound.conf prefers to send