ce426f
#
ce426f
# BZ #16037
ce426f
#
ce426f
# Allow building glibc with make version 4.0 or greater.
ce426f
# This facilitates testing and QE on non-RHEL environments during
ce426f
# patch development.
ce426f
#
ce426f
# commit 28d708c44bc47b56f6551ff285f78edcf61c208a
ce426f
# Author: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
ce426f
# Date:   Thu Oct 31 12:37:50 2013 +1000
ce426f
#
ce426f
#    Accept make versions 4.0 and greater
ce426f
#
ce426f
diff -urN glibc-2.17-c758a686/configure glibc-2.17-c758a686/configure
ce426f
--- glibc-2.17-c758a686/configure	2015-01-15 16:32:14.983435268 -0500
ce426f
+++ glibc-2.17-c758a686/configure	2015-01-15 16:32:45.396495266 -0500
ce426f
@@ -4991,7 +4991,7 @@
ce426f
   ac_prog_version=`$MAKE --version 2>&1 | sed -n 's/^.*GNU Make[^0-9]*\([0-9][0-9.]*\).*$/\1/p'`
ce426f
   case $ac_prog_version in
ce426f
     '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
ce426f
-    3.79* | 3.[89]*)
ce426f
+    3.79* | 3.[89]* | [4-9].* | [1-9][0-9]*)
ce426f
        ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
ce426f
     *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
ce426f
 
ce426f
diff -urN glibc-2.17-c758a686/configure.in glibc-2.17-c758a686/configure.in
ce426f
--- glibc-2.17-c758a686/configure.in	2015-01-15 16:32:14.781441511 -0500
ce426f
+++ glibc-2.17-c758a686/configure.in	2015-01-15 16:32:34.970817501 -0500
ce426f
@@ -945,7 +945,7 @@
ce426f
   critic_missing="$critic_missing gcc")
ce426f
 AC_CHECK_PROG_VER(MAKE, gnumake gmake make, --version,
ce426f
   [GNU Make[^0-9]*\([0-9][0-9.]*\)],
ce426f
-  [3.79* | 3.[89]*], critic_missing="$critic_missing make")
ce426f
+  [3.79* | 3.[89]* | [4-9].* | [1-9][0-9]*], critic_missing="$critic_missing make")
ce426f
 
ce426f
 AC_CHECK_PROG_VER(MSGFMT, gnumsgfmt gmsgfmt msgfmt, --version,
ce426f
   [GNU gettext.* \([0-9]*\.[0-9.]*\)],