fix glibc to work with all versions of binutils, fixes #7133 - thanks to marek siller
[librecmc/librecmc.git] / toolchain / glibc / patches / 2.7 / 103-binutils_2_20.patch
1 --- glibc-2.7-old/configure.in  2010-08-05 15:41:13.379279183 +0200
2 +++ glibc-2.7-new/configure.in  2010-08-05 15:46:30.236940604 +0200
3 @@ -842,10 +842,10 @@
4  # Accept binutils 2.13 or newer.
5  AC_CHECK_PROG_VER(AS, $AS, --version,
6                   [GNU assembler.* \([0-9]*\.[0-9.]*\)],
7 -                 [2.1[3-9]*], AS=: critic_missing="$critic_missing as")
8 +                 [2.1[3-9]*|2.1[0-9][0-9]*|2.[2-9]*]|[3-9].*, AS=: critic_missing="$critic_missing as")
9  AC_CHECK_PROG_VER(LD, $LD, --version,
10                   [GNU ld.* \([0-9][0-9]*\.[0-9.]*\)],
11 -                 [2.1[3-9]*], LD=: critic_missing="$critic_missing ld")
12 +                 [2.1[3-9]*|2.1[0-9][0-9]*|2.[2-9]*]|[3-9].*, LD=: critic_missing="$critic_missing ld")
13  
14  # We need the physical current working directory.  We cannot use the
15  # "pwd -P" shell builtin since that's not portable.  Instead we try to