]> git.sur5r.net Git - openocd/commitdiff
configure.ac: support MSYS with newer config.guess
authorPaul Fertser <fercerpav@gmail.com>
Sat, 7 May 2016 16:35:22 +0000 (19:35 +0300)
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>
Sat, 21 May 2016 20:51:27 +0000 (21:51 +0100)
Upstream commit
http://git.savannah.gnu.org/gitweb/?p=config.git;a=commitdiff;h=f4ebd3ed097771a729b68e688236aea665e7c1f3
makes both i386 and amd64 MSYS (and MSYS2) systems be detected as
*-pc-msys .

With this patch OpenOCD builds without any additional tweaks on MSYS2
with the latest config.guess.

Change-Id: I1ae4154f76125a84078926b425fa989904639ce0
Reported-by: "Stevens, Kelly E. M." <Kelly.Stevens@gtri.gatech.edu>
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/3468
Tested-by: jenkins
Reviewed-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
configure.ac

index aed8bce5faae1e086a8da9bcc98987036cc64c68..fb5514ee690714218590b4d9c09ebb38f072b87a 100644 (file)
@@ -585,7 +585,7 @@ case $host in
     AC_DEFINE([IS_WIN32], [1], [1 if building for Win32.])
     AC_DEFINE([IS_DARWIN], [0], [0 if not building for Darwin.])
     ;;
-  *-mingw*)
+  *-mingw* | *-msys*)
     is_mingw=yes
     is_win32=yes
     parport_use_ppdev=no