config/companion_libs/mpc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Oct 03 18:49:23 2009 +0200 (2009-10-03)
changeset 1560 79a609170a83
parent 1384 b23f3c2e0c73
child 1531 d173907c6c7e
permissions -rw-r--r--
configure: split has_or_abort in two: one to check, one to abort

Split the has_or_abort function in two:
- one that checks if the tool if found,
- one that calls the above check, and aborts if not found

The rational behind this is to be able to check for a tool
and if not found, fallback to using our bundled version,
should the need arise (and I get time).
yann@1384
     1
# MPC options
yann@1384
     2
yann@1384
     3
choice
yann@1384
     4
    bool
yann@1384
     5
    prompt "MPC version"
yann@1384
     6
yann@1384
     7
config MPC_V_0_6
yann@1384
     8
    bool
yann@1384
     9
    prompt "0.6"
yann@1384
    10
yann@1384
    11
# CT_INSERT_VERSION_ABOVE
yann@1384
    12
# Don't remove above line!
yann@1384
    13
endchoice
yann@1384
    14
yann@1384
    15
config MPC_VERSION
yann@1384
    16
    string
yann@1384
    17
    default "0.6" if MPC_V_0_6
yann@1384
    18
# CT_INSERT_VERSION_STRING_ABOVE
yann@1384
    19
# Don't remove above line!