1.1 --- a/scripts/build/mpfr.sh Fri Jun 20 15:16:43 2008 +0000
1.2 +++ b/scripts/build/mpfr.sh Mon Jul 14 21:21:35 2008 +0000
1.3 @@ -36,8 +36,8 @@
1.4 CT_Pushd "${CT_SRC_DIR}/${CT_MPFR_FILE}"
1.5 if [ ! -f .autotools.ct-ng ]; then
1.6 CT_DoLog EXTRA "Re-building autotools files"
1.7 - autoreconf -fi 2>&1 |CT_DoLog ALL
1.8 - libtoolize -f 2>&1 |CT_DoLog ALL
1.9 + CT_DoExecLog ALL autoreconf -fi
1.10 + CT_DoExecLog ALL libtoolize -f
1.11 touch .autotools.ct-ng
1.12 fi
1.13 CT_Popd
1.14 @@ -50,25 +50,26 @@
1.15 CT_DoStep INFO "Installing MPFR"
1.16
1.17 CT_DoLog EXTRA "Configuring MPFR"
1.18 - CFLAGS="${CT_CFLAGS_FOR_HOST}" \
1.19 - "${CT_SRC_DIR}/${CT_MPFR_FILE}/configure" \
1.20 - --build=${CT_BUILD} \
1.21 - --host=${CT_HOST} \
1.22 - --prefix="${CT_PREFIX_DIR}" \
1.23 - --enable-thread-safe \
1.24 - --disable-shared --enable-static \
1.25 - --with-gmp="${CT_PREFIX_DIR}" 2>&1 |CT_DoLog ALL
1.26 + CFLAGS="${CT_CFLAGS_FOR_HOST}" \
1.27 + CT_DoExecLog ALL \
1.28 + "${CT_SRC_DIR}/${CT_MPFR_FILE}/configure" \
1.29 + --build=${CT_BUILD} \
1.30 + --host=${CT_HOST} \
1.31 + --prefix="${CT_PREFIX_DIR}" \
1.32 + --enable-thread-safe \
1.33 + --disable-shared --enable-static \
1.34 + --with-gmp="${CT_PREFIX_DIR}"
1.35
1.36 CT_DoLog EXTRA "Building MPFR"
1.37 - make ${PARALLELMFLAGS} 2>&1 |CT_DoLog ALL
1.38 + CT_DoExecLog ALL make ${PARALLELMFLAGS}
1.39
1.40 if [ "${CT_MPFR_CHECK}" = "y" ]; then
1.41 CT_DoLog EXTRA "Checking MPFR"
1.42 - make ${PARALLELMFLAGS} -s check 2>&1 |CT_DoLog ALL
1.43 + CT_DoExecLog ALL make ${PARALLELMFLAGS} -s check
1.44 fi
1.45
1.46 CT_DoLog EXTRA "Installing MPFR"
1.47 - make install 2>&1 |CT_DoLog ALL
1.48 + CT_DoExecLog ALL make install
1.49
1.50 CT_EndStep
1.51 }
1.52 @@ -82,22 +83,23 @@
1.53 CT_DoStep INFO "Installing MPFR for the target"
1.54
1.55 CT_DoLog EXTRA "Configuring MPFR"
1.56 - CFLAGS="${CT_CFLAGS_FOR_TARGET}" \
1.57 - "${CT_SRC_DIR}/${CT_MPFR_FILE}/configure" \
1.58 - --build=${CT_BUILD} \
1.59 - --host=${CT_TARGET} \
1.60 - --prefix=/usr \
1.61 - --enable-thread-safe \
1.62 - --disable-shared --enable-static \
1.63 - --with-gmp="${CT_SYSROOT_DIR}/usr" 2>&1 |CT_DoLog ALL
1.64 + CFLAGS="${CT_CFLAGS_FOR_TARGET}" \
1.65 + CT_DoExecLog ALL \
1.66 + "${CT_SRC_DIR}/${CT_MPFR_FILE}/configure" \
1.67 + --build=${CT_BUILD} \
1.68 + --host=${CT_TARGET} \
1.69 + --prefix=/usr \
1.70 + --enable-thread-safe \
1.71 + --disable-shared --enable-static \
1.72 + --with-gmp="${CT_SYSROOT_DIR}/usr"
1.73
1.74 CT_DoLog EXTRA "Building MPFR"
1.75 - make ${PARALLELMFLAGS} 2>&1 |CT_DoLog ALL
1.76 + CT_DoExecLog ALL make ${PARALLELMFLAGS}
1.77
1.78 # Not possible to check MPFR while X-compiling
1.79
1.80 CT_DoLog EXTRA "Installing MPFR"
1.81 - make DESTDIR="${CT_SYSROOT_DIR}" install 2>&1 |CT_DoLog ALL
1.82 + CT_DoExecLog ALL make DESTDIR="${CT_SYSROOT_DIR}" install
1.83
1.84 CT_EndStep
1.85 }