Backport #718 from trunk: 1.1
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Jun 19 22:06:42 2008 +0000 (2008-06-19)
branch1.1
changeset 5882209aaba05ab
parent 587 c27787270792
child 589 35aaf07763d1
Backport #718 from trunk:
Fix building MPFR on distro that have strict sanity checks on libtool.m4 and ltmain.sh versions mismatch. UNTESTED!

/branches/1.1/scripts/build/mpfr.sh | 11 11 0 0 +++++++++++
1 file changed, 11 insertions(+)
scripts/build/mpfr.sh
     1.1 --- a/scripts/build/mpfr.sh	Thu Jun 19 22:02:17 2008 +0000
     1.2 +++ b/scripts/build/mpfr.sh	Thu Jun 19 22:06:42 2008 +0000
     1.3 @@ -25,6 +25,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"               \