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