From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1R5CFz-00042L-M5 for garchives@archives.gentoo.org; Sun, 18 Sep 2011 07:57:43 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2EC7321C122; Sun, 18 Sep 2011 07:57:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id ED7A421C122 for ; Sun, 18 Sep 2011 07:57:35 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 75DF31B401E for ; Sun, 18 Sep 2011 07:57:35 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2279) id 2A9862004C; Sun, 18 Sep 2011 07:57:34 +0000 (UTC) From: "Michal Gorny (mgorny)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, mgorny@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in eclass: autotools-utils.eclass X-VCS-Repository: gentoo-x86 X-VCS-Files: autotools-utils.eclass X-VCS-Directories: eclass X-VCS-Committer: mgorny X-VCS-Committer-Name: Michal Gorny Content-Type: text/plain; charset=utf8 Message-Id: <20110918075734.2A9862004C@flycatcher.gentoo.org> Date: Sun, 18 Sep 2011 07:57:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: eda94fb7576000679a4754b89ce3a223 mgorny 11/09/18 07:57:34 Modified: autotools-utils.eclass Log: Deprecate implicit IUSE=3Ddebug. Revision Changes Path 1.21 eclass/autotools-utils.eclass file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/autotools-u= tils.eclass?rev=3D1.21&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/autotools-u= tils.eclass?rev=3D1.21&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/autotools-u= tils.eclass?r1=3D1.20&r2=3D1.21 Index: autotools-utils.eclass =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- autotools-utils.eclass 16 Sep 2011 15:38:54 -0000 1.20 +++ autotools-utils.eclass 18 Sep 2011 07:57:34 -0000 1.21 @@ -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.20 = 2011/09/16 15:38:54 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.21 = 2011/09/18 07:57:34 mgorny Exp $ =20 # @ECLASS: autotools-utils.eclass # @MAINTAINER: @@ -88,7 +88,7 @@ *) die "EAPI=3D${EAPI} is not supported" ;; esac =20 -inherit autotools base +inherit autotools base eutils =20 EXPORT_FUNCTIONS src_prepare src_configure src_compile src_install src_t= est =20 @@ -220,8 +220,6 @@ # in myeconfargs are passed here to econf. Additionally following USE # flags are known: # -# IUSE=3D"debug" passes --disable-debug/--enable-debug to econf respecti= vely. -# # IUSE=3D"static-libs" passes --enable-shared and either --disable-stati= c/--enable-static # to econf respectively. autotools-utils_src_configure() { @@ -232,7 +230,12 @@ =20 # Handle debug found in IUSE if has debug ${IUSE//+}; then - econfargs+=3D($(use_enable debug)) + local debugarg=3D$(use_enable debug) + if ! has "${debugarg}" "${myeconfargs[@]}"; then + eqawarn 'Implicit $(use_enable debug) for IUSE=3D"debug" is no longer= supported.' + eqawarn 'Please add the necessary arg to myeconfargs if requested.' + eqawarn 'The autotools-utils eclass will stop warning about it on Oct= 15th.' + fi fi =20 # Handle static-libs found in IUSE, disable them by default