build: check buspirate build host

buspirate has never supported building on native windows (mingw).
configure will now check this is not the case.

Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
This commit is contained in:
Spencer Oliver 2011-08-16 17:33:19 +01:00
parent 54fc164d3a
commit 358df39b43
1 changed files with 4 additions and 0 deletions

View File

@ -567,6 +567,10 @@ case $host in
fi
parport_use_giveio=yes
if test x$build_buspirate = xyes; then
AC_MSG_ERROR([buspirate currently not supported by MinGW32 hosts])
fi
CFLAGS="$CFLAGS -D__USE_MINGW_ANSI_STDIO"
AC_DEFINE(IS_MINGW, 1, [1 if building for MinGW.])