bug-gnulib
[Top][All Lists]
Advanced

[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


From: Colin Watson
Subject: Regression: GL_STDLIB_H_MODULE_INDICATOR_DEFAULTS is m4_require'd but not m4_defun'd
Date: 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
  [...]
  executing autoconf
  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,
resulting in:

  ./configure: line 8730: GL_STDLIB_H_MODULE_INDICATOR_DEFAULTS: command not 
found

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
"m4_require(GL_MODULE_INDICATOR_PREFIX[_STDLIB_H_MODULE_INDICATOR_DEFAULTS])".
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.

Thanks,

-- 
Colin Watson (he/him)                              [cjwatson@debian.org]



reply via email to

[Prev in Thread] Current Thread [Next in Thread]