Git init
[framework/base/acl.git] / configure.in
1 # 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 #
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)
21
22 AC_PROG_LIBTOOL
23
24 AC_ARG_ENABLE(shared,
25 [ --enable-shared=[yes/no] Enable use of shared libraries [default=yes]],,
26         enable_shared=yes)
27 AC_SUBST(enable_shared)
28
29 AC_ARG_ENABLE(gettext,
30 [ --enable-gettext=[yes/no] Enable alternate language support [default=yes]],,
31         enable_gettext=yes)
32 AC_SUBST(enable_gettext)
33
34 AC_ARG_ENABLE(lib64,
35 [ --enable-lib64=[yes/no] Enable lib64 support [default=no]],,
36         enable_lib64=no)
37 AC_SUBST(enable_lib64)
38
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
45 AC_MANUAL_FORMAT
46
47 AC_FUNC_GCC_VISIBILITY
48
49 AC_OUTPUT(include/builddefs)