changeset 81041:da070d0314e4

Prefer build_alias over host when host_alias is not set.
author Andreas Schwab <schwab@suse.de>
date Tue, 22 May 2007 15:54:32 +0000
parents daf60d1c2ce8
children 84043bdb6f7d
files configure.in
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Tue May 22 13:45:59 2007 +0000
+++ b/configure.in	Tue May 22 15:54:32 2007 +0000
@@ -200,7 +200,7 @@
 
 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