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