From: Bruno Haible Date: Thu, 10 Apr 2003 20:10:10 +0000 (+0000) Subject: New test for eaccess() system call. X-Git-Tag: v0.12~86 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=873c461120acdd01e4acc1857fc2b0756e5336fc;p=thirdparty%2Fgettext.git New test for eaccess() system call. --- diff --git a/gettext-tools/m4/ChangeLog b/gettext-tools/m4/ChangeLog index 23a206d0a..8f62475cb 100644 --- a/gettext-tools/m4/ChangeLog +++ b/gettext-tools/m4/ChangeLog @@ -1,3 +1,8 @@ +2003-04-10 Bruno Haible + + * eaccess.m4: New file. + * Makefile.am (EXTRA_DIST): Add it. + 2003-04-06 Bruno Haible * relocatable.m4 (AC_RELOCATABLE_NOP): New macro. diff --git a/gettext-tools/m4/Makefile.am b/gettext-tools/m4/Makefile.am index 7ae063254..cc23c968a 100644 --- a/gettext-tools/m4/Makefile.am +++ b/gettext-tools/m4/Makefile.am @@ -28,6 +28,7 @@ EXTRA_DIST = README ChangeLog.0 \ alloca.m4 \ backupfile.m4 \ canonicalize.m4 \ +eaccess.m4 \ error.m4 \ flex.m4 \ fnmatch.m4 \ diff --git a/gettext-tools/m4/eaccess.m4 b/gettext-tools/m4/eaccess.m4 new file mode 100644 index 000000000..4c4111f80 --- /dev/null +++ b/gettext-tools/m4/eaccess.m4 @@ -0,0 +1,14 @@ +# eaccess.m4 serial 1 +dnl Copyright (C) 2003 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + +AC_DEFUN([gl_FUNC_EACCESS], +[ + AC_CHECK_FUNC(eaccess, , + [AC_DEFINE(eaccess, access, + [Define as 'access' if you don't have the eaccess() function.])]) +])