Use AC_LIBSOURCES and AC_LIBOBJ to indicate source and object files.
[gnulib.git] / m4 / acl.m4
1 # acl.m4 - check for access control list (ACL) primitives
2
3 # Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc.
4 # This file is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
7
8 # Written by Paul Eggert.
9
10 AC_DEFUN([AC_FUNC_ACL],
11 [
12   AC_LIBSOURCES([acl.c, acl.h])
13   AC_LIBOBJ([acl])
14
15   dnl Prerequisites of lib/acl.c.
16   AC_CHECK_HEADERS(sys/acl.h)
17   AC_CHECK_FUNCS(acl)
18 ])