This allows 'cut' to be built in on mingw. I didn't mention it in a
NEWS entry because building it requires commenting out some parts of
lib/idcache.c and lib/userspec.c.
Surprisingly quite a few programs compile there:
$ find src -maxdepth 1 -type f -executable -name '*.exe' | wc -l
59
And some of the broken ones seem quite trivial to fix.
-- 8< --
* bootstrap.conf (gnulib_modules): Add memmem which is missing on some
platforms, e.g., mingw, and buggy on some older platforms.
---
bootstrap.conf | 1 +
1 file changed, 1 insertion(+)
diff --git a/bootstrap.conf b/bootstrap.conf
index aee0c4f33..0b46627a2 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -187,6 +187,7 @@ gnulib_modules="
memchr
memchr2
memcmp2
+ memmem
mempcpy
memrchr
memset_explicit
--
2.54.0