summaryrefslogtreecommitdiff
path: root/package/make/patches/patch-configure_ac
blob: e155851b41450f92e926450d742e6d3b634b0599 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- make-4.2.1.orig/configure.ac	2016-06-06 12:27:31.000000000 +0000
+++ make-4.2.1/configure.ac	2018-02-28 20:57:40.797354623 +0000
@@ -399,10 +399,9 @@ AC_CACHE_CHECK([if system libc has GNU g
 #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],