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