aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rwxr-xr-xconfigure2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 416ae8c9ec..92d873eeb2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-10-20 Miles Bader <[email protected]>
+
+ * configure.in (configuration): Set from `host' if `host_alias'
+ isn't defined.
+
2001-10-19 Andreas Schwab <[email protected]>
* configure.in: Make ready for autoconf 2.5x.
diff --git a/configure b/configure
index 0cc12f936c..524021e37c 100755
--- a/configure
+++ b/configure
@@ -1250,7 +1250,7 @@ host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
canonical=$host
-configuration=$host_alias
+configuration=${host_alias-$host}
### If you add support for a new configuration, add code to this
### switch statement to recognize your configuration name and select