Index: tools/autotool.py
===================================================================
--- tools/autotool.py	(revision a0a273e83bf1cedff09f94c8181d7f89a6c637a6)
+++ tools/autotool.py	(revision 53a309ecb415a7ff296b01590de2f9ff2e5714cd)
@@ -54,4 +54,5 @@
 PACKAGE_GCC = "preferably version 4.7.0 or newer"
 PACKAGE_CROSS = "use tools/toolchain.sh to build the cross-compiler toolchain"
+PACKAGE_CLANG = "reasonably recent version of clang needs to be installed"
 
 COMPILER_FAIL = "The compiler is probably not capable to compile HelenOS."
@@ -907,9 +908,7 @@
 			prefix = "%s-" % gnu_target
 			
-			check_clang(path, prefix, common, "")
-			check_gcc(path, prefix, common, PACKAGE_GCC)
-			check_binutils(path, prefix, common, PACKAGE_BINUTILS)
-			
-			check_common(common, "GCC")
+			check_binutils(path, prefix, common, PACKAGE_CROSS)
+			check_clang(path, prefix, common, PACKAGE_CLANG)
+			
 			check_common(common, "CLANG")
 			common['CC'] = " ".join([common['CLANG']] + cc_args)
