From 0d22381b8090eefaf8a5f0c5b9e196ea40b12231 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 23 Sep 2011 12:32:41 +0200 Subject: New module 'chdir'. * modules/chdir: New file. * lib/unistd.in.h: Include , also for chdir. (chdir): New declaration. * m4/unistd_h.m4 (gl_UNISTD_H): Test whether chdir is declared. (gl_UNISTD_H_DEFAULTS): Initialize GNULIB_CHDIR. * modules/unistd (Makefile.am): Substitute GNULIB_CHDIR. * tests/test-unistd-c++.cc: Check signature of chdir. * doc/posix-functions/chdir.texi: Mention problem on native Windows. * modules/chdir-long (Depends-on): Add chdir. * modules/fchdir (Depends-on): Likewise. * modules/rename (Depends-on): Likewise. * modules/savewd (Depends-on): Likewise. --- modules/fchdir | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/fchdir') diff --git a/modules/fchdir b/modules/fchdir index 7b7cb043b5..80b2bb826d 100644 --- a/modules/fchdir +++ b/modules/fchdir @@ -7,6 +7,7 @@ m4/fchdir.m4 Depends-on: unistd +chdir [test $HAVE_FCHDIR = 0] close [test $HAVE_FCHDIR = 0] dirent [test $HAVE_FCHDIR = 0] dirfd [test $HAVE_FCHDIR = 0] -- cgit v1.2.1