Browse Source

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>
tags/v0.6.0-rc1
Spencer Oliver 12 years ago
parent
commit
358df39b43
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      configure.ac

+ 4
- 0
configure.ac 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.])


Loading…
Cancel
Save