aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2009-05-31 16:54:28 -0700
committerRoland McGrath <roland@redhat.com>2009-05-31 16:54:28 -0700
commitc16a054d5e20e4da6ccc528b690910a777d69a8b (patch)
tree2ba9c22297cd5f9c176824b7c9b545cf4e1bdf13 /configure.in
parentcc3ae2461cf5ced13ab7c7787543f4dd3eabe88c (diff)
downloadglibc-c16a054d5e20e4da6ccc528b690910a777d69a8b.zip
glibc-c16a054d5e20e4da6ccc528b690910a777d69a8b.tar.gz
glibc-c16a054d5e20e4da6ccc528b690910a777d69a8b.tar.bz2
Move AC_CANONICAL_HOST before first use of $host and $build.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index d54e952..6a92bd8 100644
--- a/configure.in
+++ b/configure.in
@@ -6,6 +6,8 @@ AC_CONFIG_SRCDIR([include/features.h])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_AUX_DIR([scripts])
+AC_CANONICAL_HOST
+
AC_PROG_CC
if test $host != $build; then
AC_CHECK_PROGS(BUILD_CC, gcc cc)
@@ -316,8 +318,6 @@ else
fi
AC_SUBST(libc_cv_nss_crypt)
-AC_CANONICAL_HOST
-
# The way shlib-versions is used to generate soversions.mk uses a
# fairly simplistic model for name recognition that can't distinguish
# i486-pc-linux-gnu fully from i486-pc-gnu. So we mutate a $host_os