diff options
author | Michael Vetter <jubalh@iodoru.org> | 2022-02-18 17:36:03 +0100 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2022-02-18 17:36:03 +0100 |
commit | fc13a69f43508e4586167d282827bc813ceea605 (patch) | |
tree | 48233109a8f06651c3f0da3b9ce3e881c72f2c68 | |
parent | 28a9605a1fd4b1391d93612fa43a79b2d6542e3f (diff) | |
download | profani-tty-fc13a69f43508e4586167d282827bc813ceea605.tar.gz |
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.
-rw-r--r-- | configure.ac | 6 |
1 files 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 |