Changeset 020f4dc for common/libs


Ignore:
Timestamp:
03/24/2007 03:01:59 PM (17 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
26dbe1a
Parents:
b11c10b
Message:

Added Bison to host requisites and fixed minimun GCC version.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/libs/func_check_version.sh

    rb11c10b r020f4dc  
    4141
    4242#  echo -ne "$TXT:\t${L_arrow}${BOLD}${tst_version}${OFF}${R_arrow}"
    43   IFS=".-(p"   # Split up w.x.y.z as well as w.x.y-rc  (catch release candidates)
     43  IFS=".-(pa"   # Split up w.x.y.z as well as w.x.y-rc  (catch release candidates)
    4444  set -- $ref_version # set postional parameters to minimum ver values
    4545  ref_major=$1; ref_minor=$2; ref_revision=$3
     
    7070    check_version "2.6.2"    "`uname -r`"                                     "KERNEL"
    7171    check_version "2.0.5"    "$BASH_VERSION"                                  "BASH"
    72     check_version "3.0.0"    "`gcc -dumpversion`"                             "GCC"
     72    check_version "3.0.1"    "`gcc -dumpversion`"                             "GCC"
    7373    libcVer="`/lib/libc.so.6 | head -n1`"
    7474    libcVer="${libcVer##*version }"
     
    7878    bzip2Ver="$(bzip2 --version 2>&1 < /dev/null | head -n1 | cut -d" " -f8)"
    7979    check_version "1.0.2"    "${bzip2Ver%%,*}"                                   "BZIP2"
     80    check_version "1.26a"     "$(bison --version | head -n1 | cut -d" " -f4)"     "BISON"
    8081    check_version "5.0"      "$(chown --version | head -n1 | cut -d")" -f2)"     "COREUTILS"
    8182    check_version "2.8"      "$(diff --version  | head -n1 | cut -d" " -f4)"     "DIFF"
Note: See TracChangeset for help on using the changeset viewer.