#!/bin/sh
# $Id: cfg-mingw64,v 1.4 2013/10/06 21:42:08 tom Exp $
# configure to cross-compile using mingw32 using 64-bits

BUILD_CC=${CC:-gcc}
unset CC
unset CXX

TARGET=`choose-mingw64`

if test -n "$TARGET"
then
	cfg-normal --with-build-cc=$BUILD_CC --host=$TARGET --target=$TARGET "$@"
else
	echo "? cannot find MinGW-64 compiler in path"
	exit 1
fi
