configure
changeset 553 b2261f6f9bc2
parent 542 4cdd0e37b577
child 554 be6197b5b33b
     1.1 --- a/configure	Sun Jun 01 20:33:41 2008 +0000
     1.2 +++ b/configure	Wed Jun 11 20:40:38 2008 +0000
     1.3 @@ -123,6 +123,7 @@
     1.4  
     1.5  # If this version is a svn snapshot, try to get the revision number
     1.6  # If we can't get the revision number, use date
     1.7 +echo -n "Computing version string... "
     1.8  case "${VERSION}" in
     1.9    *+svn)
    1.10      REVISION=$(LC_ALL=C svnversion)
    1.11 @@ -137,13 +138,17 @@
    1.12      esac
    1.13      ;;
    1.14  esac
    1.15 +echo "${VERSION}"
    1.16  
    1.17  # Check bash is present, and at least version 3.0
    1.18 +echo -n "Checking bash is at least bash-3.0... "
    1.19  [ -x /bin/bash ] || do_error "bash 3.0 or above was not found in /bin/bash"
    1.20  bash_version=$(/bin/bash -c 'echo ${BASH_VERSION}')
    1.21  bash_major=$(/bin/bash -c 'echo ${BASH_VERSINFO[0]}')
    1.22  [ ${bash_major} -ge 3 ] || do_error "bash 3.0 or above is needed (/bin/bash is ${bash_version})"
    1.23 +echo "ok (${bash_version})"
    1.24  
    1.25 +echo -n "Building up Makefile... "
    1.26  sed -r -e "s,@@BINDIR@@,${BINDIR},g;"   \
    1.27         -e "s,@@LIBDIR@@,${LIBDIR},g;"   \
    1.28         -e "s,@@DOCDIR@@,${DOCDIR},g;"   \
    1.29 @@ -152,6 +157,7 @@
    1.30         -e "s,@@DATE@@,${DATE},g;"       \
    1.31         -e "s,@@LOCAL@@,${LOCAL_set},g;" \
    1.32         Makefile.in >Makefile
    1.33 +echo "ok"
    1.34  
    1.35  cat <<__EOF__
    1.36  crosstool-NG configured as follows: