]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
New test for eaccess() system call.
authorBruno Haible <bruno@clisp.org>
Thu, 10 Apr 2003 20:10:10 +0000 (20:10 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:10:22 +0000 (12:10 +0200)
gettext-tools/m4/ChangeLog
gettext-tools/m4/Makefile.am
gettext-tools/m4/eaccess.m4 [new file with mode: 0644]

index 23a206d0ad5666045cdda6bf5cd1266c78fa9db4..8f62475cbb8107dd6be68546852cc9e3574a8b7b 100644 (file)
@@ -1,3 +1,8 @@
+2003-04-10  Bruno Haible  <bruno@clisp.org>
+
+       * eaccess.m4: New file.
+       * Makefile.am (EXTRA_DIST): Add it.
+
 2003-04-06  Bruno Haible  <bruno@clisp.org>
 
        * relocatable.m4 (AC_RELOCATABLE_NOP): New macro.
index 7ae0632543045ca7071878ec7a81685a51606b37..cc23c968a7c1b30b250cbf66d275f12c2148e0af 100644 (file)
@@ -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 (file)
index 0000000..4c4111f
--- /dev/null
@@ -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.])])
+])