Skip to content

Commit

Permalink
configure.ac: switch from $host to $host_os
Browse files Browse the repository at this point in the history
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
  • Loading branch information
R. Diez authored and borneoa committed Dec 22, 2024
1 parent bb2fc63 commit 7f9d25d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -436,7 +436,7 @@ AS_CASE([$host],
])
])
],
[*-mingw* | *-msys*], [
[mingw* | msys*], [
is_mingw=yes
is_win32=yes
parport_use_ppdev=no
Expand All @@ -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"], [
Expand Down

0 comments on commit 7f9d25d

Please sign in to comment.