diff -rauN make-4.2.1/configure.ac make-4.2.1-alloca-patch/configure.ac
--- make-4.2.1/configure.ac	2016-06-06 12:27:31.000000000 +0000
+++ make-4.2.1-alloca-patch/configure.ac	2018-07-19 06:17:41.011662796 +0000
@@ -399,10 +399,9 @@
 #include <glob.h>
 #include <fnmatch.h>
 
-#define GLOB_INTERFACE_VERSION 1
 #if !defined _LIBC && defined __GNU_LIBRARY__ && __GNU_LIBRARY__ > 1
 # include <gnu-versions.h>
-# if _GNU_GLOB_INTERFACE_VERSION == GLOB_INTERFACE_VERSION
+# if _GNU_GLOB_INTERFACE_VERSION == 1 || _GNU_GLOB_INTERFACE_VERSION == 2
    gnu glob
 # endif
 #endif],