qt: ensure that target dir exists before installing there
[buildroot-gz.git] / package / glibc / 2.18 / glibc-0001-accept-make4.patch
blob49db37411d13b47bce345f7b85a84054094877e7
1 Backport upstream patch (28d708c44bc47b56f6551ff285f78edcf61c208a) to accept
2 make-4.0 or newer.
3 We patch both configure and configure.in files so if we ever have to run
4 autoreconf in the glibc source, then the fix will be propagated properly.
6 Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
8 Index: glibc-2.18/configure
9 ===================================================================
10 --- glibc-2.18.orig/configure
11 +++ glibc-2.18/configure
12 @@ -4772,7 +4772,7 @@ $as_echo_n "checking version of $MAKE...
13 ac_prog_version=`$MAKE --version 2>&1 | sed -n 's/^.*GNU Make[^0-9]*\([0-9][0-9.]*\).*$/\1/p'`
14 case $ac_prog_version in
15 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
16 - 3.79* | 3.[89]*)
17 + 3.79* | 3.[89]* | [4-9].* | [1-9][0-9]*)
18 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
19 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
21 Index: glibc-2.18/configure.in
22 ===================================================================
23 --- glibc-2.18.orig/configure.in
24 +++ glibc-2.18/configure.in
25 @@ -989,7 +989,7 @@ AC_CHECK_PROG_VER(CC, ${ac_tool_prefix}g
26 critic_missing="$critic_missing gcc")
27 AC_CHECK_PROG_VER(MAKE, gnumake gmake make, --version,
28 [GNU Make[^0-9]*\([0-9][0-9.]*\)],
29 - [3.79* | 3.[89]*], critic_missing="$critic_missing make")
30 + [3.79* | 3.[89]* | [4-9].* | [1-9][0-9]*], critic_missing="$critic_missing make")
32 AC_CHECK_PROG_VER(MSGFMT, gnumsgfmt gmsgfmt msgfmt, --version,
33 [GNU gettext.* \([0-9]*\.[0-9.]*\)],