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" \