config/tools/libelf.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 1562 fdf936326ccd
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 # 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 # Don't remove next line
    12 # CT_INSERT_VERSION_BELOW
    13 
    14 config LIBELF_V_0_8_12
    15     bool
    16     prompt "0.8.12"
    17 
    18 config LIBELF_V_0_8_11
    19     bool
    20     prompt "0.8.11"
    21 
    22 config LIBELF_V_0_8_10
    23     bool
    24     prompt "0.8.10 (OBSOLETE)"
    25     depends on OBSOLETE
    26 
    27 endchoice
    28 
    29 config LIBELF_VERSION
    30     string
    31 # Don't remove next line
    32 # CT_INSERT_VERSION_STRING_BELOW
    33     default "0.8.12" if LIBELF_V_0_8_12
    34     default "0.8.11" if LIBELF_V_0_8_11
    35     default "0.8.10" if LIBELF_V_0_8_10