scripts/build/mpfr.sh
changeset 584 b46de4c38396
parent 524 5f7fec79ca88
child 591 1854f2c508a8
     1.1 --- a/scripts/build/mpfr.sh	Wed May 21 21:52:31 2008 +0000
     1.2 +++ b/scripts/build/mpfr.sh	Thu Jun 19 21:54:57 2008 +0000
     1.3 @@ -26,6 +26,17 @@
     1.4  
     1.5      CT_DoStep INFO "Installing MPFR"
     1.6  
     1.7 +    # OK, Gentoo have a sanity check that libtool.m4 and ltmain.sh have the
     1.8 +    # same version number. Unfortunately, some tarballs of MPFR are not
     1.9 +    # built sanely, and thus ./configure fails on Gentoo.
    1.10 +    # See: http://sourceware.org/ml/crossgcc/2008-05/msg00080.html
    1.11 +    # and: http://sourceware.org/ml/crossgcc/2008-06/msg00005.html
    1.12 +    # This hack is not bad per se, but the MPFR guys would be better to not
    1.13 +    # do that in the future...
    1.14 +    CT_DoLog EXTRA "Re-building configuration files"
    1.15 +    autoreconf -fi  2>&1 |CT_DoLog ALL
    1.16 +    libtoolize      2>&1 |CT_DoLog ALL
    1.17 +
    1.18      CT_DoLog EXTRA "Configuring MPFR"
    1.19      CFLAGS="${CT_CFLAGS_FOR_HOST}"                          \
    1.20      "${CT_SRC_DIR}/${CT_MPFR_FILE}/configure"               \