summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-07-28 05:02:17 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-07-28 05:02:17 +0000
commitdb1c6c3879745616005f0fd270040b34e0882abc (patch)
tree8b22e28616908e0b9cc039c8978e62f97cc931ce
parent84af134c5af4e71f8511371dd8332f2781eda19f (diff)
downloadcoreutils-db1c6c3879745616005f0fd270040b34e0882abc.tar.xz
Get eaccess from libgen if available; that's where it is on Solaris 9.
-rw-r--r--ChangeLog3
-rw-r--r--lib/ChangeLog4
-rw-r--r--m4/ChangeLog5
3 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ccec03a5a..0cfc227ff 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2004-07-27 Paul Eggert <eggert@cs.ucla.edu>
+ * src/Makefile.am (cp_LDADD, ginstall_LDADD, mv_LDADD,
+ pathchk_LDADD, rm_LDADD, test_LDADD): New vars, for eaccess.
+
* tests/readlink/can-e: Don't assume that we can remove the
working directory: this isn't possible under Solaris 8, say.
* tests/readlink/can-f: Likewise.
diff --git a/lib/ChangeLog b/lib/ChangeLog
index 8eacab901..a3b5e953c 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,5 +1,9 @@
2004-07-27 Paul Eggert <eggert@cs.ucla.edu>
+ * euidaccess.c [HAVE_LIBGEN_H]: Include <libgen.h>, for
+ eaccess on Solaris and SVR4-like systems.
+ (euidaccess): Use HAVE_EACCESS, not HAVE_DECL_EACCESS.
+
cycle-check integer overflow fixup.
* cycle-check.h: Remove now-inaccurate comment about the files
diff --git a/m4/ChangeLog b/m4/ChangeLog
index b84ab3fc0..0930e990d 100644
--- a/m4/ChangeLog
+++ b/m4/ChangeLog
@@ -1,5 +1,10 @@
2004-07-27 Paul Eggert <eggert@cs.ucla.edu>
+ * euidaccess.m4 (gl_PREREQ_EUIDACCESS): Don't bother checking for
+ unistd.h, as autoconf does this for us. Check for libgen.h.
+ Also look for eaccess within -lgen, which is where it is in
+ Solaris. Set LIB_EACCESS accordingly.
+
* backupfile.m4 (gl_BACKUPFILE): AC_REQUIRE
gl_CHECK_TYPE_STRUCT_DIRENT_D_INO instead of invoking it directly.
Do not require AC_FUNC_CLOSEDIR_VOID.