config/tools/libelf.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 977 34a6d63fd7ab
child 1534 d4ddf19a1968
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@245
     1
# libelf config file
yann@245
     2
yann@916
     3
config TOOL_libelf
yann@245
     4
    help
yann@245
     5
      libelf lets you read, modify or create ELF files in an
yann@245
     6
      architecture-independent way.
yann@245
     7
yann@245
     8
choice
yann@245
     9
    bool
yann@245
    10
    prompt "libelf version"
yann@245
    11
yann@369
    12
config LIBELF_V_0_8_10
yann@369
    13
    bool
yann@369
    14
    prompt "0.8.10"
yann@369
    15
yann@1439
    16
config LIBELF_V_0_8_11
yann@1439
    17
    bool
yann@1439
    18
    prompt "0.8.11"
yann@1439
    19
yann@245
    20
# CT_INSERT_VERSION_ABOVE
yann@245
    21
# Don't remove above line!
yann@245
    22
endchoice
yann@245
    23
yann@245
    24
config LIBELF_VERSION
yann@245
    25
    string
yann@369
    26
    default "0.8.10" if LIBELF_V_0_8_10
yann@1439
    27
    default "0.8.11" if LIBELF_V_0_8_11
yann@245
    28
# CT_INSERT_VERSION_STRING_ABOVE
yann@245
    29
# Don't remove above line!