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