aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-06-15 10:11:29 +0200
committerLudovic Courtès <ludo@gnu.org>2012-06-15 10:11:29 +0200
commit73d96596978b6a6f338e5444719a36bffd3fa521 (patch)
tree56f5caa886577c01a75bfdb53bab6d36aa8aeb4e /configure.ac
parent48e8333d91ea64ccbc6e694393783498f1aa5d4b (diff)
downloadgnu-guix-73d96596978b6a6f338e5444719a36bffd3fa521.tar
gnu-guix-73d96596978b6a6f338e5444719a36bffd3fa521.tar.gz
build: Be cross-compilation-ready.
* Makefile.am (.scm.go): Pass `--target=$(host)'. * configure.ac: Use `AC_CANONICAL_HOST'.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 8826258b04..1aabc24ab6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -14,6 +14,8 @@ AC_CONFIG_MACRO_DIR([m4])
guilemoduledir="${datarootdir}/guile/site/2.0"
AC_SUBST([guilemoduledir])
+AC_CANONICAL_HOST
+
PKG_CHECK_MODULES([GUILE], [guile-2.0])
AC_PATH_PROG([GUILE], [guile])
AC_PATH_PROG([GUILD], [guild])