From: Michael Tremer Date: Sun, 20 Apr 2008 07:52:02 +0000 (+0200) Subject: Added three host requirement checks... X-Git-Tag: v3.0-alpha1~1037 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ac3376a4b2bd4471fefebd5071264a794225d80d;p=ipfire-3.x.git Added three host requirement checks... --- diff --git a/tools/make-check b/tools/make-check index 66cced646..4d095ada9 100644 --- a/tools/make-check +++ b/tools/make-check @@ -55,13 +55,16 @@ check_common() { check_toolchain() { check_common "GNU Bash" "2.05a" "bash --version | head -n1 | cut -d\" \" -f2-4" + check_common "/bin/sh links bash?" "if ! which sh; then echo \"command not found\"; fi" check_common "GNU Binutils" "2.12" "ld --version | head -n1 | cut -d\" \" -f3-" "Binutils: " check_common "GNU Bison" "1.875" "bison --version | head -n1" + check_common "/usr/bin/yacc links bison?" "if ! which yacc; then echo \"command not found\"; fi" check_common "Bzip2" "1.0.2" "bzip2 --version 2>&1 < /dev/null | head -n1 | cut -d\" \" -f1,6-" check_common "Coreutils" "5.0" "chown --version | head -n1 | cut -d\")\" -f2" "Coreutils:" check_common "Diffutils" "2.8" "diff --version | head -n1" check_common "Findutils" "4.1.20" "find --version | head -n1" check_common "GNU awk" "3.0" "gawk --version | head -n1" + check_common "/bin/awk links gawk?" "if ! which awk; then echo \"command not found\"; fi" check_common "GNU CC" "3.0.1" "gcc --version | head -n1" check_common "GNU libc" "2.2.5" "/lib/libc.so.6 | head -n1 | cut -d\" \" -f1-7" check_common "GNU Grep" "2.5" "grep --version | head -n1"