0001-configure.ac-Support-GLIBC-glob-interface-version-2.patch 943 B

12345678910111213141516171819202122232425262728293031
  1. From 48c8a116a914a325a0497721f5d8b58d5bba34d4 Mon Sep 17 00:00:00 2001
  2. From: Paul Smith <psmith@gnu.org>
  3. Date: Sun, 19 Nov 2017 15:09:16 -0500
  4. Subject: [PATCH] * configure.ac: Support GLIBC glob interface version 2
  5. Signed-off-by: Baruch Siach <baruch@tkos.co.il>
  6. ---
  7. Upstream status: commit 48c8a116a914a3
  8. configure.ac | 3 +--
  9. 1 file changed, 1 insertion(+), 2 deletions(-)
  10. diff --git a/configure.ac b/configure.ac
  11. index 8c72568cf276..4710832ae568 100644
  12. --- a/configure.ac
  13. +++ b/configure.ac
  14. @@ -404,10 +404,9 @@ AC_CACHE_CHECK([if system libc has GNU glob], [make_cv_sys_gnu_glob],
  15. #include <glob.h>
  16. #include <fnmatch.h>
  17. -#define GLOB_INTERFACE_VERSION 1
  18. #if !defined _LIBC && defined __GNU_LIBRARY__ && __GNU_LIBRARY__ > 1
  19. # include <gnu-versions.h>
  20. -# if _GNU_GLOB_INTERFACE_VERSION == GLOB_INTERFACE_VERSION
  21. +# if _GNU_GLOB_INTERFACE_VERSION == 1 || _GNU_GLOB_INTERFACE_VERSION == 2
  22. gnu glob
  23. # endif
  24. #endif],
  25. --
  26. 2.16.2