blob: 7af2e8d886eb2e40d60e946fed80faf5a8252e86 [file] [log] [blame]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05001# Copyright (C) 2009 Andreas Gruenbacher <agruen@suse.de>
2#
3# This program is free software: you can redistribute it and/or modify it
4# under the terms of the GNU General Public License as published by
5# the Free Software Foundation, either version 2 of the License, or
6# (at your option) any later version.
7#
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY; without even the implied warranty of
10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11# GNU General Public License for more details.
12#
13# You should have received a copy of the GNU General Public License
14# along with this program. If not, see <http://www.gnu.org/licenses/>.
15#
16AC_INIT(include/acl.h)
17AC_CONFIG_AUX_DIR([.])
18AC_CONFIG_MACRO_DIR([m4])
19AC_CONFIG_HEADER(include/config.h)
20AC_PREFIX_DEFAULT(/usr)
21
22AC_PROG_LIBTOOL
23
24AC_ARG_ENABLE(shared,
25[ --enable-shared=[yes/no] Enable use of shared libraries [default=yes]],,
26 enable_shared=yes)
27AC_SUBST(enable_shared)
28
29AC_ARG_ENABLE(gettext,
30[ --enable-gettext=[yes/no] Enable alternate language support [default=yes]],,
31 enable_gettext=yes)
32AC_SUBST(enable_gettext)
33
34AC_ARG_ENABLE(lib64,
35[ --enable-lib64=[yes/no] Enable lib64 support [default=no]],,
36 enable_lib64=no)
37AC_SUBST(enable_lib64)
38
39AC_PACKAGE_GLOBALS(acl)
40AC_PACKAGE_UTILITIES(acl)
41AC_PACKAGE_NEED_ATTR_XATTR_H
42AC_PACKAGE_NEED_ATTR_ERROR_H
43AC_MULTILIB($enable_lib64)
44AC_PACKAGE_NEED_GETXATTR_LIBATTR
45AC_MANUAL_FORMAT
46
47AC_FUNC_GCC_VISIBILITY
48
49AC_OUTPUT(include/builddefs)