Re: [PATCH] gnulib-tool.py: Don't remove newlines in testdir's Automake snippets.

2024-03-22 Thread Bruno Haible
Thanks! Both patches applied. > I find it easier to follow this: > > emit += 'AM_PROG_CC_C_O\n' > emit += '\n' > > rather than this: > > emit += 'AM_PROG_CC_C_O\n\n' I agree. Bruno

[PATCH] gnulib-tool.py: Don't remove newlines in testdir's Automake snippets.

2024-03-22 Thread Collin Funk
This patch should *hopefully* cover the last newline issue in test directories. It seems that gnulib-tool.py strips the whitespace from Automake snippets where gnulib-tool.sh doesn't. This can be seen by the following diff: $ diff -u ./test-create-megatestdir-1.result/ALL/configure.ac tmp500214-