summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2007-05-22 15:54:32 +0000
committerAndreas Schwab <schwab@suse.de>2007-05-22 15:54:32 +0000
commit0b7543cedbc0210ad87e0799d2b1c206751b5a2a (patch)
treed1f0759bc806fb51ef0cad7c75a2306ddab53a9d /configure.in
parent2f041d624968c64b1c8a06d78b761a4226ddaf11 (diff)
downloademacs-0b7543cedbc0210ad87e0799d2b1c206751b5a2a.tar.gz
Prefer build_alias over host when host_alias is not set.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index a8e9aec8749..b8aadf59544 100644
--- a/configure.in
+++ b/configure.in
@@ -200,7 +200,7 @@ fi
AC_CANONICAL_HOST
canonical=$host
-configuration=${host_alias-$host}
+configuration=${host_alias-${build_alias-$host}}
dnl This used to use changequote, but, apart from `changequote is evil'
dnl per the autoconf manual, we can speed up autoconf somewhat by quoting