1 # Copyright (C) 2009 Andreas Gruenbacher <agruen@suse.de>
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.
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.
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/>.
16 AC_INIT(include/acl.h)
17 AC_CONFIG_AUX_DIR([.])
18 AC_CONFIG_MACRO_DIR([m4])
19 AC_CONFIG_HEADER(include/config.h)
20 AC_PREFIX_DEFAULT(/usr)
25 [ --enable-shared=[yes/no] Enable use of shared libraries [default=yes]],,
27 AC_SUBST(enable_shared)
29 AC_ARG_ENABLE(gettext,
30 [ --enable-gettext=[yes/no] Enable alternate language support [default=yes]],,
32 AC_SUBST(enable_gettext)
35 [ --enable-lib64=[yes/no] Enable lib64 support [default=no]],,
37 AC_SUBST(enable_lib64)
39 AC_PACKAGE_GLOBALS(acl)
40 AC_PACKAGE_UTILITIES(acl)
41 AC_PACKAGE_NEED_ATTR_XATTR_H
42 AC_PACKAGE_NEED_ATTR_ERROR_H
43 AC_MULTILIB($enable_lib64)
44 AC_PACKAGE_NEED_GETXATTR_LIBATTR
47 AC_FUNC_GCC_VISIBILITY
49 AC_OUTPUT(include/builddefs)