config/debug/strace.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 951 fc4f1b630dd2
child 1534 d4ddf19a1968
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 # strace
     2 
     3 config DEBUG_strace
     4 
     5 choice
     6     bool
     7     prompt "strace version"
     8 
     9 config STRACE_V_4_5
    10     bool
    11     prompt "4.5 (OBSOLETE)"
    12     depends on OBSOLETE
    13 
    14 config STRACE_V_4_5_14
    15     bool
    16     prompt "4.5.14 (OBSOLETE)"
    17     depends on OBSOLETE
    18 
    19 config STRACE_V_4_5_15
    20     bool
    21     prompt "4.5.15"
    22 
    23 config STRACE_V_4_5_16
    24     bool
    25     prompt "4.5.16"
    26 
    27 config STRACE_V_4_5_17
    28     bool
    29     prompt "4.5.17"
    30 
    31 config STRACE_V_4_5_18
    32     bool
    33     prompt "4.5.18 (EXPERIMENTAL)"
    34     depends on EXPERIMENTAL
    35 
    36 # CT_INSERT_VERSION_ABOVE
    37 # Don't remove above line!
    38 endchoice
    39 
    40 config STRACE_VERSION
    41     string
    42     default "4.5" if STRACE_V_4_5
    43     default "4.5.14" if STRACE_V_4_5_14
    44     default "4.5.15" if STRACE_V_4_5_15
    45     default "4.5.16" if STRACE_V_4_5_16
    46     default "4.5.17" if STRACE_V_4_5_17
    47     default "4.5.18" if STRACE_V_4_5_18
    48 # CT_INSERT_VERSION_STRING_ABOVE
    49 # # Don't remove above line!