config/debug/ltrace.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Dec 23 22:20:25 2008 +0000 (2008-12-23)
changeset 1106 2051ee3d1b75
parent 979 11ffd5b1e34d
child 1197 f379ee57b01e
permissions -rw-r--r--
Further enhance the check for needed tools:
- update the tool_pattern to use ' || ' as a pattern separator
- which allows using | in regexp
- add checks for cut and xargs
- manually check for grep and sed because they are needed when checking for tools
- print why a test failed, with each tested tool and regexp
- move tools checks before options parsing
- apply conttibutions before computing the version string
- inform user to run make && make install

/trunk/configure | 173 111 62 0 ++++++++++++++++++++++++++++++++++++++++----------------------
1 file changed, 111 insertions(+), 62 deletions(-)
     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 
    15 config LTRACE_V_0_4
    16     bool
    17     prompt "0.4"
    18 
    19 config LTRACE_V_0_5
    20     bool
    21     prompt "0.5"
    22 
    23 # CT_INSERT_VERSION_ABOVE
    24 # Don't remove above line!
    25 endchoice
    26 
    27 config LTRACE_VERSION
    28     string
    29     default "0.4" if LTRACE_V_0_4
    30     default "0.5" if LTRACE_V_0_5
    31 # CT_INSERT_VERSION_STRING_ABOVE
    32 # # Don't remove above line!