]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Get eaccess from libgen if available; that's where it is on Solaris 9.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 28 Jul 2004 05:02:17 +0000 (05:02 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 28 Jul 2004 05:02:17 +0000 (05:02 +0000)
ChangeLog
lib/ChangeLog
m4/ChangeLog

index ccec03a5a42ac4afa221fc1c9449a4a96b2aaf50..0cfc227ff128c3d0dc421183f5dc590945d4fedb 100644 (file)
--- 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.
index 8eacab9013f1d9f40a4929382b61a26fa9280f78..a3b5e953cc348b12ce463eae92f95b529007a046 100644 (file)
@@ -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
index b84ab3fc0f3241f530a19fca132c3c1ee3f07ac0..0930e990d33de2f29d3b7422f8b40941888636cd 100644 (file)
@@ -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.