/[gentoo-x86]/eclass/autotools-utils.eclass
Gentoo

Diff of /eclass/autotools-utils.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.26 Revision 1.27
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.26 2011/11/26 20:42:02 mgorny Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.27 2011/11/26 20:43:55 mgorny Exp $
4 4
5# @ECLASS: autotools-utils.eclass 5# @ECLASS: autotools-utils.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Maciej Mrozowski <reavertm@gentoo.org> 7# Maciej Mrozowski <reavertm@gentoo.org>
8# Michał Górny <mgorny@gentoo.org> 8# Michał Górny <mgorny@gentoo.org>
231 || die 'autotools-utils.eclass: myeconfargs has to be an array.' 231 || die 'autotools-utils.eclass: myeconfargs has to be an array.'
232 232
233 # Common args 233 # Common args
234 local econfargs=() 234 local econfargs=()
235 235
236 # Handle debug found in IUSE
237 if in_iuse debug; then
238 local debugarg=$(use_enable debug)
239 if ! has "${debugarg}" "${myeconfargs[@]}"; then
240 eqawarn 'Implicit $(use_enable debug) for IUSE="debug" is no longer supported.'
241 eqawarn 'Please add the necessary arg to myeconfargs if requested.'
242 eqawarn 'The autotools-utils eclass will stop warning about it on Oct 15th.'
243 fi
244 fi
245
246 # Handle static-libs found in IUSE, disable them by default 236 # Handle static-libs found in IUSE, disable them by default
247 if in_iuse static-libs; then 237 if in_iuse static-libs; then
248 econfargs+=( 238 econfargs+=(
249 --enable-shared 239 --enable-shared
250 $(use_enable static-libs static) 240 $(use_enable static-libs static)

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27

  ViewVC Help
Powered by ViewVC 1.1.20