config/companion_libs/ppl.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 1324 48c12c696778
child 1535 073d351bdcd3
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@1324
     1
# PPL options
yann@1324
     2
yann@1324
     3
choice
yann@1324
     4
    bool
yann@1324
     5
    prompt "PPL version"
yann@1324
     6
yann@1324
     7
config PPL_V_0_10_2
yann@1324
     8
    bool
yann@1324
     9
    prompt "0.10.2"
yann@1324
    10
yann@1324
    11
# CT_INSERT_VERSION_ABOVE
yann@1324
    12
# Don't remove above line!
yann@1324
    13
endchoice
yann@1324
    14
yann@1324
    15
config PPL_VERSION
yann@1324
    16
    string
yann@1324
    17
    default "0.10.2" if PPL_V_0_10_2
yann@1324
    18
# CT_INSERT_VERSION_STRING_ABOVE
yann@1324
    19
# Don't remove above line!