Call AC_CANONICAL_BUILD before referencing $build. Fix test for
authordrepper <drepper>
Wed, 2 Apr 1997 11:29:04 +0000 (11:29 +0000)
committerdrepper <drepper>
Wed, 2 Apr 1997 11:29:04 +0000 (11:29 +0000)
BUILD_CC.

configure.in

index 1cf1290..3a0f1a2 100644 (file)
@@ -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)