[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Regression: GL_STDLIB_H_MODULE_INDICATOR_DEFAULTS is m4_require'd but no
Regression: GL_STDLIB_H_MODULE_INDICATOR_DEFAULTS is m4_require'd but not m4_defun'd
Sun, 19 Sep 2021 00:18:21 +0100
I recently tried to update man-db to current Gnulib, running in a Debian
unstable chroot, and I ran into some Autoconf macro issues that I don't
entirely understand. I've boiled it down as far as this, with current
Gnulib master (4bed390be8) and Autoconf 2.71:
$ ./gnulib-tool --dir x --create-testdir btowc
configure.ac:584: warning: GL_STDLIB_H_MODULE_INDICATOR_DEFAULTS is
m4_require'd but not m4_defun'd
glm4/wchar_h.m4:144: gl_WCHAR_H_REQUIRE_DEFAULTS is expanded from...
glm4/wchar_h.m4:132: gl_WCHAR_MODULE_INDICATOR is expanded from...
configure.ac:35: gl_INIT is expanded from...
configure.ac:584: the top level
And indeed the resulting configure script contains an unexpanded macro,
./configure: line 8730: GL_STDLIB_H_MODULE_INDICATOR_DEFAULTS: command not
I initially suspected an incompatibility with Autoconf >= 2.70, since
there were lots of changes there, but I tried the same gnulib-tool test
with Autoconf 2.69 and it does the same thing.
When I "git blame m4/wchar_h.m4", I find the recent commit 4bed390be8,
which added the line
And indeed, when I back out that commit, things work again; but it was
tagged as a regression fix, so evidently something else breaks. CCing
Bruno since this was their commit and they might want to have a look.
Colin Watson (he/him) [email@example.com]
- Regression: GL_STDLIB_H_MODULE_INDICATOR_DEFAULTS is m4_require'd but not m4_defun'd,
Colin Watson <=