summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index f3e97798e6..1e4510d88c 100644
--- a/configure.in
+++ b/configure.in
@@ -356,9 +356,10 @@ fi
AC_PROG_LN_S
AC_CHECK_PROGS(MSGFMT, msgfmt gmsgfmt, :)
-AC_CHECK_TOOL(CC, gcc)
+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)