1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-07-29 03:50:45 +02:00

Get eaccess from libgen if available; that's where it is on Solaris 9.

This commit is contained in:
Paul Eggert
2004-07-28 05:02:17 +00:00
parent 84af134c5a
commit db1c6c3879
3 changed files with 12 additions and 0 deletions
+3
View File
@@ -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.
+4
View 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
+5
View 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.