Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | Upstream-Status: Backport [configure.ac is missing from tarball] |
| 2 | |
| 3 | Signed-off-by: Saul Wold <sgw@linux.intel.com> |
| 4 | |
| 5 | Index: acl-2.2.52/configure.ac |
| 6 | =================================================================== |
| 7 | --- /dev/null |
| 8 | +++ acl-2.2.52/configure.ac |
| 9 | @@ -0,0 +1,50 @@ |
| 10 | + |
| 11 | +# Copyright (C) 2009 Andreas Gruenbacher <agruen@suse.de> |
| 12 | +# |
| 13 | +# This program is free software: you can redistribute it and/or modify it |
| 14 | +# under the terms of the GNU General Public License as published by |
| 15 | +# the Free Software Foundation, either version 2 of the License, or |
| 16 | +# (at your option) any later version. |
| 17 | +# |
| 18 | +# This program is distributed in the hope that it will be useful, |
| 19 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 20 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 21 | +# GNU General Public License for more details. |
| 22 | +# |
| 23 | +# You should have received a copy of the GNU General Public License |
| 24 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 25 | +# |
| 26 | +AC_INIT(include/acl.h) |
| 27 | +AC_CONFIG_AUX_DIR([.]) |
| 28 | +AC_CONFIG_MACRO_DIR([m4]) |
| 29 | +AC_CONFIG_HEADER(include/config.h) |
| 30 | +AC_PREFIX_DEFAULT(/usr) |
| 31 | + |
| 32 | +AC_PROG_LIBTOOL |
| 33 | + |
| 34 | +AC_ARG_ENABLE(shared, |
| 35 | +[ --enable-shared=[yes/no] Enable use of shared libraries [default=yes]],, |
| 36 | + enable_shared=yes) |
| 37 | +AC_SUBST(enable_shared) |
| 38 | + |
| 39 | +AC_ARG_ENABLE(gettext, |
| 40 | +[ --enable-gettext=[yes/no] Enable alternate language support [default=yes]],, |
| 41 | + enable_gettext=yes) |
| 42 | +AC_SUBST(enable_gettext) |
| 43 | + |
| 44 | +AC_ARG_ENABLE(lib64, |
| 45 | +[ --enable-lib64=[yes/no] Enable lib64 support [default=no]],, |
| 46 | + enable_lib64=no) |
| 47 | +AC_SUBST(enable_lib64) |
| 48 | + |
| 49 | +AC_PACKAGE_GLOBALS(acl) |
| 50 | +AC_PACKAGE_UTILITIES(acl) |
| 51 | +AC_PACKAGE_NEED_ATTR_XATTR_H |
| 52 | +AC_PACKAGE_NEED_ATTR_ERROR_H |
| 53 | +AC_MULTILIB($enable_lib64) |
| 54 | +AC_PACKAGE_NEED_GETXATTR_LIBATTR |
| 55 | +AC_MANUAL_FORMAT |
| 56 | + |
| 57 | +AC_FUNC_GCC_VISIBILITY |
| 58 | + |
| 59 | +AC_OUTPUT(include/builddefs) |