config/debug/strace.in
author willy tarreau <w@1wt.eu>
Sun Jan 20 12:58:22 2013 +0000 (2013-01-20)
changeset 3169 9d0b37f08a10
parent 3142 6569f6a9060c
child 3255 4f3536b12be5
permissions -rw-r--r--
arch: allow adding a suffix to the arch-part of a tuple

For some architectures, it is legit to have an alternate value in the
'architecture' part of the tuple. For example:
armv5te-*
armv7a8-*

Besides, some packages expect the tuple to reflect the arch variant
(eg. openMPI) to detect the variant's capabilities (eg. atomic
primitives).

This patch adds an option for the user to specify a suffix to be added
to the arch-part of the tuple.

Signed-off-by: Willy Tarreau <w@1wt.eu>
Message-ID: <20130120225822.GS6838@1wt.eu>
Patch-Id: 213994
[yann.morin.1998@free.fr: make it a suffix, not an override]
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"
    14     depends on CONFIGURE_has_xz
    15 
    16 config STRACE_V_4_5_20
    17     bool
    18     prompt "4.5.20"
    19 
    20 config STRACE_V_4_5_19
    21     bool
    22     prompt "4.5.19"
    23 
    24 config STRACE_V_4_5_18
    25     bool
    26     prompt "4.5.18"
    27 
    28 endchoice
    29 
    30 config STRACE_VERSION
    31     string
    32 # Don't remove next line
    33 # CT_INSERT_VERSION_STRING_BELOW
    34     default "4.6" if STRACE_V_4_6
    35     default "4.5.20" if STRACE_V_4_5_20
    36     default "4.5.19" if STRACE_V_4_5_19
    37     default "4.5.18" if STRACE_V_4_5_18