patches/binutils/2.17a/120-makeinfo-version.patch
author Zhenqiang Chen <zhenqiang.chen@linaro.org>
Fri Nov 18 11:32:50 2011 +0800 (2011-11-18)
branch1.13
changeset 2841 64fe22ca6e6f
parent 558 6180835f7044
permissions -rw-r--r--
cc/gcc: Apply CT_CC_GCC_DISABLE_PCH to do_cc_core.

Otherwise, users have to input --disable-libstdcxx-pch option
when building bare-metal CANADIAN C++ compiler.

Reviewed-by: Michael Hope
Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>
(transplanted from e3e1c9d45bddfbfb433ee9d583faf42fa31f50c0)
     1 diff -u binutils-2.18-orig/configure binutils-2.18/configure
     2 --- binutils-2.18-orig/configure	2007-08-06 16:29:40.000000000 -0400
     3 +++ binutils-2.18/configure	2007-09-27 22:41:51.000000000 -0400
     4 @@ -6125,10 +6125,10 @@
     5    *" texinfo "*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
     6    *)
     7  
     8 -    # For an installed makeinfo, we require it to be from texinfo 4.4 or
     9 +    # For an installed makeinfo, we require it to be from texinfo 4.6 or
    10      # higher, else we use the "missing" dummy.
    11      if ${MAKEINFO} --version \
    12 -       | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|[5-9])' >/dev/null 2>&1; then
    13 +       | egrep 'texinfo[^0-9]*(4\.([6-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
    14        :
    15      else
    16        MAKEINFO="$MISSING makeinfo"