config/debug/ltrace.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 1615 50b25816f5bb
child 1786 2323a54034c9
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
# ltrace
yann@245
     2
yann@916
     3
config DEBUG_ltrace
yann@916
     4
    select TOOL_libelf
yann@245
     5
    help
yann@977
     6
      ltrace is a program that simply runs the specified command until it exits.
yann@977
     7
      It intercepts and records the dynamic library calls which are called by
yann@977
     8
      the executed process and the signals which are received by that process.
yann@977
     9
      It can also intercept and print the system calls executed by the program.
yann@245
    10
yann@245
    11
choice
yann@245
    12
    bool
yann@245
    13
    prompt "ltrace version"
yann@1535
    14
# Don't remove next line
yann@1535
    15
# CT_INSERT_VERSION_BELOW
yann@245
    16
jocke@1685
    17
config LTRACE_V_0_5_3
jocke@1685
    18
    bool
jocke@1685
    19
    prompt "0.5.3 (EXPERIMENTAL)"
jocke@1685
    20
    depends on EXPERIMENTAL
jocke@1685
    21
    select LTRACE_0_5_3_or_later
jocke@1685
    22
yann@1534
    23
config LTRACE_V_0_5_2
yann@245
    24
    bool
yann@1534
    25
    prompt "0.5.2"
yann@1036
    26
yann@1197
    27
config LTRACE_V_0_5_1
yann@1197
    28
    bool
yann@1536
    29
    prompt "0.5.1 (EXPERIMENTAL)"
yann@1197
    30
    depends on EXPERIMENTAL
yann@1197
    31
yann@1534
    32
config LTRACE_V_0_5
yann@1437
    33
    bool
yann@1615
    34
    prompt "0.5 (OBSOLETE)"
yann@1615
    35
    depends on OBSOLETE
yann@1534
    36
yann@1534
    37
config LTRACE_V_0_4
yann@1534
    38
    bool
yann@1615
    39
    prompt "0.4 (OBSOLETE)"
yann@1615
    40
    depends on OBSOLETE
yann@1437
    41
yann@245
    42
endchoice
yann@245
    43
yann@245
    44
config LTRACE_VERSION
yann@245
    45
    string
yann@1535
    46
# Don't remove next line
yann@1535
    47
# CT_INSERT_VERSION_STRING_BELOW
jocke@1685
    48
    default "0.5.3" if LTRACE_V_0_5_3
yann@1534
    49
    default "0.5.2" if LTRACE_V_0_5_2
yann@1534
    50
    default "0.5.1" if LTRACE_V_0_5_1
yann@1534
    51
    default "0.5" if LTRACE_V_0_5
yann@245
    52
    default "0.4" if LTRACE_V_0_4
jocke@1685
    53
jocke@1685
    54
config LTRACE_0_5_3_or_later
jocke@1685
    55
    bool
jocke@1685
    56
    default n