1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-22 19:45:54 -04:00

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.
This commit is contained in:
Michael Vetter 2022-02-18 17:36:03 +01:00
parent 28a9605a1f
commit fc13a69f43

View File

@ -13,9 +13,9 @@ LT_INIT
AC_SYS_LARGEFILE AC_SYS_LARGEFILE
## Determine platform ## Determine platform
AC_CANONICAL_HOST AC_CANONICAL_TARGET
PLATFORM="unknown" PLATFORM="unknown"
AS_CASE([$host_os], AS_CASE([$target_os],
[freebsd*], [PLATFORM="freebsd"], [freebsd*], [PLATFORM="freebsd"],
[netbsd*], [PLATFORM="netbsd"], [netbsd*], [PLATFORM="netbsd"],
[openbsd*], [PLATFORM="openbsd"], [openbsd*], [PLATFORM="openbsd"],
@ -370,7 +370,7 @@ AC_CONFIG_FILES([Makefile])
AC_OUTPUT AC_OUTPUT
AC_MSG_NOTICE([Summary of build options: AC_MSG_NOTICE([Summary of build options:
PLATFORM : $host_os PLATFORM : $target_os
PACKAGE_STATUS : $PACKAGE_STATUS PACKAGE_STATUS : $PACKAGE_STATUS
LIBS : $LIBS LIBS : $LIBS
Install themes : $THEMES_INSTALL Install themes : $THEMES_INSTALL