From 5dfb0c8ff9887960c8285c89955d9969ad46d04d Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Wed, 6 Jun 2012 17:17:30 +0000 Subject: Reuse eautoreconf, deprecate autotools-utils_autoreconf. --- eclass/ChangeLog | 5 ++++- eclass/autotools-utils.eclass | 8 ++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) (limited to 'eclass') diff --git a/eclass/ChangeLog b/eclass/ChangeLog index e474556be8c4..c819cf47713c 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for eclass directory # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.294 2012/06/06 17:15:08 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.295 2012/06/06 17:17:30 mgorny Exp $ + + 06 Jun 2012; Michał Górny autotools-utils.eclass: + Reuse eautoreconf, deprecate autotools-utils_autoreconf. 06 Jun 2012; Michał Górny autotools.eclass: Support other GNOME-related tools in eautoreconf: gtk-doc, gnome-doc & diff --git a/eclass/autotools-utils.eclass b/eclass/autotools-utils.eclass index ea9eb36211b7..987ac2d10f56 100644 --- a/eclass/autotools-utils.eclass +++ b/eclass/autotools-utils.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.54 2012/06/06 15:43:45 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.55 2012/06/06 17:17:30 mgorny Exp $ # @ECLASS: autotools-utils.eclass # @MAINTAINER: @@ -271,6 +271,10 @@ remove_libtool_files() { autotools-utils_autoreconf() { debug-print-function ${FUNCNAME} "$@" + eqawarn "The autotools-utils_autoreconf() function was deprecated." + eqawarn "Please call autotools-utils_src_prepare()" + eqawarn "with AUTOTOOLS_AUTORECONF set instead." + # Override this func to not require unnecessary eaclocal calls. autotools_check_macro() { local x @@ -367,7 +371,7 @@ autotools-utils_src_prepare() { fi fi - [[ ${want_autoreconf} ]] && autotools-utils_autoreconf + [[ ${want_autoreconf} ]] && eautoreconf elibtoolize --patch-only } -- cgit v1.2.3-65-gdbad