diff options
author | Michał Górny <mgorny@gentoo.org> | 2011-09-23 07:56:41 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2011-09-23 07:56:41 +0000 |
commit | 6683311142737d6a23831895ed76be6db519ef9e (patch) | |
tree | a1f98c3e0dfa53fcd72d9606351c13356d0bc7dc /eclass/autotools-utils.eclass | |
parent | Slotmove net-wireless/iwl1000-ucode-128.50.3.1 from 0 to 3. (diff) | |
download | historical-6683311142737d6a23831895ed76be6db519ef9e.tar.gz historical-6683311142737d6a23831895ed76be6db519ef9e.tar.bz2 historical-6683311142737d6a23831895ed76be6db519ef9e.zip |
Reuse in_iuse() from eutils.eclass.
Diffstat (limited to 'eclass/autotools-utils.eclass')
-rw-r--r-- | eclass/autotools-utils.eclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/autotools-utils.eclass b/eclass/autotools-utils.eclass index 76ad6fc43db8..bae95a1ae592 100644 --- a/eclass/autotools-utils.eclass +++ b/eclass/autotools-utils.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.23 2011/09/18 21:03:59 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.24 2011/09/23 07:56:41 mgorny Exp $ # @ECLASS: autotools-utils.eclass # @MAINTAINER: @@ -233,7 +233,7 @@ autotools-utils_src_configure() { local econfargs=() # Handle debug found in IUSE - if has debug ${IUSE//+}; then + if in_iuse debug; then local debugarg=$(use_enable debug) if ! has "${debugarg}" "${myeconfargs[@]}"; then eqawarn 'Implicit $(use_enable debug) for IUSE="debug" is no longer supported.' @@ -243,7 +243,7 @@ autotools-utils_src_configure() { fi # Handle static-libs found in IUSE, disable them by default - if has static-libs ${IUSE//+}; then + if in_iuse static-libs; then econfargs+=( --enable-shared $(use_enable static-libs static) |