]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Added three host requirement checks...
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 20 Apr 2008 07:52:02 +0000 (09:52 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 20 Apr 2008 07:52:02 +0000 (09:52 +0200)
tools/make-check

index 66cced646ec1aaf0facf82e2c0955ba435337162..4d095ada976a10f73ba3f368d827e24025c05319 100644 (file)
@@ -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"