config/debug/strace.in
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Wed Dec 05 20:31:43 2012 +0100 (2012-12-05)
changeset 3134 863723936e24
parent 2733 3362c64f4b6c
child 3142 6569f6a9060c
permissions -rw-r--r--
scripts/xldd: use user's sed and grep

xldd uses sed and grep as detected by ./configure. This works well if is
used on the machine that build the toolchain.

But if the user moves the toolchain to another machine where sed and grep
are not in the same directory (eg. /bin/sed vs. /usr/bin/sed), then xldd
will stop functionning.

Fix that by using ${SED} and ${GREP} if they are set in the environment.

Reported-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
     1 # strace
     2 
     3 ## depends on ! BACKEND
     4 
     5 choice
     6     bool
     7     prompt "strace version"
     8 # Don't remove next line
     9 # CT_INSERT_VERSION_BELOW
    10 
    11 config STRACE_V_4_6
    12     bool
    13     prompt "4.6 (EXPERIMENTAL)"
    14     depends on EXPERIMENTAL
    15     depends on CONFIGURE_has_xz
    16 
    17 config STRACE_V_4_5_20
    18     bool
    19     prompt "4.5.20 (EXPERIMENTAL)"
    20     depends on EXPERIMENTAL
    21 
    22 config STRACE_V_4_5_19
    23     bool
    24     prompt "4.5.19"
    25 
    26 config STRACE_V_4_5_18
    27     bool
    28     prompt "4.5.18"
    29 
    30 config STRACE_V_4_5_17
    31     bool
    32     prompt "4.5.17 (OBSOLETE)"
    33     depends on OBSOLETE
    34 
    35 config STRACE_V_4_5_16
    36     bool
    37     prompt "4.5.16 (OBSOLETE)"
    38     depends on OBSOLETE
    39 
    40 config STRACE_V_4_5_15
    41     bool
    42     prompt "4.5.15 (OBSOLETE)"
    43     depends on OBSOLETE
    44 
    45 endchoice
    46 
    47 config STRACE_VERSION
    48     string
    49 # Don't remove next line
    50 # CT_INSERT_VERSION_STRING_BELOW
    51     default "4.6" if STRACE_V_4_6
    52     default "4.5.20" if STRACE_V_4_5_20
    53     default "4.5.19" if STRACE_V_4_5_19
    54     default "4.5.18" if STRACE_V_4_5_18
    55     default "4.5.17" if STRACE_V_4_5_17
    56     default "4.5.16" if STRACE_V_4_5_16
    57     default "4.5.15" if STRACE_V_4_5_15