config/debug/duma.in
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Thu Dec 27 12:45:22 2012 +0100 (2012-12-27)
changeset 3152 b286c7993be5
parent 2484 d1a8c2ae7946
permissions -rw-r--r--
scripts/addToolsVersion: properly handle .in vs. .in.2

While most components have their version in the .in file, some
have it in the .in.2 (eg. elf2flt).

Currently, to handle this case, we indiscriminately munge both files,
but this is wrong: in the elf2flt case, if we add a binutils version,
we do not want it to be added to elf2flt, and conversely.

So, for each tool, we need to explicitly know what file to munge.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
yann@236
     1
# D.U.M.A. - Detect Unintended Memory Access - Memory checker
yann@236
     2
yann@2444
     3
## depends on ! BACKEND
yann@2444
     4
yann@2444
     5
## help D.U.M.A. - Detect Unintended Memory Access
yann@2444
     6
## help A memory bound checker, with additional features.
yann@2444
     7
## help Formerly known as Electric Fence.
yann@236
     8
yann@236
     9
config DUMA_A
yann@236
    10
    bool
yann@236
    11
    prompt "Build a static library"
yann@236
    12
    default y
yann@236
    13
yann@236
    14
config DUMA_SO
yann@236
    15
    bool
yann@236
    16
    prompt "Build a shared library"
yann@236
    17
    default y if SHARED_LIBS
yann@236
    18
yann@236
    19
choice
yann@236
    20
    bool
yann@236
    21
    prompt "D.U.M.A. version"
yann@1535
    22
# Don't remove next line
yann@1535
    23
# CT_INSERT_VERSION_BELOW
yann@236
    24
yann@1534
    25
config DUMA_V_2_5_15
yann@236
    26
    bool
yann@1534
    27
    prompt "2_5_15"
yann@1534
    28
yann@236
    29
endchoice
yann@236
    30
yann@236
    31
config DUMA_VERSION
yann@236
    32
    string
yann@1535
    33
# Don't remove next line
yann@1535
    34
# CT_INSERT_VERSION_STRING_BELOW
yann@1534
    35
    default "2_5_15" if DUMA_V_2_5_15