config/debug/ltrace.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 1197 f379ee57b01e
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).
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@245
    14
yann@245
    15
config LTRACE_V_0_4
yann@245
    16
    bool
yann@245
    17
    prompt "0.4"
yann@245
    18
yann@1036
    19
config LTRACE_V_0_5
yann@1036
    20
    bool
yann@1036
    21
    prompt "0.5"
yann@1036
    22
yann@1197
    23
config LTRACE_V_0_5_1
yann@1197
    24
    bool
yann@1197
    25
    prompt "0.5.1  (EXPERIMENTAL)"
yann@1197
    26
    depends on EXPERIMENTAL
yann@1197
    27
yann@1437
    28
config LTRACE_V_0_5_2
yann@1437
    29
    bool
yann@1437
    30
    prompt "0.5.2"
yann@1437
    31
yann@245
    32
# CT_INSERT_VERSION_ABOVE
yann@245
    33
# Don't remove above line!
yann@245
    34
endchoice
yann@245
    35
yann@245
    36
config LTRACE_VERSION
yann@245
    37
    string
yann@245
    38
    default "0.4" if LTRACE_V_0_4
yann@1036
    39
    default "0.5" if LTRACE_V_0_5
yann@1197
    40
    default "0.5.1" if LTRACE_V_0_5_1
yann@1437
    41
    default "0.5.2" if LTRACE_V_0_5_2
yann@245
    42
# CT_INSERT_VERSION_STRING_ABOVE
yann@245
    43
# # Don't remove above line!