From 7f9d25d58aeaba8eb0856604ce6e8abe739ead8d Mon Sep 17 00:00:00 2001 From: "R. Diez" Date: Fri, 29 Nov 2024 21:09:50 +0100 Subject: [PATCH] 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 Reviewed-on: https://review.openocd.org/c/openocd/+/8607 Reviewed-by: Antonio Borneo Tested-by: jenkins --- configure.ac | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 1e545dcc4..b353bced7 100644 --- a/configure.ac +++ b/configure.ac @@ -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"], [