Blame SOURCES/make-4.2.1-glob-fix.patch

0c7b6a
From 48c8a116a914a325a0497721f5d8b58d5bba34d4 Mon Sep 17 00:00:00 2001
0c7b6a
From: Paul Smith <psmith@gnu.org>
0c7b6a
Date: Sun, 19 Nov 2017 15:09:16 -0500
0c7b6a
Subject: * configure.ac: Support GLIBC glob interface version 2
0c7b6a
0c7b6a
---
0c7b6a
 configure.ac | 3 +--
0c7b6a
 1 file changed, 1 insertion(+), 2 deletions(-)
0c7b6a
0c7b6a
diff --git a/configure.ac b/configure.ac
0c7b6a
index 8c72568..4710832 100644
0c7b6a
--- a/configure.ac
0c7b6a
+++ b/configure.ac
0c7b6a
@@ -404,10 +404,9 @@ AC_CACHE_CHECK([if system libc has GNU glob], [make_cv_sys_gnu_glob],
0c7b6a
 #include <glob.h>
0c7b6a
 #include <fnmatch.h>
0c7b6a
 
0c7b6a
-#define GLOB_INTERFACE_VERSION 1
0c7b6a
 #if !defined _LIBC && defined __GNU_LIBRARY__ && __GNU_LIBRARY__ > 1
0c7b6a
 # include <gnu-versions.h>
0c7b6a
-# if _GNU_GLOB_INTERFACE_VERSION == GLOB_INTERFACE_VERSION
0c7b6a
+# if _GNU_GLOB_INTERFACE_VERSION == 1 || _GNU_GLOB_INTERFACE_VERSION == 2
0c7b6a
    gnu glob
0c7b6a
 # endif
0c7b6a
 #endif],
0c7b6a
-- 
0c7b6a
cgit v1.0-41-gc330
0c7b6a