xalloc: Don't use identifier 'nonnull'.
[gnulib.git] / gnulib-tool.py.TODO
blobd942119be0b28f8db89f34c409c052d85dafd6d8
2 ================================================================================
4 Have gnulib-tool.py generate the same files and the same output as
5 gnulib-tool. Test cases:
7 1) In a checkout of https://gitlab.com/gnuwget/wget2.git :
8    $ git checkout e8ca510eda2cfc75f4c4a4e8e83e19b90af0309c
9    $ $GNULIB_SRCDIR/gnulib-tool.py --no-changelog --aux-dir=build-aux --doc-base=doc --lib=libgnu --m4-base=m4/ --source-base=lib/ --tests-base=lib/tests --local-dir=gl --makefile-name=gnulib.mk --libtool --import accept access arpa_inet atoll bind c-strcase c-strcasestr c-ctype calloc-posix canonicalize-lgpl clock-time close closedir cond connect crypto/md2 crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 dirname dup dup2 errno fclose fcntl fdopen fflush flock fnmatch-gnu fopen freopen fstat fsync ftruncate futimens getaddrinfo getpass getsockname gettext-h gettime gitlog-to-changelog glob iconv inet_pton inline inttypes ioctl isatty lib-symbol-visibility limits-h link listen lock maintainer-makefile malloc-posix memchr mkdir mkstemp msvc-nothrow nanosleep netdb netinet_in nl_langinfo open opendir pclose pipe-posix progname popen poll posix_spawn pwrite qsort_r random_r read readdir realloc-posix recv recvfrom regex rename safe-read safe-write select send sendto servent setlocale setsockopt socket sockets socklen spawn-pipe stdarg stdbool stddef stdint stat strcase strchrnul strdup-posix strerror strndup strpbrk strstr strtoll sys_file sys_socket sys_stat sys_time sys_types sys_uio thread time_r unistd unlink update-copyright warnings wcwidth write xgethostname
11 ================================================================================
13 The following commits to gnulib-tool have not yet been reflected in
14 {gnulib-tool.py,pygnulib/*.py}.
16 --------------------------------------------------------------------------------
18 Implement the options:
19   --extract-recursive-dependencies
20   --extract-recursive-link-directive
21   --tests-makefile-name
22   --automake-subdir
23   -h | --hardlink
24   --local-hardlink
25   -S | --more-symlinks
26   -H | --more-hardlinks
27   --help (same output)
29 Remove exit() in GLImport.py.
31 Optimize:
32   - os.chdir around subprocess creation -> cwd=... argument instead.
33   - Inline all 'sed' invocations.
35 --------------------------------------------------------------------------------
37 commit 76c7703cb2e9e0e803d1296618d8ab9e86e13d6c
38 Author: Akim Demaille <akim.demaille@gmail.com>
39 Date:   Mon Jul 4 07:18:07 2022 +0200
41     gnulib-tool: add support for --automake-subdir-tests
43     <https://lists.gnu.org/r/bug-gnulib/2022-01/msg00111.html>
45     * gnulib-tool (main): Handle --automake-subdir-tests.
46     (func_emit_shellvars_init, func_emit_lib_Makefile_am): Use
47     $sourcebase when handling tests and --automake-subdir-tests is
48     given.
49     (func_append_actionarg): Support --automake-subdir-tests.
50     (func_create_testdir): Add missing argument for func_emit_initmacro_end.
52 --------------------------------------------------------------------------------
54 commit 762bd0aa660b0c1c02597e0d2e5c5fbf9bab1b91
55 Author: Paul Eggert <eggert@cs.ucla.edu>
56 Date:   Fri Jun 3 17:52:19 2022 -0700
58     regex-quote: \] -> ] in EREs and BREs
60     * build-aux/bootstrap:
61     * build-aux/bootstrap.conf (gettext_external):
62     * check-AC_LIBOBJ:
63     * lib/regex-quote.c (bre_special, ere_special):
64     * gnulib-tool (func_modules_transitive_closure)
65     (func_emit_autoconf_snippet, func_import, func_create_testdir):
66     * tests/test-regex-quote.c (test_bre, test_ere):
67     * top/maint.mk (longopt_re, gpg_key_ID):
68     Don’t use \] in BREs and EREs, as POSIX says the interpretation is
69     undefined.
71 --------------------------------------------------------------------------------
73 commit 8c4f4d7a3c28f88b64fce2fb1d0dc0e570d1a482
74 Author: Paul Eggert <eggert@cs.ucla.edu>
75 Date:   Tue Mar 1 10:01:22 2022 -0800
77     Create lib/Makefile.am after gnulib-comp.m4
79     * gnulib-tool (func_import): Create library makefile after
80     creating gnulib-comp.m4.  With --gnu-make, the latter depends on
81     the former.  See <https://bugs.gnu.org/32452#109>.
83 --------------------------------------------------------------------------------
85 commit 3a24ff8a1045d8d38824088c0984bb59d0192e65
86 Author: Simon Josefsson <simon@josefsson.org>
87 Date:   Tue Feb 22 12:47:14 2022 +0100
89     gnulib-tool: Bump automake dependency.
91     * gnulib-tool (func_emit_lib_Makefile_am)
92     (func_emit_tests_Makefile_am): Demand Automake ≥ 1.14, for
93     %reldir%.
95 --------------------------------------------------------------------------------
97 commit 4bf9c96497946ce6f7b84f6527ed0291657cf728
98 Author: Bruno Haible <bruno@clisp.org>
99 Date:   Sun Jan 9 15:38:51 2022 +0100
101     Remove influence of Automake conditionals on conditional dependencies.
103     * m4/gnulib-common.m4 (gl_CONDITIONAL): New macro.
104     (gl_CONDITIONAL_HEADER): Use it instead of AM_CONDITIONAL.
105     * m4/libgmp.m4 (gl_LIBGMP): Likewise.
106     * modules/posix_spawn_file_actions_addfchdir-tests (configure.ac):
107     Likewise.
108     * modules/uchar-c++-tests (configure.ac): Likewise.
109     * gnulib-tool (func_modules_transitive_closure): Don't inhibit
110     conditional dependencies processing on a module that uses an Automake
111     conditional.
113 --------------------------------------------------------------------------------
115 commit 9abc30c383303fab68aa5ed2841113876bfa90d1
116 Author: Bruno Haible <bruno@clisp.org>
117 Date:   Sat Jan 8 22:10:54 2022 +0100
119     gnulib-tool: Remove all *.Po files upon distclean (regr. 2022-01-05).
121     Reported by Mohammad Akhlaghi <mohammad@akhlaghi.org> in
122     <https://lists.gnu.org/archive/html/bug-gnulib/2022-01/msg00061.html>.
124     * gnulib-tool (func_emit_initmacro_end): Collect the *.Po or *.Plo files
125     to remove into an AC_SUBSTed variable gl_LIBOBJDEPS.
126     (func_emit_lib_Makefile_am): Extend the distclean and maintainer-clean
127     rules.
129 commit 0c8a563f65d44752b33aec42cceec25bd485f2d5
130 Author: Bruno Haible <bruno@clisp.org>
131 Date:   Wed Jan 5 18:21:55 2022 +0100
133     gnulib-tool: Avoid known warnings that reflect Gnulib's coding style.
135     * m4/gnulib-common.m4 (gl_CC_GNULIB_WARNINGS): New macro.
136     * gnulib-tool (func_emit_lib_Makefile_am): Add the
137     GL_CFLAG_GNULIB_WARNINGS to the CFLAGS of all the compilation units of
138     the library.
139     (func_emit_tests_Makefile_am): Add the GL_CFLAG_GNULIB_WARNINGS to the
140     CFLAGS.
141     (func_import): Emit an invocation of gl_CC_GNULIB_WARNINGS.
143 --------------------------------------------------------------------------------
145 commit 87e6634b28df65084321fed22f60d114a0931d21
146 Author: Bernhard Voelker <mail@bernhard-voelker.de>
147 Date:   Tue Jan 4 00:16:50 2022 +0100
149     license: fix GPLv3 texts to use a comma instead of semicolon.
151     See: https://www.gnu.org/licenses/gpl-3.0.html#howto
152     Run:
153       $ git grep -l 'Foundation; either version 3' \
154           | xargs sed -i '/Foundation; either version 3/ s/n; e/n, e/'
156     * All files using GPLv3: Adjust via the above command.
158 --------------------------------------------------------------------------------
160 commit 9af17c55629c4cbe2facdc9edb5242136567ebba
161 Author: Bruno Haible <bruno@clisp.org>
162 Date:   Sat Dec 25 14:30:57 2021 +0100
164     gnulib-tool: Fix handling of module libtextstyle-optional.
166     Reported by Paul Eggert in
167     <https://lists.gnu.org/archive/html/bug-gnulib/2021-12/msg00152.html>.
169     * gnulib-tool (func_repeat_module_in_tests): New function.
170     (func_emit_tests_Makefile_am, func_create_testdir): Use it for the file
171     list and when creating tests/Makefile.am.
173 --------------------------------------------------------------------------------
175 commit 83948c64d10c77fb964e6523a9524729d6a66f32
176 Author: Bruno Haible <bruno@clisp.org>
177 Date:   Sat Dec 25 12:19:13 2021 +0100
179     gnulib-tool: Respect applicability 'all' without --single-configure.
181     * gnulib-tool (func_verify_tests_module): Treat modules with
182     applicability 'all' like 'tests' modules, not like 'main' modules.
184 --------------------------------------------------------------------------------
186 commit b4c57b4240992832fa89a02dc620c4fa5ac36973
187 Author: Paul Eggert <eggert@cs.ucla.edu>
188 Date:   Fri Dec 24 17:22:00 2021 -0800
190     maint: avoid empty lines in recipes
192     AIX 7.2 ‘make’ complains about recipe lines that are empty after
193     macro expansion, and I suppose there’s a good chance some
194     non-POSIX ‘make’ would prohibit them.  Rework macros so
195     that we can avoid them.
196     * gnulib-tool (func_emit_lib_Makefile_am)
197     (func_emit_lib_Makefile_am): Support @!NMD@ too.
198     * modules/gen-header (@gl_V_at): New macro.
199     * modules/alloca-opt, modules/argz, modules/assert-h:
200     * modules/byteswap, modules/configmake, modules/ctype:
201     * modules/dirent, modules/errno, modules/execinfo, modules/fcntl-h:
202     * modules/float, modules/fnmatch-h, modules/getopt-posix:
203     * modules/glob-h, modules/iconv-h, modules/ieee754-h:
204     * modules/inttypes-incomplete, modules/langinfo:
205     * modules/libtextstyle-optional, modules/limits-h, modules/locale:
206     * modules/malloc-h, modules/math, modules/monetary, modules/netdb:
207     * modules/openmp-init, modules/poll-h, modules/posix-shell:
208     * modules/pthread-h, modules/pty, modules/sched, modules/search:
209     * modules/signal-h, modules/sigsegv, modules/snippet/link-warning:
210     * modules/spawn, modules/stdalign, modules/stdarg, modules/stdbool:
211     * modules/stddef, modules/stdint, modules/stdio, modules/stdlib:
212     * modules/stdnoreturn, modules/string, modules/strings:
213     * modules/sysexits, modules/termios, modules/threads-h:
214     * modules/time, modules/uchar, modules/unicase/base:
215     * modules/uniconv/base, modules/unictype/base, modules/unigbrk/base:
216     * modules/unilbrk/base, modules/uniname/base, modules/uninorm/base:
217     * modules/unistd, modules/unistdio/base, modules/unistr/base:
218     * modules/unitypes, modules/uniwbrk/base, modules/uniwidth/base:
219     * modules/utime-h, modules/wchar, modules/wctype-h:
220     Use it.
222 --------------------------------------------------------------------------------
224 commit 83a0d5891db50c00e283e70df694b6003b1f485d
225 Author: Bruno Haible <bruno@clisp.org>
226 Date:   Tue Dec 21 09:59:17 2021 +0100
228     Optimize redundant 'mkdir -p .' invocations.
230     Reported by Paul Eggert.
232     * gnulib-tool (func_emit_lib_Makefile_am, func_emit_tests_Makefile_am):
233     Eliminate @NMD@ tokens.
234     * modules/alloca-opt (Makefile.am): Prefix the "$(MKDIR_P) '%reldir%'"
235     line with @NMD@.
236     * modules/argz (Makefile.am): Likewise.
237     * modules/assert-h (Makefile.am): Likewise.
238     * modules/byteswap (Makefile.am): Likewise.
239     * modules/configmake (Makefile.am): Likewise.
240     * modules/ctype (Makefile.am): Likewise.
241     * modules/dirent (Makefile.am): Likewise.
242     * modules/errno (Makefile.am): Likewise.
243     * modules/execinfo (Makefile.am): Likewise.
244     * modules/fcntl-h (Makefile.am): Likewise.
245     * modules/float (Makefile.am): Likewise.
246     * modules/fnmatch-h (Makefile.am): Likewise.
247     * modules/getopt-posix (Makefile.am): Likewise.
248     * modules/glob-h (Makefile.am): Likewise.
249     * modules/iconv-h (Makefile.am): Likewise.
250     * modules/ieee754-h (Makefile.am): Likewise.
251     * modules/inttypes-incomplete (Makefile.am): Likewise.
252     * modules/langinfo (Makefile.am): Likewise.
253     * modules/libtextstyle-optional (Makefile.am): Likewise.
254     * modules/limits-h (Makefile.am): Likewise.
255     * modules/locale (Makefile.am): Likewise.
256     * modules/malloc-h (Makefile.am): Likewise.
257     * modules/math (Makefile.am): Likewise.
258     * modules/monetary (Makefile.am): Likewise.
259     * modules/netdb (Makefile.am): Likewise.
260     * modules/openmp-init (Makefile.am): Likewise.
261     * modules/poll-h (Makefile.am): Likewise.
262     * modules/posix-shell (Makefile.am): Likewise.
263     * modules/pthread-h (Makefile.am): Likewise.
264     * modules/pty (Makefile.am): Likewise.
265     * modules/sched (Makefile.am): Likewise.
266     * modules/search (Makefile.am): Likewise.
267     * modules/signal-h (Makefile.am): Likewise.
268     * modules/sigsegv (Makefile.am): Likewise.
269     * modules/snippet/link-warning (Makefile.am): Likewise.
270     * modules/spawn (Makefile.am): Likewise.
271     * modules/stdalign (Makefile.am): Likewise.
272     * modules/stdarg (Makefile.am): Likewise.
273     * modules/stdbool (Makefile.am): Likewise.
274     * modules/stddef (Makefile.am): Likewise.
275     * modules/stdint (Makefile.am): Likewise.
276     * modules/stdio (Makefile.am): Likewise.
277     * modules/stdlib (Makefile.am): Likewise.
278     * modules/stdnoreturn (Makefile.am): Likewise.
279     * modules/string (Makefile.am): Likewise.
280     * modules/strings (Makefile.am): Likewise.
281     * modules/sysexits (Makefile.am): Likewise.
282     * modules/termios (Makefile.am): Likewise.
283     * modules/threads-h (Makefile.am): Likewise.
284     * modules/time (Makefile.am): Likewise.
285     * modules/uchar (Makefile.am): Likewise.
286     * modules/unicase/base (Makefile.am): Likewise.
287     * modules/uniconv/base (Makefile.am): Likewise.
288     * modules/unictype/base (Makefile.am): Likewise.
289     * modules/unigbrk/base (Makefile.am): Likewise.
290     * modules/unilbrk/base (Makefile.am): Likewise.
291     * modules/uniname/base (Makefile.am): Likewise.
292     * modules/uninorm/base (Makefile.am): Likewise.
293     * modules/unistd (Makefile.am): Likewise.
294     * modules/unistdio/base (Makefile.am): Likewise.
295     * modules/unistr/base (Makefile.am): Likewise.
296     * modules/unitypes (Makefile.am): Likewise.
297     * modules/uniwbrk/base (Makefile.am): Likewise.
298     * modules/uniwidth/base (Makefile.am): Likewise.
299     * modules/utime-h (Makefile.am): Likewise.
300     * modules/wchar (Makefile.am): Likewise.
301     * modules/wctype-h (Makefile.am): Likewise.
303 --------------------------------------------------------------------------------
305 commit 4bdc327dbda59dcdbfa0f983a4f35c4a4ec3578c
306 Author: Bruno Haible <bruno@clisp.org>
307 Date:   Sun Dec 19 12:49:16 2021 +0100
309     gnulib-tool: Don't insist on ACLOCAL_AMFLAGS.
311     Reported by Bjarni Ingi Gislason <bjarniig@rhi.hi.is> in
312     <https://lists.gnu.org/archive/html/bug-gnulib/2021-12/msg00112.html>.
314     * gnulib-tool (func_import): Mention an AC_CONFIG_MACRO_DIRS invocation
315     as an alternative to augmenting ACLOCAL_AMFLAGS.
316     (--import, --add-import, --remove-import, --update): To find the m4
317     directories, look also for AC_CONFIG_MACRO_DIR and AC_CONFIG_MACRO_DIRS
318     invocations in configure.ac.
320 --------------------------------------------------------------------------------
322 commit 415fae8ddcb39d33f364c81b0f199e28c65bb539
323 Author: Bruno Haible <bruno@clisp.org>
324 Date:   Sat Dec 18 11:43:20 2021 -0800
326     stdint: Fix handling of limits.h (regression 2021-12-16).
328     * modules/stdint (configure.ac): Revert last change.
329     * gnulib-tool (func_emit_lib_Makefile_am, func_emit_tests_Makefile_am):
330     If --gnu-make is used, assume that AC_SUBSTed variables for conditionals
331     are constructed by appending the suffix '_CONDITION'.
333 --------------------------------------------------------------------------------
335 commit b8124d982f454b8526b5e11934a2f71faac2b600
336 Author: Bruno Haible <bruno@clisp.org>
337 Date:   Wed Dec 15 21:49:41 2021 +0100
339     automake-subdir support: Look for 'subdir-objects' also in configure.ac.
341     * gnulib-tool: Look for the automake options also in the first argument
342     of the AM_INIT_AUTOMAKE invocation in configure.ac.
344 --------------------------------------------------------------------------------
346 commit b2bd0a9041ed7401fb69f59f7450abb8b3249ecb
347 Author: Bruno Haible <bruno@clisp.org>
348 Date:   Wed Dec 15 19:18:31 2021 +0100
350     Accommodate non-recursive Automake in a less hacky way.
352     * gnulib-tool: New option --automake-subdir.
353     (automake_subdir): New variable.
354     (func_emit_initmacro_end): Add a second argument. Use it to prefix each
355     object file name in *_LIBOBJS and *_LTLIBOBJS.
356     (func_emit_shellvars_init): New function.
357     (func_import): Add support for --automake-subdir. Invoke
358     prefix-gnulib-mk. Update calls to func_emit_initmacro_end. Call
359     func_emit_shellvars_init.
360     (func_create_testdir): Update calls to func_emit_initmacro_end. Call
361     func_emit_shellvars_init.
362     * m4/gnulib-tool.m4 (gl_AUTOMAKE_SUBDIR): New macro.
363     * m4/gnulib-common.m4 (gl_CONDITIONAL_HEADER): Use the value of the
364     gl_source_base_prefix variable.
365     * build-aux/prefix-gnulib-mk: New options --from-gnulib-tool, --prefix.
366     (contents_of_file): Renamed from contents.
367     (contents_of_stdin): New function.
368     (process): Inline and remove function.
369     * doc/gnulib-tool.texi (Non-recursive make): New section.
371 --------------------------------------------------------------------------------
373 commit eafd9cd7bf13be7e99a30188b3675aa4047b9307
374 Author: Bruno Haible <bruno@clisp.org>
375 Date:   Sat Dec 18 14:10:19 2021 +0100
377     Fix support for --gnu-make in tests (regression 2021-12-15).
379     * gnulib-tool (func_emit_tests_Makefile_am): When producing output for
380     GNU make, eliminate %reldir% tokens.
382 commit 766ec17a90f67e8cda78394e58a7fffb00f5a4b7
383 Author: Bruno Haible <bruno@clisp.org>
384 Date:   Wed Dec 15 19:18:20 2021 +0100
386     Fix creation of build directories with non-recursive-gnulib-prefix-hack.
388     This is necessary for executing "make" in a VPATH build of a package
389     that uses prefix-gnulib-mk and a module such as alloca-opt.
391     * modules/alloca-opt (Makefile.am): Before generating the .h-t file,
392     ensure that the directory in which we want to create it exists.
393     (configure.ac): Invoke AC_PROG_MKDIR_P.
394     * modules/argz: Likewise.
395     * modules/arpa_inet: Likewise.
396     * modules/assert-h: Likewise.
397     * modules/byteswap: Likewise.
398     * modules/configmake: Likewise.
399     * modules/ctype: Likewise.
400     * modules/dirent: Likewise.
401     * modules/dynarray: Likewise.
402     * modules/errno: Likewise.
403     * modules/execinfo: Likewise.
404     * modules/fcntl-h: Likewise.
405     * modules/float: Likewise.
406     * modules/fnmatch-h: Likewise.
407     * modules/getopt-posix: Likewise.
408     * modules/glob-h: Likewise.
409     * modules/iconv-h: Likewise.
410     * modules/ieee754-h: Likewise.
411     * modules/inttypes-incomplete: Likewise.
412     * modules/langinfo: Likewise.
413     * modules/libgmp: Likewise.
414     * modules/libtextstyle-optional: Likewise.
415     * modules/limits-h: Likewise.
416     * modules/locale: Likewise.
417     * modules/malloc-h: Likewise.
418     * modules/math: Likewise.
419     * modules/monetary: Likewise.
420     * modules/net_if: Likewise.
421     * modules/netdb: Likewise.
422     * modules/netinet_in: Likewise.
423     * modules/openmp-init: Likewise.
424     * modules/poll-h: Likewise.
425     * modules/posix-shell: Likewise.
426     * modules/pthread-h: Likewise.
427     * modules/pty: Likewise.
428     * modules/sched: Likewise.
429     * modules/scratch_buffer: Likewise.
430     * modules/search: Likewise.
431     * modules/selinux-h: Likewise.
432     * modules/signal-h: Likewise.
433     * modules/sigsegv: Likewise.
434     * modules/snippet/link-warning: Likewise.
435     * modules/spawn: Likewise.
436     * modules/stdalign: Likewise.
437     * modules/stdarg: Likewise.
438     * modules/stdbool: Likewise.
439     * modules/stddef: Likewise.
440     * modules/stdint: Likewise.
441     * modules/stdio: Likewise.
442     * modules/stdlib: Likewise.
443     * modules/stdnoreturn: Likewise.
444     * modules/string: Likewise.
445     * modules/strings: Likewise.
446     * modules/sys_file: Likewise.
447     * modules/sys_ioctl: Likewise.
448     * modules/sys_random: Likewise.
449     * modules/sys_resource: Likewise.
450     * modules/sys_select: Likewise.
451     * modules/sys_socket: Likewise.
452     * modules/sys_stat: Likewise.
453     * modules/sys_time: Likewise.
454     * modules/sys_times: Likewise.
455     * modules/sys_types: Likewise.
456     * modules/sys_uio: Likewise.
457     * modules/sys_utsname: Likewise.
458     * modules/sys_wait: Likewise.
459     * modules/sysexits: Likewise.
460     * modules/termios: Likewise.
461     * modules/threads-h: Likewise.
462     * modules/time: Likewise.
463     * modules/uchar: Likewise.
464     * modules/unicase/base: Likewise.
465     * modules/unicase/special-casing: Likewise.
466     * modules/uniconv/base: Likewise.
467     * modules/unictype/base: Likewise.
468     * modules/unigbrk/base: Likewise.
469     * modules/unilbrk/base: Likewise.
470     * modules/uniname/base: Likewise.
471     * modules/uninorm/base: Likewise.
472     * modules/unistd: Likewise.
473     * modules/unistdio/base: Likewise.
474     * modules/unistr/base: Likewise.
475     * modules/unitypes: Likewise.
476     * modules/uniwbrk/base: Likewise.
477     * modules/uniwidth/base: Likewise.
478     * modules/utime-h: Likewise.
479     * modules/wchar: Likewise.
480     * modules/wctype-h: Likewise.
481     * gnulib-tool (func_emit_lib_Makefile_am): When producing output for
482     GNU make, eliminate %reldir% tokens.
484 --------------------------------------------------------------------------------
486 commit dc08febea1fc0a8c902dfa89d0abc2952873529b
487 Author: Bruno Haible <bruno@clisp.org>
488 Date:   Mon Dec 13 03:03:13 2021 +0100
490     gnulib-tool: Fix mistake in last commit.
492 commit 4e7b4cc6fb3e3b659c98baf6db26d8a06099fbee
493 Author: Bruno Haible <bruno@clisp.org>
494 Date:   Mon Dec 13 02:43:21 2021 +0100
496     gnulib-tool: Support non-recursive-gnulib-prefix-hack with tests.
498     * gnulib-tool (func_import): Synthesize an AC_CONFIG_LIBOBJ_DIR
499     invocation.
500     * m4/non-recursive-gnulib-prefix-hack.m4
501     (gl_NON_RECURSIVE_GNULIB_PREFIX_HACK): Don't invoke
502     AC_CONFIG_LIBOBJ_DIR.
504 --------------------------------------------------------------------------------
506 commit 1cc82c4280bb76f677f3604bdef7116922d77511
507 Author: Bruno Haible <bruno@clisp.org>
508 Date:   Sat Jan 8 23:28:29 2022 +0100
510     gnulib-tool: Fix "Don't forget" messages (regression 2021-12-12).
512     * gnulib-tool (func_import): Fix variable references in "Don't forget"
513     messages.
515 commit 9e8aac033ffe63761ca6ddc8a3f672d1b7104cb5
516 Author: Bruno Haible <bruno@clisp.org>
517 Date:   Sun Dec 12 21:13:54 2021 +0100
519     gnulib-tool: Support different basenames for the lib/,tests/ Makefiles.
521     * gnulib-tool: New option --tests-makefile-name.
522     (tests_makefile_name): New variable.
523     (func_import): Add support for --tests-makefile-name. Replace local
524     variable makefile_am with two local variables source_makefile_am,
525     tests_makefile_am.
527 --------------------------------------------------------------------------------
529 commit 6ccfbd6495f2849b1aeea84f73327f6ced0080a7
530 Author: Bruno Haible <bruno@clisp.org>
531 Date:   Sun Aug 8 03:52:01 2021 +0200
533     gnulib-tool: Add support for Automake 1.16.4.
535     Reported by <shoober420@gmail.com> in
536     <https://lists.gnu.org/archive/html/bug-libunistring/2021-08/msg00000.html>.
538     * build-aux/test-driver-1.16.3.diff: Renamed from build-aux/test-driver.diff.
539     * build-aux/test-driver.diff: Update to match Automake 1.16.4.
540     * gnulib-tool (func_create_testdir, func_create_megatestdir): Try both
541     .diff files.
543 --------------------------------------------------------------------------------
545 commit 39d08c09b444db57f45804bfe86ee17203c45a8a
546 Author: Bruno Haible <bruno@clisp.org>
547 Date:   Fri Jun 11 15:55:33 2021 +0200
549     Make message in last commit more precise.
551     Suggested by Eric Blake.
553     * gnulib-tool (func_emit_tests_Makefile_am): Add more precision to
554     'check-notice' message.
556 commit d465dd70e1ec5fe332160780eb66511028f5897b
557 Author: Bruno Haible <bruno@clisp.org>
558 Date:   Thu Jun 10 21:43:59 2021 +0200
560     Clarify where to report test failures from Gnulib tests.
562     * gnulib-tool (func_emit_tests_Makefile_am): Emit a dependency of
563     'check-am' on 'check-notice' that prints a notice.
565 --------------------------------------------------------------------------------
567 commit 16c3e1868a15a5946c0f0f7df6e107e9b3c6389d
568 Author: Bruno Haible <bruno@clisp.org>
569 Date:   Thu Jun 10 21:26:53 2021 +0200
571     Clarify that compiler warnings in the Gnulib tests can be ignored.
573     * gnulib-tool (func_emit_tests_Makefile_am): Emit overrides for CFLAGS
574     and CXXFLAGS. Emit a dependency of 'all' on 'all-notice' that prints a
575     notice.
576     (func_emit_initmacro_start): Add a second argument. If it is true, emit
577     code to require gl_CC_ALLOW_WARNINGS and gl_CXX_ALLOW_WARNINGS.
578     (func_import, func_create_testdir): All callers updated.
579     * m4/gnulib-common.m4 (gl_CC_ALLOW_WARNINGS, gl_CXX_ALLOW_WARNINGS): New
580     macros.
582 --------------------------------------------------------------------------------
584 commit 4b071c115309079528db7b60e8d2ffb22b129088
585 Author: Paul Eggert <eggert@cs.ucla.edu>
586 Date:   Mon Apr 26 23:31:29 2021 -0700
588     gnulib-tool: port better to current Autoconf
590     * doc/gnulib-tool.texi (Initial import): Don’t mention
591     AC_PROG_CC_STDC as it’s deprecated in current Autoconf.
592     * gnulib-tool (func_done_dir): Suggest replacing
593     AC_PROG_CC_STDC and AC_PROG_CC_C99, as per current Autoconf.
595 --------------------------------------------------------------------------------
597 commit 0be855ee827bf7e9043eeb626c4fd847704be2e6
598 Author: Bruno Haible <bruno@clisp.org>
599 Date:   Tue Dec 29 02:48:31 2020 +0100
601     gnulib-tool: Fix logic whether to add a dummy.c.
603     * gnulib-tool (func_remove_if_blocks): New function.
604     (func_modules_add_dummy): Use it to eliminate all conditional statements
605     from the automake snippet.
607 --------------------------------------------------------------------------------
609 commit 9f0ade083bf3250281cbf454da656a28270a0be5
610 Author: Bruno Haible <bruno@clisp.org>
611 Date:   Sun Dec 27 01:21:22 2020 +0100
613     gnulib-tool: Make --conditional-dependencies work with --with-tests.
615     Reported by Paul Eggert in
616     <https://lists.gnu.org/archive/html/bug-gnulib/2020-12/msg00236.html>.
618     * gnulib-tool (func_emit_tests_Makefile_am): Handle conditional
619     dependencies like func_emit_lib_Makefile_am.
621 --------------------------------------------------------------------------------
623 commit baec1bac1602ba8534320c295e120f7b658400f4
624 Author: Bruno Haible <bruno@clisp.org>
625 Date:   Sat Feb 22 15:15:01 2020 +0100
627     gnulib-tool: Ensure copied files are writable.
629     Reported by Benno Fünfstück <benno.fuenfstueck@gmail.com> in
630     <https://lists.gnu.org/archive/html/bug-gnulib/2020-02/msg00101.html>.
632     * gnulib-tool (func_ensure_writable): New function.
633     (func_ln_s, func_hardlink, func_lookup_file, func_import,
634     func_create_testdir, copy-file): Invoke it after copying a file.
636 --------------------------------------------------------------------------------
638 commit 0d41dbc7c88b10d16751466ec91efa75951426bb
639 Author: Bruno Haible <bruno@clisp.org>
640 Date:   Mon Nov 18 13:32:46 2019 +0100
642     gnulib-tool: Fix build error on macOS with --conditional-dependencies.
644     * gnulib-tool (func_modules_add_dummy): Ignore modules that are
645     conditionally enabled.
647 --------------------------------------------------------------------------------
649 commit dc135c4fd14cdc219d316c61f344e64090cb33fd
650 Author: Bruno Haible <bruno@clisp.org>
651 Date:   Fri Feb 15 21:27:44 2019 +0100
653     gnulib-tool: Support --import with just a few tests, not --with-tests.
655     * gnulib-tool (func_import): New variable 'gentests'. Use it instead of
656     'inctests' when generating files; use 'inctests' only for computing the
657     transitive closure.
659 --------------------------------------------------------------------------------
661 commit 425ee42259b04956aae20afc5204775ae6e79744
662 Author: Bruno Haible <bruno@clisp.org>
663 Date:   Wed Jan 23 05:11:54 2019 +0100
665     gnulib-tool: Support running testdirs on Android.
667     * build-aux/test-driver.diff: New file.
668     * gnulib-tool (func_create_testdir, func_create_megatestdir): Patch
669     build-aux/test-driver after running automake.
671 --------------------------------------------------------------------------------
673 commit ce8a5edbc49dea0cb859207c2d063dbd3be0f96c
674 Author: Bruno Haible <bruno@clisp.org>
675 Date:   Fri Jan 4 19:34:19 2019 +0100
677     gnulib-tool: New option --extract-recursive-link-directive.
679     * gnulib-tool (func_usage): Document the new options
680     --extract-recursive-dependencies, --extract-recursive-link-directive.
681     (func_verify_module): Document output variables.
682     (func_get_dependencies_recursively): New function.
683     (func_get_link_directive_recursively): New function.
684     Use them to implement the new options
685     --extract-recursive-dependencies, --extract-recursive-link-directive.
686     * doc/gnulib-tool.texi (Link-time requirements): New section.
688 --------------------------------------------------------------------------------
690 commit 97eae14a5b2506457a72f89d5897a20730ab6eee
691 Author: Bruno Haible <bruno@clisp.org>
692 Date:   Tue Oct 23 00:06:46 2018 +0200
694     Assume Automake >= 1.11.
696     * m4/configmake.m4: Update comments.
697     * m4/lib-link.m4 (AC_LIB_RPATH): Assume AC_REQUIRE_AUX_FILE exists.
698     * m4/po.m4 (AM_PO_SUBDIRS, AM_POSTPROCESS_PO_MAKEFILE): Eliminate uses
699     of 'eval'.
700     * gnulib-tool (func_emit_lib_Makefile_am, func_emit_tests_Makefile_am,
701     func_create_testdir, func_create_megatestdir): Emit a Makefile.am that
702     requires Automake >= 1.11.
704 --------------------------------------------------------------------------------
706 commit 8b1d4a63e34f3893036d82f39c5680e845de5ddf
707 Author: Bruno Haible <bruno@clisp.org>
708 Date:   Mon Sep 3 21:19:16 2018 +0200
710     gnulib-tool: Fix build order when $testsbase is a subdir of $sourcebase.
712     Reported by Antoine Luong <antoine.luong@c-s.fr> in
713     <https://lists.gnu.org/archive/html/bug-gnulib/2018-09/msg00008.html>.
715     * gnulib-tool (func_import): For the tests, set a dotfirst flag.
716     (func_emit_lib_Makefile_am): Consider the dotfirst flag.
717     (func_emit_tests_Makefile_am): Don't consider the dotfirst flag.
719 --------------------------------------------------------------------------------
721 commit 589e96475f8f2d21a83405ab0672ce95091b80e5
722 Author: Bruno Haible <bruno@clisp.org>
723 Date:   Fri Dec 29 00:29:23 2017 +0100
725     gnulib-tool: Make --conditional-dependencies work better.
727     Reported by Dmitry Selyutin <ghostman.sd@gmail.com>.
729     * gnulib-tool (Options): Don't reject the combination of
730     --conditional-dependencies with --with-tests.
731     (func_emit_autoconf_snippets): Add argument referenceable_modules.
732     Don't reference $modules.
733     (func_import, func_create_testdir): Pass it.
735 --------------------------------------------------------------------------------
737 commit cd58dba367a3b8ffbebb23f2099a820106197fae
738 Author: Bruno Haible <bruno@clisp.org>
739 Date:   Sun Oct 29 16:57:32 2017 +0100
741     gnulib-tool: Avoid unnecessary config.h.in remaking in testdirs.
743     * gnulib-tool (func_create_testdir): Use workaround against 'autoheader'
744     bug reported at <https://savannah.gnu.org/support/index.php?109406>.
746 --------------------------------------------------------------------------------
748 commit 30459fe101541698ec704acb224946d73676750e
749 Author: Bruno Haible <bruno@clisp.org>
750 Date:   Thu Jun 8 15:09:31 2017 +0200
752     gnulib-tool: Fix bug in func_symlink_if_changed, from 2006-11-13.
754     * gnulib-tool (func_symlink_target): New function, extracted from
755     func_symlink.
756     (func_symlink, func_symlink_if_changed): Use it.
758 --------------------------------------------------------------------------------
760 commit 306be564ba47ec412ca158f66ffa90a058f5253b
761 Author: Bruno Haible <bruno@clisp.org>
762 Date:   Mon May 22 01:39:59 2017 +0200
764     gnulib-tool: Add options to create hard links.
766     * gnulib-tool (func_usage): Document options --hardlink,
767     --local-hardlink, --more-hardlinks.
768     (func_symlink): Renamed from func_ln.
769     (func_symlink_if_changed): Renamed from func_ln_if_changed.
770     (func_hardlink): New function.
771     (copymode, lcopymode): New variables.
772     (symbolic, lsymbolic): Remove variables.
773     (Options): Implement options --hardlink, --local-hardlink,
774     --more-hardlinks.
775     (func_should_link): Renamed from func_should_symlink. Set copyaction.
776     (func_add_file, func_update_file): Update invocation of
777     func_should_link. Invoke func_hardlink when appropriate.
778     (func_import): Update comments.
779     (func_create_testdir): Update invocation of func_should_link. Invoke
780     func_hardlink when appropriate.
781     Finally, invoke 'git update-index --refresh' to mitigate the effects of
782     the hard links on git.
784 --------------------------------------------------------------------------------
786 commit f5142421c62024efa22cd4429100c4d9c1cc2ac4
787 Author: Bruno Haible <bruno@clisp.org>
788 Date:   Sat May 20 13:24:37 2017 +0200
790     gnulib-tool: Don't create hard links between gnulib and its testdirs.
792     * gnulib-tool (func_create_testdir): Don't invoke 'ln'.
794 --------------------------------------------------------------------------------
796 commit f30205c5d59bab2c035165158e7d5d65b07b8363
797 Author: Mathieu Lirzin <mthl@gnu.org>
798 Date:   Tue Mar 14 12:19:40 2017 +0100
800     gnulib-tool: don't automatically distribute files from top/
802     * gnulib-tool (func_get_automake_snippet_unconditional): To be able to
803     not distribute top/README-release by default, don't distribute files
804     from top/ unconditionally.
805     * modules/gnumakefile (Makefile.am): Distribute top/GNUmakefile.
806     * modules/maintainer-makefile (Makefile.am): Distribute top/maint.mk.
808 --------------------------------------------------------------------------------
810 commit 9bdf6c8a0cdeb13c12e4b65dee9538c5468dbe1d
811 Author: Bruno Haible <bruno@clisp.org>
812 Date:   Sun Aug 19 14:06:50 2012 +0200
814     gnulib-tool: Remove old file names from .cvsignore, .gitignore.
816     * gnulib-tool (func_update_ignorelist): Don't use 'join -v 1' command
817     on the list of removed files.
819 --------------------------------------------------------------------------------
821 ================================================================================