config/companion_libs/mpfr.in
author Anthony Foiani <anthony.foiani@gmail.com>
Thu Apr 26 19:55:59 2012 -0600 (2012-04-26)
changeset 2939 58974be61289
parent 2436 c3e0c65b7b93
child 2957 3e2f2100a76d
permissions -rw-r--r--
Allow multi-word "install" command.

Autoconf can determine that the correct install command includes flags,
e.g., "/usr/bin/install -c". When using this as a command, we can't
enclose the value in double-quotes, as that makes some shells use the
whole expression as a filename:

# this is the value returned by autoconf and stored in CT_install
$ ins="/usr/bin/install -c"

# if we call it with quotes, the command is not found
$ "${ins}"
bash: /usr/bin/install -c: No such file or directory

# removing the quotes lets it work as expected
$ ${ins}
/usr/bin/install: missing file operand
Try `/usr/bin/install --help' for more information.

Signed-Off-By: Anthony Foiani <anthony.foiani@gmail.com>
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@2756
     9
config MPFR_V_3_1_0
yann@2756
    10
    bool
yann@2756
    11
    prompt "3.1.0 (EXPERIMENTAL)"
yann@2756
    12
    depends on EXPERIMENTAL
yann@2756
    13
yann@2436
    14
config MPFR_V_3_0_1
yann@2436
    15
    bool
yann@2436
    16
    prompt "3.0.1 (EXPERIMENTAL)"
yann@2436
    17
    depends on EXPERIMENTAL
yann@2436
    18
yann@1978
    19
config MPFR_V_3_0_0
yann@1978
    20
    bool
yann@1978
    21
    prompt "3.0.0"
yann@1978
    22
yann@1696
    23
config MPFR_V_2_4_2
yann@1696
    24
    bool
yann@1784
    25
    prompt "2.4.2"
yann@1696
    26
yann@1534
    27
config MPFR_V_2_4_1
yann@466
    28
    bool
yann@1534
    29
    prompt "2.4.1"
yann@1534
    30
yann@1534
    31
config MPFR_V_2_4_0
yann@1534
    32
    bool
yann@1534
    33
    prompt "2.4.0"
yann@466
    34
yann@902
    35
config MPFR_V_2_3_2
yann@902
    36
    bool
yann@1615
    37
    prompt "2.3.2 (OBSOLETE)"
yann@1615
    38
    depends on OBSOLETE
yann@902
    39
yann@1534
    40
config MPFR_V_2_3_1
yann@1199
    41
    bool
yann@1615
    42
    prompt "2.3.1 (OBSOLETE)"
yann@1615
    43
    depends on OBSOLETE
yann@1199
    44
yann@466
    45
endchoice
yann@466
    46
yann@466
    47
config MPFR_VERSION
yann@466
    48
    string
yann@1535
    49
# Don't remove next line
yann@1535
    50
# CT_INSERT_VERSION_STRING_BELOW
yann@2756
    51
    default "3.1.0" if MPFR_V_3_1_0
yann@2436
    52
    default "3.0.1" if MPFR_V_3_0_1
yann@1978
    53
    default "3.0.0" if MPFR_V_3_0_0
yann@1696
    54
    default "2.4.2" if MPFR_V_2_4_2
yann@1534
    55
    default "2.4.1" if MPFR_V_2_4_1
yann@1534
    56
    default "2.4.0" if MPFR_V_2_4_0
yann@1534
    57
    default "2.3.2" if MPFR_V_2_3_2
yann@466
    58
    default "2.3.1" if MPFR_V_2_3_1