configure: amend sanity check
configure: amend sanity check

As we perform some mangling of original --build/--host/--target
params we should check the result of mangling against desired triplet,
not originally passed by user.

Patch also adds mangled triplets to the output.

forked-upstream-packages-for-ghcjs/ghc,gcampax/ghc,sgillespie/ghc,sdiehl/ghc,nathyong/microghc-ghc,GaloisInc/halvm-ghc,olsner/ghc,vikraman/ghc,nushio3/ghc,nomeata/ghc,acowley/ghc,vikraman/ghc,sgillespie/ghc,tjakway/ghcjvm,wxwxwwxxx/ghc,christiaanb/ghc,mcmaniac/ghc,TomMD/ghc,siddhanathan/ghc,oldmanmike/ghc,da-x/ghc,oldmanmike/ghc,siddhanathan/ghc,lukexi/ghc,vikraman/ghc,AlexanderPankiv/ghc,vikraman/ghc,wxwxwwxxx/ghc,lukexi/ghc,shlevy/ghc,shlevy/ghc,hferreiro/replay,mfine/ghc,acowley/ghc,ezyang/ghc,ekmett/ghc,fmthoma/ghc,mcschroeder/ghc,nushio3/ghc,anton-dessiatov/ghc,nomeata/ghc,da-x/ghc,GaloisInc/halvm-ghc,holzensp/ghc,nathyong/microghc-ghc,urbanslug/ghc,GaloisInc/halvm-ghc,snoyberg/ghc,sgillespie/ghc,spacekitteh/smcghc,urbanslug/ghc,gridaphobe/ghc,GaloisInc/halvm-ghc,wxwxwwxxx/ghc,vikraman/ghc,mfine/ghc,jstolarek/ghc,lukexi/ghc-7.8-arm64,TomMD/ghc,frantisekfarka/ghc-dsi,da-x/ghc,frantisekfarka/ghc-dsi,forked-upstream-packages-for-ghcjs/ghc,mcschroeder/ghc,snoyberg/ghc,ilyasergey/GHC-XAppFix,green-haskell/ghc,da-x/ghc,olsner/ghc,vTurbine/ghc,hferreiro/replay,mettekou/ghc,GaloisInc/halvm-ghc,oldmanmike/ghc,spacekitteh/smcghc,vTurbine/ghc,acowley/ghc,forked-upstream-packages-for-ghcjs/ghc,nathyong/microghc-ghc,mcschroeder/ghc,ezyang/ghc,ghc-android/ghc,nathyong/microghc-ghc,AlexanderPankiv/ghc,oldmanmike/ghc,anton-dessiatov/ghc,ghc-android/ghc,ml9951/ghc,gcampax/ghc,lukexi/ghc-7.8-arm64,olsner/ghc,gcampax/ghc,urbanslug/ghc,shlevy/ghc,sgillespie/ghc,mettekou/ghc,olsner/ghc,green-haskell/ghc,wxwxwwxxx/ghc,wxwxwwxxx/ghc,fmthoma/ghc,da-x/ghc,mettekou/ghc,oldmanmike/ghc,ekmett/ghc,GaloisInc/halvm-ghc,TomMD/ghc,christiaanb/ghc,urbanslug/ghc,mettekou/ghc,hferreiro/replay,siddhanathan/ghc,fmthoma/ghc,ilyasergey/GHC-XAppFix,olsner/ghc,nkaretnikov/ghc,ml9951/ghc,nkaretnikov/ghc,nushio3/ghc,jstolarek/ghc,bitemyapp/ghc,nomeata/ghc,snoyberg/ghc,elieux/ghc,acowley/ghc,ryantm/ghc,wxwxwwxxx/ghc,urbanslug/ghc,tibbe/ghc,mcmaniac/ghc,mfine/ghc,ml9951/ghc,AlexanderPankiv/ghc,TomMD/ghc,gridaphobe/ghc,sgillespie/ghc,GaloisInc/halvm-ghc,shlevy/ghc,hferreiro/replay,acowley/ghc,ml9951/ghc,christiaanb/ghc,ezyang/ghc,mcmaniac/ghc,oldmanmike/ghc,mcschroeder/ghc,nushio3/ghc,ezyang/ghc,mettekou/ghc,elieux/ghc,bitemyapp/ghc,lukexi/ghc,gcampax/ghc,gridaphobe/ghc,TomMD/ghc,forked-upstream-packages-for-ghcjs/ghc,gridaphobe/ghc,christiaanb/ghc,lukexi/ghc,nathyong/microghc-ghc,tjakway/ghcjvm,jstolarek/ghc,siddhanathan/ghc,snoyberg/ghc,christiaanb/ghc,gcampax/ghc,ryantm/ghc,green-haskell/ghc,ml9951/ghc,tibbe/ghc,mcschroeder/ghc,spacekitteh/smcghc,gcampax/ghc,fmthoma/ghc,tibbe/ghc,tibbe/ghc,nomeata/ghc,mcmaniac/ghc,ryantm/ghc,gcampax/ghc,ml9951/ghc,urbanslug/ghc,ekmett/ghc,vikraman/ghc,lukexi/ghc-7.8-arm64,da-x/ghc,anton-dessiatov/ghc,ilyasergey/GHC-XAppFix,ml9951/ghc,frantisekfarka/ghc-dsi,hferreiro/replay,tjakway/ghcjvm,sdiehl/ghc,lukexi/ghc-7.8-arm64,elieux/ghc,mettekou/ghc,siddhanathan/ghc,sdiehl/ghc,mcschroeder/ghc,gridaphobe/ghc,gridaphobe/ghc,nkaretnikov/ghc,frantisekfarka/ghc-dsi,christiaanb/ghc,green-haskell/ghc,ryantm/ghc,sdiehl/ghc,fmthoma/ghc,AlexanderPankiv/ghc,AlexanderPankiv/ghc,nushio3/ghc,nkaretnikov/ghc,christiaanb/ghc,mfine/ghc,spacekitteh/smcghc,anton-dessiatov/ghc,acowley/ghc,ilyasergey/GHC-XAppFix,ml9951/ghc,sgillespie/ghc,mcschroeder/ghc,holzensp/ghc,ghc-android/ghc,shlevy/ghc,frantisekfarka/ghc-dsi,vTurbine/ghc,mfine/ghc,ezyang/ghc,nushio3/ghc,wxwxwwxxx/ghc,bitemyapp/ghc,sdiehl/ghc,holzensp/ghc,olsner/ghc,jstolarek/ghc,da-x/ghc,bitemyapp/ghc,hferreiro/replay,anton-dessiatov/ghc,snoyberg/ghc,bitemyapp/ghc,ekmett/ghc,holzensp/ghc,AlexanderPankiv/ghc,mettekou/ghc,anton-dessiatov/ghc,nkaretnikov/ghc,mfine/ghc,holzensp/ghc,snoyberg/ghc,elieux/ghc,tjakway/ghcjvm,nathyong/microghc-ghc,ghc-android/ghc,sdiehl/ghc,ghc-android/ghc,nathyong/microghc-ghc,mcmaniac/ghc,olsner/ghc,ekmett/ghc,jstolarek/ghc,lukexi/ghc-7.8-arm64,spacekitteh/smcghc,hferreiro/replay,tjakway/ghcjvm,siddhanathan/ghc,forked-upstream-packages-for-ghcjs/ghc,mfine/ghc,gridaphobe/ghc,elieux/ghc,forked-upstream-packages-for-ghcjs/ghc,forked-upstream-packages-for-ghcjs/ghc,elieux/ghc,shlevy/ghc,snoyberg/ghc,sgillespie/ghc,vTurbine/ghc,acowley/ghc,fmthoma/ghc,ghc-android/ghc,green-haskell/ghc,AlexanderPankiv/ghc,vTurbine/ghc,vTurbine/ghc,ezyang/ghc,shlevy/ghc,fmthoma/ghc,nushio3/ghc,nkaretnikov/ghc,tjakway/ghcjvm,elieux/ghc,urbanslug/ghc,TomMD/ghc,tjakway/ghcjvm,nkaretnikov/ghc,vikraman/ghc,sdiehl/ghc,lukexi/ghc,oldmanmike/ghc,ezyang/ghc,ryantm/ghc,vTurbine/ghc,ghc-android/ghc,anton-dessiatov/ghc,nomeata/ghc,tibbe/ghc,siddhanathan/ghc,TomMD/ghc