config/companion_libs/mpc.in
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 1615 50b25816f5bb
child 1783 dabf9572e240
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.
     1 # MPC options
     2 
     3 choice
     4     bool
     5     prompt "MPC version"
     6 # Don't remove next line
     7 # CT_INSERT_VERSION_BELOW
     8 
     9 config MPC_V_0_8_1
    10     bool
    11     prompt "0.8.1 (EXPERIMENTAL)"
    12     depends on EXPERIMENTAL
    13 
    14 config MPC_V_0_7
    15     bool
    16     prompt "0.7"
    17 
    18 config MPC_V_0_6
    19     bool
    20     prompt "0.6 (OBSOLETE)"
    21     depends on OBSOLETE
    22 
    23 endchoice
    24 
    25 config MPC_VERSION
    26     string
    27 # Don't remove next line
    28 # CT_INSERT_VERSION_STRING_BELOW
    29     default "0.8.1" if MPC_V_0_8_1
    30     default "0.7" if MPC_V_0_7
    31     default "0.6" if MPC_V_0_6