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>
     1 # D.U.M.A. - Detect Unintended Memory Access - Memory checker
     2 
     3 ## depends on ! BACKEND
     4 
     5 ## help D.U.M.A. - Detect Unintended Memory Access
     6 ## help A memory bound checker, with additional features.
     7 ## help Formerly known as Electric Fence.
     8 
     9 config DUMA_A
    10     bool
    11     prompt "Build a static library"
    12     default y
    13 
    14 config DUMA_SO
    15     bool
    16     prompt "Build a shared library"
    17     default y if SHARED_LIBS
    18     default n if ! SHARED_LIBS
    19 
    20 choice
    21     bool
    22     prompt "D.U.M.A. version"
    23 # Don't remove next line
    24 # CT_INSERT_VERSION_BELOW
    25 
    26 config DUMA_V_2_5_15
    27     bool
    28     prompt "2_5_15"
    29 
    30 config DUMA_V_2_5_14
    31     bool
    32     prompt "2_5_14 (OBSOLETE)"
    33     depends on OBSOLETE
    34 
    35 config DUMA_V_2_5_12
    36     bool
    37     prompt "2_5_12 (OBSOLETE)"
    38     depends on OBSOLETE
    39 
    40 config DUMA_V_2_5_8
    41     bool
    42     prompt "2_5_8 (OBSOLETE)"
    43     depends on OBSOLETE
    44 
    45 config DUMA_V_2_5_1
    46     bool
    47     prompt "2_5_1 (OBSOLETE)"
    48     depends on OBSOLETE
    49 
    50 endchoice
    51 
    52 config DUMA_VERSION
    53     string
    54 # Don't remove next line
    55 # CT_INSERT_VERSION_STRING_BELOW
    56     default "2_5_15" if DUMA_V_2_5_15
    57     default "2_5_14" if DUMA_V_2_5_14
    58     default "2_5_12" if DUMA_V_2_5_12
    59     default "2_5_8" if DUMA_V_2_5_8
    60     default "2_5_1" if DUMA_V_2_5_1