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

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