These three modules contain lib/at-func2.c, which invokes fchdir().
2026-11-25 Bruno Haible <[email protected]> linkat, renameat, renameatu: Fix dependencies. * modules/linkat (Depends-on): Add fchdir. * modules/renameat (Depends-on): Likewise. * modules/renameatu (Depends-on): Likewise. diff --git a/modules/linkat b/modules/linkat index eb796a0be4..b30e26b920 100644 --- a/modules/linkat +++ b/modules/linkat @@ -14,6 +14,7 @@ at-internal [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1] dirname-lgpl [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1] eloop-threshold [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1] errno-h [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1] +fchdir [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1] diff --git a/modules/linkat b/modules/linkat index eb796a0be4..b30e26b920 100644 --- a/modules/linkat +++ b/modules/linkat @@ -14,6 +14,7 @@ at-internal [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1] dirname-lgpl [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1] eloop-threshold [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1] errno-h [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1] +fchdir [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1] fcntl-h [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1] filenamecat-lgpl [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1] filename [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1] diff --git a/modules/renameat b/modules/renameat index 1de99b0006..11d7089efb 100644 --- a/modules/renameat +++ b/modules/renameat @@ -8,6 +8,7 @@ m4/renameat.m4 Depends-on: renameatu [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1] +fchdir [test $HAVE_RENAMEAT = 0] configure.ac: gl_FUNC_RENAMEAT diff --git a/modules/renameatu b/modules/renameatu index 82d8255560..7a106665e1 100644 --- a/modules/renameatu
