config/debug/ltrace.in
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Sun May 11 13:38:12 2014 +0200 (2014-05-11)
changeset 3313 ad14212ebf54
parent 3142 6569f6a9060c
permissions -rw-r--r--
config: switch cc with libc in the config order

Some of the compiler options depend on the C library choice, (e.g.
whether core passes are needed).

Since the compiler menu comes before the C library menu, those options
may or may not be visible until the C library is chosen, leading to
either options being visible by the user (thus be puzzling as they would
not apply to his case), or invisible to him (yet again puzzling him).

Invert the order of the compiler and the C library in the menuconfig. It
anyway looks more rational, in the end.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
     1 # ltrace
     2 
     3 ## depends on ! BACKEND
     4 ##
     5 ## select LIBELF_TARGET
     6 ##
     7 ## help ltrace is a program that simply runs the specified command until it exits.
     8 ## help It intercepts and records the dynamic library calls which are called by
     9 ## help the executed process and the signals which are received by that process.
    10 ## help It can also intercept and print the system calls executed by the program.
    11 
    12 choice
    13     bool
    14     prompt "ltrace version"
    15 # Don't remove next line
    16 # CT_INSERT_VERSION_BELOW
    17 
    18 config LTRACE_V_0_7_3
    19     bool
    20     prompt "0.7.3"
    21 
    22 config LTRACE_V_0_5_3
    23     bool
    24     prompt "0.5.3"
    25     select LTRACE_0_5_3_or_later
    26 
    27 config LTRACE_V_0_5_2
    28     bool
    29     prompt "0.5.2"
    30 
    31 endchoice
    32 
    33 config LTRACE_VERSION
    34     string
    35 # Don't remove next line
    36 # CT_INSERT_VERSION_STRING_BELOW
    37     default "0.7.3" if LTRACE_V_0_7_3
    38     default "0.5.3" if LTRACE_V_0_5_3
    39     default "0.5.2" if LTRACE_V_0_5_2
    40 
    41 config LTRACE_0_5_3_or_later
    42     bool