mirror of
https://github.com/profanity-im/profanity.git
synced 2025-02-02 15:08:15 -05: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:
parent
28a9605a1f
commit
fc13a69f43
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user