scripts/build/arch/alpha.sh
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jan 17 23:06:02 2010 +0100 (2010-01-17)
changeset 1740 c57458bb354d
parent 964 0535f7bf1069
child 3169 9d0b37f08a10
permissions -rw-r--r--
configure: do not require hg when configuring in an hg clone

When configuring in an hg clone, we need hg to compute the version string.
It can happen that users do not have Mercurial (eg. if they got a snapshot
rather that they did a full clone). In this case, we can still run, of
course, so simply fill the version string with a sufficiently explicit
value, that does not require hg. The date is a good candidate.
yann@557
     1
# Compute Alpha-specific values
yann@557
     2
yann@964
     3
CT_DoArchTupleValues () {
yann@557
     4
    # The architecture part of the tuple:
yann@557
     5
    CT_TARGET_ARCH="${CT_ARCH}${CT_ARCH_ALPHA_VARIANT}"
yann@557
     6
}