scripts/build/mpfr.sh
changeset 595 3ea35558d659
parent 591 1854f2c508a8
child 598 a2b23333b17a
     1.1 --- a/scripts/build/mpfr.sh	Fri Jun 20 07:44:14 2008 +0000
     1.2 +++ b/scripts/build/mpfr.sh	Fri Jun 20 09:17:06 2008 +0000
     1.3 @@ -18,13 +18,6 @@
     1.4  # Extract MPFR
     1.5  do_mpfr_extract() {
     1.6      CT_ExtractAndPatch "${CT_MPFR_FILE}"
     1.7 -}
     1.8 -
     1.9 -do_mpfr() {
    1.10 -    mkdir -p "${CT_BUILD_DIR}/build-mpfr"
    1.11 -    cd "${CT_BUILD_DIR}/build-mpfr"
    1.12 -
    1.13 -    CT_DoStep INFO "Installing MPFR"
    1.14  
    1.15      # OK, Gentoo have a sanity check that libtool.m4 and ltmain.sh have the
    1.16      # same version number. Unfortunately, some tarballs of MPFR are not
    1.17 @@ -33,11 +26,17 @@
    1.18      # and: http://sourceware.org/ml/crossgcc/2008-06/msg00005.html
    1.19      # This hack is not bad per se, but the MPFR guys would be better to not
    1.20      # do that in the future...
    1.21 -    CT_DoLog EXTRA "Re-building configuration files"
    1.22      CT_Pushd "${CT_SRC_DIR}/${CT_MPFR_FILE}"
    1.23      autoreconf -fi  2>&1 |CT_DoLog ALL
    1.24      libtoolize      2>&1 |CT_DoLog ALL
    1.25      CT_Popd
    1.26 +}
    1.27 +
    1.28 +do_mpfr() {
    1.29 +    mkdir -p "${CT_BUILD_DIR}/build-mpfr"
    1.30 +    cd "${CT_BUILD_DIR}/build-mpfr"
    1.31 +
    1.32 +    CT_DoStep INFO "Installing MPFR"
    1.33  
    1.34      CT_DoLog EXTRA "Configuring MPFR"
    1.35      CFLAGS="${CT_CFLAGS_FOR_HOST}"                          \