# HG changeset patch # User Jim Meyering # Date 1014736899 0 # Node ID 9cc2762d4d2d21cab0f791924a772d65e6c306e8 # Parent 202ab8d3655ed98f5957924e671408c145e0f91a *** empty log message *** diff --git a/m4/ChangeLog b/m4/ChangeLog --- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,5 +1,6 @@ 2002-02-25 Paul Eggert + * 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 --- /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)])