aboutsummaryrefslogtreecommitdiff
path: root/util/crossgcc/patches/make-4.2.1_gnu_glob_interface_v2.patch
blob: 466d6fdd70fa620c775812fa2ff81403df020112 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff -Naur make-4.2.1/configure.ac make-4.2.1/configure.ac
--- make-4.2.1/configure.ac
+++ make-4.2.1/configure.ac
@@ -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],