*** empty log message ***
authorJim Meyering <jim@meyering.net>
Tue, 26 Feb 2002 15:21:39 +0000 (15:21 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 26 Feb 2002 15:21:39 +0000 (15:21 +0000)
m4/ChangeLog
m4/acl.m4 [new file with mode: 0644]

index 066a7ee..63316a1 100644 (file)
@@ -1,5 +1,6 @@
 2002-02-25  Paul Eggert  <eggert@twinsun.com>
 
+       * acl.m4: New file.
        * jm-macros.m4 (jm_MACROS): Require AC_FUNC_ACL.
        Do not check for acl or sys/acl.h, as AC_FUNC_ACL does that now.
 
diff --git a/m4/acl.m4 b/m4/acl.m4
new file mode 100644 (file)
index 0000000..f5ffa3d
--- /dev/null
+++ b/m4/acl.m4
@@ -0,0 +1,23 @@
+# acl.m4 - check for access control list (ACL) primitives
+
+# Copyright (C) 2002 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
+
+# Written by Paul Eggert.
+
+AC_DEFUN([AC_FUNC_ACL],
+  [AC_CHECK_HEADERS(sys/acl.h)
+   AC_CHECK_FUNCS(acl)])