Fix building MPFR on distro that have strict sanity checks on libtool.m4 and ltmain.sh versions mismatch. UNTESTED!
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Jun 19 21:54:57 2008 +0000 (2008-06-19)
changeset 584b46de4c38396
parent 583 44b87fb3f0d3
child 591 1854f2c508a8
Fix building MPFR on distro that have strict sanity checks on libtool.m4 and ltmain.sh versions mismatch. UNTESTED!

/trunk/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 15:33:33 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"               \