2008-10-18 Bruno Haible <bruno@clisp.org>
+ * lib/dirchownmod.c: Don't include lchmod.h.
+
+ Move the lchmod() declaration to <sys/stat.h>.
+ * lib/lchmod.h: Remove file.
+ * lib/sys_stat.in.h: Add placeholder for GL_LINK_WARNING.
+ (lchmod): New declaration, moved here from lib/lchown.h.
+ * m4/lchmod.m4 (gl_FUNC_LCHMOD): Require gl_SYS_STAT_H_DEFAULTS and
+ AC_USE_SYSTEM_EXTENSIONS. Set HAVE_LCHMOD.
+ * m4/sys_stat_h.m4 (gl_SYS_STAT_H_DEFAULTS): Initialize GNULIB_LCHMOD
+ and HAVE_LCHMOD.
+ * modules/lchmod (Files): Remove lib/lchmod.h.
+ (Depends-on): Add sys_stat, extensions.
+ (configure.ac): Invoke gl_SYS_STAT_MODULE_INDICATOR.
+ (Include): Specify <sys/stat.h> instead of lchmod.h.
+ * modules/sys_stat (Depends-on): Add link-warning.
+ (Makefile.am): Substitute GNULIB_LCHMOD, HAVE_LCHMOD, and the
+ definition of GL_LINK_WARNING.
+ * NEWS: Mention the change.
+
+2008-10-18 Bruno Haible <bruno@clisp.org>
+
+ * lib/fchdir.c: Don't include dirfd.h.
+ * lib/fts.c: Likewise.
+ * lib/getcwd.c: Likewise.
+ * lib/glob.c: Likewise.
+
+ Move the dirfd() declaration to <dirent.h>.
+ * lib/dirfd.h: Remove file.
+ * lib/dirent.in.h: Add placeholder for GL_LINK_WARNING.
+ (dirfd): New declaration.
+ * lib/dirfd.c: Include <dirent.h> instead of dirfd.h.
+ * m4/dirfd.m4 (gl_FUNC_DIRFD): Require gl_DIRENT_H_DEFAULTS and
+ AC_USE_SYSTEM_EXTENSIONS. Invoke gl_REPLACE_DIRENT_H. Set
+ HAVE_DECL_DIRFD.
+ * m4/dirent_h.m4 (gl_DIRENT_H_DEFAULTS): Initialize GNULIB_DIRFD and
+ HAVE_DECL_DIRFD.
+ * modules/dirfd (Files): Remove lib/dirfd.h.
+ (Depends-on): Add dirent, extensions.
+ (configure.ac): Invoke gl_DIRENT_MODULE_INDICATOR.
+ (Include): Specify <dirent.h> instead of dirfd.h.
+ * modules/dirent (Depends-on): Add link-warning.
+ (Makefile.am): Substitute GNULIB_DIRFD, HAVE_DECL_DIRFD, and
+ definition of GL_LINK_WARNING.
+ * NEWS: Mention the change.
+
+2008-10-18 Bruno Haible <bruno@clisp.org>
+
+ Move the euidaccess() declaration to <unistd.h>.
+ * lib/euidaccess.h: Remove file.
+ * lib/unistd.in.h (euidaccess): New declaration.
+ * lib/euidaccess.c: Don't include euidaccess.h.
+ * m4/euidaccess.m4 (gl_FUNC_EUIDACCESS): Require gl_UNISTD_H_DEFAULTS.
+ Don't check whether euidaccess is declared. Set HAVE_EUIDACCESS.
+ * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Initialize GNULIB_EUIDACCESS
+ and HAVE_EUIDACCESS.
+ * modules/euidaccess (Files): Remove lib/euidaccess.h.
+ (Depends-on): Add unistd.
+ (configure.ac): Invoke gl_UNISTD_MODULE_INDICATOR.
+ (Include): Specify <unistd.h> instead of euidaccess.h.
+ * modules/unistd (Makefile.am): Substitute GNULIB_EUIDACCESS and
+ HAVE_EUIDACCESS.
+ * NEWS: Mention the change.
+
+2008-10-18 Bruno Haible <bruno@clisp.org>
+
* lib/xgetdomainname.c: Include <unistd.h> instead of getdomainname.h.
Move the getdomainname() declaration to <unistd.h>.