summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJan (janneke) Nieuwenhuizen <janneke@gnu.org>2019-09-17 19:52:30 +0200
committerJan (janneke) Nieuwenhuizen <janneke@gnu.org>2021-03-18 08:40:35 +0100
commit23b1fff2d633acd49433ddcace1ee58f816ba886 (patch)
treeb48dd2698ff3292c3b319a877eb9820fcb45c0fd /configure.ac
parent3cb08041ab29c379e4b54dc092818b0dbfa044da (diff)
build: Support cross building.
* configure.ac: Add AC_CANONICAL_HOST to get host. * Makefile.am (.scm.go): Set it as target.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index d49fef1..4c1d6b0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,6 +26,7 @@ AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE([color-tests -Wall -Wno-portability foreign])
AM_SILENT_RULES([yes])
+AC_CANONICAL_HOST
AC_CONFIG_FILES([Makefile])
AC_CONFIG_FILES([pre-inst-env], [chmod +x pre-inst-env])