make: fix build; get rid of configure.ac patch.

We patch configure instead, to avoid the need of autoconf.
This commit is contained in:
Juan RP 2020-04-06 20:43:32 +02:00
parent bb795997c4
commit 4c184e1a30
No known key found for this signature in database
GPG Key ID: AF19F6CB482F9368
1 changed files with 0 additions and 20 deletions

View File

@ -70,26 +70,6 @@ From: Paul Smith <psmith@gnu.org>
Date: Sun, 19 Nov 2017 15:09:16 -0500
Subject: * configure.ac: Support GLIBC glob interface version 2
---
configure.ac | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 8c72568..4710832 100644
--- a/configure.ac
+++ b/configure.ac
@@ -404,10 +404,9 @@ AC_CACHE_CHECK([if system libc has GNU glob], [make_cv_sys_gnu_glob],
#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],
--- a/configure.orig 2020-04-06 12:39:20.210525122 +0200
+++ b/configure 2020-04-06 12:39:36.739696694 +0200
@@ -11481,10 +11481,9 @@ else