configure.ac: switch from $host to $host_os

Suggested during review https://review.openocd.org/c/openocd/+/8533
Only the OS part was being checked anyway.
The aim is to facilitate merging all $host_os checks in the future.

Change-Id: Idce1d5872cf19ef423429fa0c3b2ff7ee3945332
Signed-off-by: R. Diez <rdiezmail-openocd@yahoo.de>
Reviewed-on: https://review.openocd.org/c/openocd/+/8607
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Tested-by: jenkins
This commit is contained in:
R. Diez 2024-11-29 21:09:50 +01:00 committed by Antonio Borneo
parent bb2fc63357
commit 7f9d25d58a
1 changed files with 4 additions and 4 deletions

View File

@ -415,8 +415,8 @@ AS_CASE(["${host_cpu}"],
can_build_buspirate=yes
AS_CASE([$host],
[*-cygwin*], [
AS_CASE([$host_os],
[cygwin*], [
is_win32=yes
parport_use_ppdev=no
@ -436,7 +436,7 @@ AS_CASE([$host],
])
])
],
[*-mingw* | *-msys*], [
[mingw* | msys*], [
is_mingw=yes
is_win32=yes
parport_use_ppdev=no
@ -455,7 +455,7 @@ AS_CASE([$host],
AC_SUBST([HOST_CPPFLAGS], ["-D__USE_MINGW_ANSI_STDIO -DFD_SETSIZE=128"])
],
[*darwin*], [
[darwin*], [
is_darwin=yes
AS_IF([test "x$parport_use_giveio" = "xyes"], [