config/gmp_mpfr/mpfr.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Dec 23 22:20:25 2008 +0000 (2008-12-23)
changeset 1106 2051ee3d1b75
parent 634 c74132339c44
child 1199 4714cf419e98
permissions -rw-r--r--
Further enhance the check for needed tools:
- update the tool_pattern to use ' || ' as a pattern separator
- which allows using | in regexp
- add checks for cut and xargs
- manually check for grep and sed because they are needed when checking for tools
- print why a test failed, with each tested tool and regexp
- move tools checks before options parsing
- apply conttibutions before computing the version string
- inform user to run make && make install

/trunk/configure | 173 111 62 0 ++++++++++++++++++++++++++++++++++++++++----------------------
1 file changed, 111 insertions(+), 62 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/