diff options
author | Jim Meyering <jim@meyering.net> | 2005-03-10 08:54:50 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-03-10 08:54:50 +0000 |
commit | c06f2e3a5ae68e9421311d89f80ce321c8312d2c (patch) | |
tree | 841f8f92e407839b96a95232eac7b3989209f832 | |
parent | aa7845aebbf56895294d2c56a14b110782eb8a5b (diff) | |
download | coreutils-c06f2e3a5ae68e9421311d89f80ce321c8312d2c.tar.xz |
(gl_SAVE_CWD): Check for fchdir.
-rw-r--r-- | m4/save-cwd.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/save-cwd.m4 b/m4/save-cwd.m4 index 685d34ee2..fbe3279fa 100644 --- a/m4/save-cwd.m4 +++ b/m4/save-cwd.m4 @@ -1,4 +1,4 @@ -# save-cwd.m4 serial 4 +#serial 5 dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -9,5 +9,6 @@ AC_DEFUN([gl_SAVE_CWD], AC_LIBSOURCES([save-cwd.c, save-cwd.h]) AC_LIBOBJ([save-cwd]) dnl Prerequisites for lib/save-cwd.c. + AC_CHECK_FUNCS_ONCE(fchdir) AC_CHECK_HEADERS_ONCE(fcntl.h unistd.h) ]) |