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

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