config/debug/duma.in
author Anthony Foiani <anthony.foiani@gmail.com>
Thu May 19 23:09:43 2011 +0200 (2011-05-19)
changeset 2462 139b85d70b62
parent 1844 4d6a56579d9d
child 2484 d1a8c2ae7946
permissions -rw-r--r--
complibs/ppl: fix 0.11-0.11.2 to compile with --disable-shared

PPL 0.11 (through 0.11.2) had a small bug where it still tried to build
and test its Java interface even when shared libraries are disabled.
Since that's exactly what ct-ng does, it explodes.

This is the patch from the PPL authors (see final link below).

More information can be found in these messages/threads:

Anthony's initial report and analysis with Yann:
http://www.cygwin.com/ml/crossgcc/2011-05/msg00046.html

Ron Flory hit the same problem:
http://www.cygwin.com/ml/crossgcc/2011-05/msg00054.html

Anthony's report to the ppl-devel list:
http://www.cs.unipr.it/pipermail/ppl-devel/2011-May/017450.html

Roberto's reply with a link to the fix in the PPL git repo:
http://www.cs.unipr.it/pipermail/ppl-devel/2011-May/017455.html

Signed-Off-By: Anthony Foiani <anthony.foiani@gmail.com>
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
    default n if ! SHARED_LIBS
yann@236
    19
yann@236
    20
choice
yann@236
    21
    bool
yann@236
    22
    prompt "D.U.M.A. version"
yann@1535
    23
# Don't remove next line
yann@1535
    24
# CT_INSERT_VERSION_BELOW
yann@236
    25
yann@1534
    26
config DUMA_V_2_5_15
yann@236
    27
    bool
yann@1534
    28
    prompt "2_5_15"
yann@1534
    29
yann@1534
    30
config DUMA_V_2_5_14
yann@1534
    31
    bool
yann@1615
    32
    prompt "2_5_14 (OBSOLETE)"
yann@1615
    33
    depends on OBSOLETE
yann@1534
    34
yann@1534
    35
config DUMA_V_2_5_12
yann@1534
    36
    bool
yann@1615
    37
    prompt "2_5_12 (OBSOLETE)"
yann@1615
    38
    depends on OBSOLETE
yann@236
    39
yann@369
    40
config DUMA_V_2_5_8
yann@279
    41
    bool
yann@1615
    42
    prompt "2_5_8 (OBSOLETE)"
yann@1615
    43
    depends on OBSOLETE
yann@279
    44
yann@1534
    45
config DUMA_V_2_5_1
yann@430
    46
    bool
yann@1615
    47
    prompt "2_5_1 (OBSOLETE)"
yann@1615
    48
    depends on OBSOLETE
yann@1436
    49
yann@236
    50
endchoice
yann@236
    51
yann@236
    52
config DUMA_VERSION
yann@236
    53
    string
yann@1535
    54
# Don't remove next line
yann@1535
    55
# CT_INSERT_VERSION_STRING_BELOW
yann@1534
    56
    default "2_5_15" if DUMA_V_2_5_15
yann@1534
    57
    default "2_5_14" if DUMA_V_2_5_14
yann@1534
    58
    default "2_5_12" if DUMA_V_2_5_12
yann@1534
    59
    default "2_5_8" if DUMA_V_2_5_8
yann@236
    60
    default "2_5_1" if DUMA_V_2_5_1