mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-27 16:18:52 +00:00
70 lines
3.2 KiB
Diff
70 lines
3.2 KiB
Diff
|
diff -urpN glibc-2.12.2.orig/configure glibc-2.12.2/configure
|
||
|
--- glibc-2.12.2.orig/configure 2010-12-13 02:47:26.000000000 -0800
|
||
|
+++ glibc-2.12.2/configure 2017-02-08 00:38:10.249617723 -0800
|
||
|
@@ -5189,7 +5189,7 @@ $as_echo_n "checking version of $CC... "
|
||
|
ac_prog_version=`$CC -v 2>&1 | sed -n 's/^.*version \([egcygnustpi-]*[0-9.]*\).*$/\1/p'`
|
||
|
case $ac_prog_version in
|
||
|
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
|
||
|
- 3.4* | 4.[0-9]* )
|
||
|
+ 3.4* | [4-9].* )
|
||
|
ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
|
||
|
*) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
|
||
|
|
||
|
@@ -5252,7 +5252,7 @@ $as_echo_n "checking version of $MAKE...
|
||
|
ac_prog_version=`$MAKE --version 2>&1 | sed -n 's/^.*GNU Make[^0-9]*\([0-9][0-9.]*\).*$/\1/p'`
|
||
|
case $ac_prog_version in
|
||
|
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
|
||
|
- 3.79* | 3.[89]*)
|
||
|
+ 3.79* | 3.[89]* | [4-9].* | [1-9][0-9]*)
|
||
|
ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
|
||
|
*) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
|
||
|
|
||
|
@@ -5379,7 +5379,7 @@ $as_echo_n "checking version of $MAKEINF
|
||
|
ac_prog_version=`$MAKEINFO --version 2>&1 | sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
|
||
|
case $ac_prog_version in
|
||
|
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
|
||
|
- 4.*)
|
||
|
+ [4-9].*)
|
||
|
ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
|
||
|
*) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
|
||
|
|
||
|
@@ -5439,7 +5439,7 @@ else
|
||
|
# Found it, now check the version.
|
||
|
{ $as_echo "$as_me:$LINENO: checking version of $SED" >&5
|
||
|
$as_echo_n "checking version of $SED... " >&6; }
|
||
|
- ac_prog_version=`$SED --version 2>&1 | sed -n 's/^.*GNU sed version \([0-9]*\.[0-9.]*\).*$/\1/p'`
|
||
|
+ ac_prog_version=`$SED --version 2>&1 | sed -n 's/^.*GNU sed[^0-9]* \([0-9]*\.[0-9.]*\).*$/\1/p'`
|
||
|
case $ac_prog_version in
|
||
|
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
|
||
|
3.0[2-9]*|3.[1-9]*|[4-9]*)
|
||
|
diff -urpN glibc-2.12.2.orig/configure.in glibc-2.12.2/configure.in
|
||
|
--- glibc-2.12.2.orig/configure.in 2010-12-13 02:47:26.000000000 -0800
|
||
|
+++ glibc-2.12.2/configure.in 2017-02-08 00:29:52.484183611 -0800
|
||
|
@@ -1026,11 +1026,11 @@ fi
|
||
|
# These programs are version sensitive.
|
||
|
AC_CHECK_TOOL_PREFIX
|
||
|
AC_CHECK_PROG_VER(CC, ${ac_tool_prefix}gcc ${ac_tool_prefix}cc, -v,
|
||
|
- [version \([egcygnustpi-]*[0-9.]*\)], [3.4* | 4.[0-9]* ],
|
||
|
+ [version \([egcygnustpi-]*[0-9.]*\)], [3.4* | [4-9].* ],
|
||
|
critic_missing="$critic_missing gcc")
|
||
|
AC_CHECK_PROG_VER(MAKE, gnumake gmake make, --version,
|
||
|
[GNU Make[^0-9]*\([0-9][0-9.]*\)],
|
||
|
- [3.79* | 3.[89]*], critic_missing="$critic_missing make")
|
||
|
+ [3.79* | 3.[89]* | [4-9].* | [1-9][0-9]*], critic_missing="$critic_missing make")
|
||
|
|
||
|
AC_CHECK_PROG_VER(MSGFMT, gnumsgfmt gmsgfmt msgfmt, --version,
|
||
|
[GNU gettext.* \([0-9]*\.[0-9.]*\)],
|
||
|
@@ -1038,10 +1038,10 @@ AC_CHECK_PROG_VER(MSGFMT, gnumsgfmt gmsg
|
||
|
MSGFMT=: aux_missing="$aux_missing msgfmt")
|
||
|
AC_CHECK_PROG_VER(MAKEINFO, makeinfo, --version,
|
||
|
[GNU texinfo.* \([0-9][0-9.]*\)],
|
||
|
- [4.*],
|
||
|
+ [[4-9].*],
|
||
|
MAKEINFO=: aux_missing="$aux_missing makeinfo")
|
||
|
AC_CHECK_PROG_VER(SED, sed, --version,
|
||
|
- [GNU sed version \([0-9]*\.[0-9.]*\)],
|
||
|
+ [GNU sed[^0-9]* \([0-9]*\.[0-9.]*\)],
|
||
|
[3.0[2-9]*|3.[1-9]*|[4-9]*],
|
||
|
SED=: aux_missing="$aux_missing sed")
|
||
|
|