config/companion_libs/mpfr.in
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Sun May 11 13:38:12 2014 +0200 (2014-05-11)
changeset 3313 ad14212ebf54
parent 3142 6569f6a9060c
permissions -rw-r--r--
config: switch cc with libc in the config order

Some of the compiler options depend on the C library choice, (e.g.
whether core passes are needed).

Since the compiler menu comes before the C library menu, those options
may or may not be visible until the C library is chosen, leading to
either options being visible by the user (thus be puzzling as they would
not apply to his case), or invisible to him (yet again puzzling him).

Invert the order of the compiler and the C library in the menuconfig. It
anyway looks more rational, in the end.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
     1 # GMP options
     2 
     3 choice
     4     bool
     5     prompt "MPFR version"
     6 # Don't remove next line
     7 # CT_INSERT_VERSION_BELOW
     8 
     9 config MPFR_V_3_1_2
    10     bool
    11     prompt "3.1.2"
    12 
    13 config MPFR_V_3_1_0
    14     bool
    15     prompt "3.1.0"
    16 
    17 config MPFR_V_3_0_1
    18     bool
    19     prompt "3.0.1"
    20 
    21 config MPFR_V_3_0_0
    22     bool
    23     prompt "3.0.0"
    24 
    25 config MPFR_V_2_4_2
    26     bool
    27     prompt "2.4.2"
    28 
    29 config MPFR_V_2_4_1
    30     bool
    31     prompt "2.4.1"
    32 
    33 config MPFR_V_2_4_0
    34     bool
    35     prompt "2.4.0"
    36 
    37 endchoice
    38 
    39 config MPFR_VERSION
    40     string
    41 # Don't remove next line
    42 # CT_INSERT_VERSION_STRING_BELOW
    43     default "3.1.2" if MPFR_V_3_1_2
    44     default "3.1.0" if MPFR_V_3_1_0
    45     default "3.0.1" if MPFR_V_3_0_1
    46     default "3.0.0" if MPFR_V_3_0_0
    47     default "2.4.2" if MPFR_V_2_4_2
    48     default "2.4.1" if MPFR_V_2_4_1
    49     default "2.4.0" if MPFR_V_2_4_0