From fc13a69f43508e4586167d282827bc813ceea605 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Fri, 18 Feb 2022 17:36:03 +0100 Subject: [PATCH] build: use target instead of host If I understand https://www.gnu.org/software/autoconf/manual/autoconf-2.68/html_node/Canonicalizing.html correctly then we should use target and not host. Will only matter in case of crosscompiling. --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index b299106a..d260ce50 100644 --- a/configure.ac +++ b/configure.ac @@ -13,9 +13,9 @@ LT_INIT AC_SYS_LARGEFILE ## Determine platform -AC_CANONICAL_HOST +AC_CANONICAL_TARGET PLATFORM="unknown" -AS_CASE([$host_os], +AS_CASE([$target_os], [freebsd*], [PLATFORM="freebsd"], [netbsd*], [PLATFORM="netbsd"], [openbsd*], [PLATFORM="openbsd"], @@ -370,7 +370,7 @@ AC_CONFIG_FILES([Makefile]) AC_OUTPUT AC_MSG_NOTICE([Summary of build options: -PLATFORM : $host_os +PLATFORM : $target_os PACKAGE_STATUS : $PACKAGE_STATUS LIBS : $LIBS Install themes : $THEMES_INSTALL