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