Leave only the modules explicitly used.
---
bootstrap | 61 +------------------------------------------------------
1 file changed, 1 insertion(+), 60 deletions(-)
diff --git a/bootstrap b/bootstrap
index aaf038d9..f8bcb629 100755
--- a/bootstrap
+++ b/bootstrap
@@ -103,80 +103,21 @@ gnulib_tool=$GNULIB_SRCDIR/gnulib-tool
<$gnulib_tool || exit
modules='
-accept4
-areadlink
-areadlinkat
-arpa_inet
-base64
-byteswap
c-ctype
-cloexec
-closeout
-connect
-dup3
-error
-filevercmp
-fstatat
-fts
-full-read
-full-write
-futimens
-getaddrinfo
-getline
getprogname
-gitlog-to-changelog
-glob
-gnu-make
-gnumakefile
hash
-hash-pjw
-human
-iconv
ignore-value
-intprops
lock
maintainer-makefile
manywarnings
-memmem
-mkdtemp
-mkstemps
-netdb
-netinet_in
-nonblocking
-openat
-perror
-pipe2
-pread
-ptsname_r
-read-file
-readlink
-select
-setenv
-sleep
-socket
-stat-time
-strchrnul
-strerror
-strndup
-symlinkat
-sys_select
sys_types
-sys_wait
tls
-vasprintf
-vc-list-files
-warnings
-xalloc
-xalloc-die
-xgetcwd
xstrtol
-xstrtoll
-xvasprintf
'
# If any tests fail, avoid including them by adding them to
# this list.
-avoid="--avoid=dummy --avoid=getlogin_r-tests"
+avoid=""
$gnulib_tool \
$avoid \
--
2.21.0