config/debug/duma.in
author Anthony Foiani <anthony.foiani@gmail.com>
Thu May 19 23:09:43 2011 +0200 (2011-05-19)
branch1.11
changeset 2465 5f98b7a90fbc
parent 1615 50b25816f5bb
child 2444 896cb0d36c1a
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>
(transplanted from 139b85d70b623e51f7585e7c64ecb8c6a6cf4567)
yann@236
     1
# D.U.M.A. - Detect Unintended Memory Access - Memory checker
yann@1844
     2
# depends on ! BACKEND
yann@236
     3
yann@916
     4
config DEBUG_duma
yann@236
     5
    help
yann@236
     6
      D.U.M.A. - Detect Unintended Memory Access
yann@236
     7
      A memory bound checker, with additional features.
yann@236
     8
      Formerly known as Electric Fence.
yann@236
     9
yann@236
    10
config DUMA_A
yann@236
    11
    bool
yann@236
    12
    prompt "Build a static library"
yann@236
    13
    default y
yann@236
    14
yann@236
    15
config DUMA_SO
yann@236
    16
    bool
yann@236
    17
    prompt "Build a shared library"
yann@236
    18
    default y if SHARED_LIBS
yann@236
    19
    default n if ! SHARED_LIBS
yann@236
    20
yann@236
    21
choice
yann@236
    22
    bool
yann@236
    23
    prompt "D.U.M.A. version"
yann@1535
    24
# Don't remove next line
yann@1535
    25
# CT_INSERT_VERSION_BELOW
yann@236
    26
yann@1534
    27
config DUMA_V_2_5_15
yann@236
    28
    bool
yann@1534
    29
    prompt "2_5_15"
yann@1534
    30
yann@1534
    31
config DUMA_V_2_5_14
yann@1534
    32
    bool
yann@1615
    33
    prompt "2_5_14 (OBSOLETE)"
yann@1615
    34
    depends on OBSOLETE
yann@1534
    35
yann@1534
    36
config DUMA_V_2_5_12
yann@1534
    37
    bool
yann@1615
    38
    prompt "2_5_12 (OBSOLETE)"
yann@1615
    39
    depends on OBSOLETE
yann@236
    40
yann@369
    41
config DUMA_V_2_5_8
yann@279
    42
    bool
yann@1615
    43
    prompt "2_5_8 (OBSOLETE)"
yann@1615
    44
    depends on OBSOLETE
yann@279
    45
yann@1534
    46
config DUMA_V_2_5_1
yann@430
    47
    bool
yann@1615
    48
    prompt "2_5_1 (OBSOLETE)"
yann@1615
    49
    depends on OBSOLETE
yann@1436
    50
yann@236
    51
endchoice
yann@236
    52
yann@236
    53
config DUMA_VERSION
yann@236
    54
    string
yann@1535
    55
# Don't remove next line
yann@1535
    56
# CT_INSERT_VERSION_STRING_BELOW
yann@1534
    57
    default "2_5_15" if DUMA_V_2_5_15
yann@1534
    58
    default "2_5_14" if DUMA_V_2_5_14
yann@1534
    59
    default "2_5_12" if DUMA_V_2_5_12
yann@1534
    60
    default "2_5_8" if DUMA_V_2_5_8
yann@236
    61
    default "2_5_1" if DUMA_V_2_5_1