]> git.sur5r.net Git - openocd/commitdiff
build: check buspirate build host
authorSpencer Oliver <ntfreak@users.sourceforge.net>
Tue, 16 Aug 2011 16:33:19 +0000 (17:33 +0100)
committerSpencer Oliver <ntfreak@users.sourceforge.net>
Tue, 16 Aug 2011 16:33:19 +0000 (17:33 +0100)
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>
configure.ac

index 1bbc97696e0632727d5470ed88d30ec8ce90dd5b..b6c04ab4ddc24c506993d4e7d6c0d0c80b09913c 100644 (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.])