From: Paul Eggert Date: Wed, 28 Jul 2004 05:02:17 +0000 (+0000) Subject: Get eaccess from libgen if available; that's where it is on Solaris 9. X-Git-Tag: v5.3.0~1061 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db1c6c3879745616005f0fd270040b34e0882abc;p=thirdparty%2Fcoreutils.git Get eaccess from libgen if available; that's where it is on Solaris 9. --- diff --git a/ChangeLog b/ChangeLog index ccec03a5a4..0cfc227ff1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2004-07-27 Paul Eggert + * 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 8eacab9013..a3b5e953cc 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,5 +1,9 @@ 2004-07-27 Paul Eggert + * euidaccess.c [HAVE_LIBGEN_H]: Include , 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 b84ab3fc0f..0930e990d3 100644 --- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,5 +1,10 @@ 2004-07-27 Paul Eggert + * 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.