aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 1cf1290496..3a0f1a22f3 100644
--- a/configure.in
+++ b/configure.in
@@ -360,8 +360,9 @@ AC_PROG_LN_S
AC_CHECK_PROGS(MSGFMT, msgfmt gmsgfmt, :)
AC_PROG_CC
+AC_CANONICAL_BUILD
if test $host != $build; then
- AC_CHECK_PROG(BUILD_CC, gcc cc)
+ AC_CHECK_PROGS(BUILD_CC, gcc cc)
fi
AC_PROG_CPP
AC_CHECK_TOOL(AR, ar)