config/gmp_mpfr/mpfr.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jan 25 17:53:14 2009 +0000 (2009-01-25)
changeset 1150 218f7a0e8d71
parent 634 c74132339c44
child 1199 4714cf419e98
permissions -rw-r--r--
On 20090120.2203+0100, Andy Johnson <ajohnson@aecno.com> wrote:
The glibc.sh script doesn't handle the glibc versions with
an underscore very well (bash expected integer error). I
have attached a small patch for that. Instead of looking
for "not period" I changed the sense to look for numbers.
I initially tried to make it look for either a period or
an underscore, but that didn't work like I wanted (probably
because I did something wrong).

Original patch modified to be more robust.

/trunk/scripts/build/libc/glibc.sh | 8 4 4 0 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
     1 # GMP options
     2 
     3 choice
     4     bool
     5     prompt "MPFR version"
     6 
     7 config MPFR_V_2_3_1
     8     bool
     9     prompt "2.3.1"
    10 
    11 config MPFR_V_2_3_2
    12     bool
    13     prompt "2.3.2"
    14 
    15 # CT_INSERT_VERSION_ABOVE
    16 # Don't remove above line!
    17 endchoice
    18 
    19 config MPFR_VERSION
    20     string
    21     default "2.3.1" if MPFR_V_2_3_1
    22     default "2.3.2" if MPFR_V_2_3_2
    23 # CT_INSERT_VERSION_STRING_ABOVE
    24 # Don't remove above line!
    25 
    26 config MPFR_CHECK
    27     bool
    28     prompt "Check MPFR"
    29     default y
    30     help
    31       It is highly recommended that 'make check' is run against the newly built
    32       MPFR library. See http://gmplib.org/