config/companion_libs/mpfr.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Mar 28 01:05:18 2011 +0200 (2011-03-28)
changeset 2362 0888065f8c4d
parent 1784 dfadefc288c1
child 2436 c3e0c65b7b93
permissions -rw-r--r--
cc/gcc: cleanup the _or_later logic

So far, we've had a version always select appropriate _or_later option,
which in turn would select all previous _or_later options.

Because the dependencies on companion libs were cumulative, that was
working OK. But the upcoming 4.6 will no longer depend on libelf, so
we can't keep the cumulative scheme we've been using so far.

Have each release family select the corresponding dependencies, instead
of relying on selecting previous _or_later.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
yann@466
     1
# GMP options
yann@466
     2
yann@466
     3
choice
yann@466
     4
    bool
yann@466
     5
    prompt "MPFR version"
yann@1535
     6
# Don't remove next line
yann@1535
     7
# CT_INSERT_VERSION_BELOW
yann@466
     8
yann@1978
     9
config MPFR_V_3_0_0
yann@1978
    10
    bool
yann@1978
    11
    prompt "3.0.0"
yann@1978
    12
yann@1696
    13
config MPFR_V_2_4_2
yann@1696
    14
    bool
yann@1784
    15
    prompt "2.4.2"
yann@1696
    16
yann@1534
    17
config MPFR_V_2_4_1
yann@466
    18
    bool
yann@1534
    19
    prompt "2.4.1"
yann@1534
    20
yann@1534
    21
config MPFR_V_2_4_0
yann@1534
    22
    bool
yann@1534
    23
    prompt "2.4.0"
yann@466
    24
yann@902
    25
config MPFR_V_2_3_2
yann@902
    26
    bool
yann@1615
    27
    prompt "2.3.2 (OBSOLETE)"
yann@1615
    28
    depends on OBSOLETE
yann@902
    29
yann@1534
    30
config MPFR_V_2_3_1
yann@1199
    31
    bool
yann@1615
    32
    prompt "2.3.1 (OBSOLETE)"
yann@1615
    33
    depends on OBSOLETE
yann@1199
    34
yann@466
    35
endchoice
yann@466
    36
yann@466
    37
config MPFR_VERSION
yann@466
    38
    string
yann@1535
    39
# Don't remove next line
yann@1535
    40
# CT_INSERT_VERSION_STRING_BELOW
yann@1978
    41
    default "3.0.0" if MPFR_V_3_0_0
yann@1696
    42
    default "2.4.2" if MPFR_V_2_4_2
yann@1534
    43
    default "2.4.1" if MPFR_V_2_4_1
yann@1534
    44
    default "2.4.0" if MPFR_V_2_4_0
yann@1534
    45
    default "2.3.2" if MPFR_V_2_3_2
yann@466
    46
    default "2.3.1" if MPFR_V_2_3_1