Commit abb0e725eabecd9f471ea2e0e073fa33fe9bade5

Bruno Haible 2023-09-29T10:46:15

fchdir: Override properly on OS/2 kLIBC. * lib/unistd.in.h (fchdir): Override if REPLACE_FCHDIR is 1. * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Initialize REPLACE_FCHDIR. * modules/unistd (Makefile.am): Substitute REPLACE_FCHDIR. * modules/fchdir (Depends-on, configure.ac): Test REPLACE_FCHDIR. * m4/fchdir.m4 (gl_FUNC_FCHDIR): Instead of setting HAVE_FCHDIR to 0, set REPLACE_FCHDIR to 1.