I did:
>       * modules/fchdir (Depends-on): Just depend on dirinfo-abstract.

This caused an error in GNU poke:

configure.ac:832: warning: gl_DIRENT_H_DEFAULTS is m4_require'd but not 
m4_defun'd
build-aux/gnulib-comp.m4:261: gl_INIT is expanded from...
configure.ac:832: the top level
configure.ac:832: warning: gl_DIRENT_DIR is m4_require'd but not m4_defun'd
build-aux/gnulib-comp.m4:261: gl_INIT is expanded from...
configure.ac:832: the top level
configure:24749: error: undefined or overquoted macro: gl_DIRENT_H_DEFAULTS

This patch fixes it.


2026-11-29  Bruno Haible  <[email protected]>

        fchdir: Fix dependencies (regression 2026-11-25).
        Reported by Mohammad-Reza Nabipoor <[email protected]>.
        * modules/fchdir (Depends-on): Add back dirent-h.

diff --git a/modules/fchdir b/modules/fchdir
index b197941945..ab453d8b42 100644
--- a/modules/fchdir
+++ b/modules/fchdir
@@ -7,6 +7,7 @@ m4/fchdir.m4
 
 Depends-on:
 unistd-h
+dirent-h
 dirinfo-abstract [test $HAVE_FCHDIR = 0 || test $REPLACE_FCHDIR = 1]
 chdir            [test $HAVE_FCHDIR = 0 || test $REPLACE_FCHDIR = 1]
 




Reply via email to